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
CVE-2026-85088 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.4 (Red Hat), 6.9 (Apache)
- CVSS vector
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· base score 6.9, scored by apacheAttack vector: network. Attack complexity: high. Attack requirements: present. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-295 Improper certificate validation
- CWE-297 Improper validation of certificate with host mismatch
- EPSS
- 0.17% chance of exploitation in the next 30 days (6th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Apache: 0.25.0
- Red Hat: 0.25.0, thrift-main-0.25.0-0.1.hum1, RHSA-2026:74369
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-85088; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-85088?
Upgrade to a fixed release named by the vendor:
- Apache: 0.25.0
- Red Hat: 0.25.0, thrift-main-0.25.0-0.1.hum1, RHSA-2026:74369
- 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. (Apache)
- Users should upgrade to 0.25.0. (Apache)
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. (Red Hat)
Vendor advisories for CVE-2026-85088
Apache
1 advisory- Advisory severityMedium6.9
Medium [CVE-2026-85088] Improper Validation of Certificate with Host Mismatch in the C++ and D libraries of Apache Thrift
CVE-2026-85088Source published Source updated
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…
- Affected products in this advisory
- Apache Thrift
- Source-reported affected versions
- 0.7.0 through 0.24.0
- 0.9.0 through 0.24.0.
- Source-reported fixed versions
- 0.25.0
- Mitigation guidance
- 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.
- Users should upgrade to 0.25.0.
Red Hat
1 advisory- Advisory severityHigh7.4
High [CVE-2026-85088] Man-in-the-middle attacks via improper certificate validation
CVE-2026-85088Source published Source updated
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…
- Affected products in this advisory
- Red Hat Hardened Images
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Ceph Storage 9
1 more entries in the full advisory.
- Source-reported affected versions
- 0.7.0
- 0.24.0
- 0.9.0
- Source-reported fixed versions
- 0.25.0
- thrift-main-0.25.0-0.1.hum1
- RHSA-2026:74369
- Mitigation guidance
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- CVE-2026-85088 recordCVE.org
- CVE-2026-85088 detailNVD
- lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1vendor-advisory
- lists.apache.org/thread/zcgm7lx6037lvgvn87rc1tj3p0zhv371vendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-63772Oct 2, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Thrift goCVE-2026-66055Oct 2, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Thrift C++CVE-2026-66081Oct 2, 2026Access of Uninitialized Pointer vulnerability in Apache Thrift c_glib bindingsCVE-2026-66837Oct 2, 2026Stack-based Buffer Overflow, Integer Overflow or Wraparound vulnerability in Apache ThriftCVE-2026-66858Oct 2, 2026The protocol skip routine in several Apache Thrift bindings did not apply the binding'sCVE-2026-66859Oct 2, 2026NULL Pointer Dereference, Use of Uninitialized Variable vulnerability in Apache Thrift
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.