# CVE-2026-85088: Apache Thrift, Apache Thrift: The C++ and D clients fall back to the certificate Common Name when subjectAltName entries are present but do not match

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.22% (percentile 8, 2026-11-28)
- **CWE:** CWE-295, CWE-297
- **Published:** 2026-10-02T11:37:14.749Z
- **Modified:** 2026-10-02T18:17:06.237Z

## Who should check

- Anyone running Apache Software Foundation Apache Thrift \< 0.25.0

## Description

Improper Validation of Certificate with Host Mismatch in the C++ and D libraries of Apache Thrift.



Both libraries install a default access manager for client sockets — TSSLSocketFactory does so in C++, and the accessManager property does so in D — which compares the peer certificate against the host

name that was connected to. That comparison walks the subjectAltName dNSName entries first and consults the certificate Common Name afterwards. A name that does not match yields a "skip" result rather than

a rejection, so a certificate whose subjectAltName entries are all present and all non-matching falls through to the Common Name, which can then satisfy the check.



RFC 6125 section 6.4.4, and RFC 9525 section 2, require that the Common Name is not consulted when a dNSName subjectAltName is present. A certificate carrying subjectAltName entries for one name and a

Common Name for another is therefore accepted for a connection to the second name.



Exploitation requires an attacker positioned on the network path who holds a certificate that chains to a certificate authority in the client's trust store and whose Common Name matches the connected host

name. Public certificate authorities have not issued on Common Name alone for many years, so this is principally a concern for deployments using a private or enterprise public-key infrastructure.



This issue affects the C++ library of Apache Thrift from 0.7.0 through 0.24.0 and the D library from 0.9.0 through 0.24.0. Users should upgrade to 0.25.0.

## Affected and fixed versions

- Apache Software Foundation Apache Thrift: \< 0.25.0 (cvelist)
- Apache Software Foundation Apache Thrift: \< 0.25.0 (cvelist)

## Mitigation

- Upgrade Apache Thrift to 0.25.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-85088. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-85088.md
Affected: Apache Software Foundation Apache Thrift < 0.25.0; Apache Software Foundation Apache Thrift < 0.25.0
Fixed in: Apache Software Foundation Apache Thrift 0.25.0, Apache Software Foundation Apache Thrift 0.25.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache Thrift: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-85088 being exploited?

There is no confirmed exploitation: CVE-2026-85088 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-85088?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-85088?

Apache Software Foundation Apache Thrift \< 0.25.0; Apache Software Foundation Apache Thrift \< 0.25.0.

### Is there a fix for CVE-2026-85088?

Yes. Fixed in Apache Software Foundation Apache Thrift 0.25.0, Apache Software Foundation Apache Thrift 0.25.0. Upgrade Apache Thrift to 0.25.0 or later.

### How do I check if I'm affected by CVE-2026-85088?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1>
- vendor: <https://lists.apache.org/thread/zcgm7lx6037lvgvn87rc1tj3p0zhv371>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-85088>

HTML: <https://flawdb.com/CVE-2026-85088> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-85088>
