Skip to main content

Apache Thrift CVE-2026-41603

| EUVDEUVD-2026-26021 HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
7.4
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Position on network path
  2. Delivery
    Intercept TLS handshake
  3. Exploit
    Present valid certificate for wrong domain
  4. Install
    Client accepts without hostname check
  5. C2
    Decrypt RPC traffic
  6. Execute
    Modify requests/responses
  7. Impact
    Forward to real server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
Exploitation Conditions

Successful exploitation requires the Java TSSLTransportFactory class to be used for Thrift connections (not all Thrift Java deployments use SSL/TLS transport). Attacker must achieve man-in-the-middle network positioning between client and server, typically via DNS spoofing, ARP poisoning, BGP hijacking, or compromise of routing infrastructure (the high complexity factor in AC:H). Attacker must possess or obtain a valid X.509 certificate trusted by the client's certificate store, even if for a different domain. No authentication to the Thrift service itself is required (PR:N), and no user interaction needed (UI:N). The vulnerability is NOT exploitable against default unencrypted Thrift configurations - only affects deployments explicitly configured to use TSSLTransportFactory for encrypted transport. Limits exploitation: requires network-layer access (not remotely exploitable from internet without network compromise), certificate acquisition barrier, and specific Java binding usage rather than other Thrift language implementations.

Impact

Real-world risk is moderate despite 7.4 CVSS base score. The CVSS vector AV:N/AC:H/PR:N/UI:N indicates network-based attack with high complexity, requiring attacker to achieve man-in-the-middle positioning (DNS poisoning, BGP hijacking, or compromised network infrastructure). No confidentiality impact on initial connection establishment, but high confidentiality and integrity impact once MITM succeeds, with no availability impact. EPSS score of 0.01% (1st percentile) suggests minimal observed exploitation activity, consistent with the high attack complexity barrier. Not listed in CISA KEV, indicating no confirmed active exploitation in federal enterprise environments. No public exploit code identified. SSVC decision factors: exploitation status is none confirmed, automatable is no due to AC:H requiring precise network positioning, technical impact is partial (C:H/I:H but authentication boundary not crossed). This vulnerability requires Java-specific Thrift deployments using TSSLTransportFactory in environments where attackers can intercept network traffic - primarily concerns cloud deployments, shared hosting, or networks with untrusted routing infrastructure. Organizations using Thrift over already-secured network segments (private VPCs, isolated LANs) face lower practical risk than CVSS suggests.

Exploit ScenarioDerived

An attacker positioned on the network path between a Thrift Java client and server (via ARP spoofing on local network, compromised router, or rogue DNS) intercepts the initial TLS handshake. The attacker presents a valid certificate for a different domain (obtained via compromised CA or legitimate cert for attacker-controlled domain). Because TSSLTransportFactory does not verify hostname matching, the client accepts the certificate and establishes encrypted session with the attacker's server. The attacker decrypts client requests, forwards them to legitimate server, intercepts responses, and returns modified data to client, achieving full man-in-the-middle with access to sensitive RPC payloads and ability to manipulate business logic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Apache Thrift Java TSSLTransportFactory fails to verify server hostnames in TLS connections, enabling man-in-the-middle attacks against versions prior to 0.23.0. This CWE-297 (improper certificate validation) vulnerability allows network attackers with high complexity positioning to intercept and modify encrypted communications without authentication. EPSS exploitation probability is low (0.01%, 1st percentile), with no KEV listing or public exploit code identified at time of analysis. Vendor patch available in Thrift 0.23.0.

RemediationAI

Upgrade Apache Thrift Java library to version 0.23.0 or later, which includes proper hostname verification in TSSLTransportFactory per vendor advisory at https://lists.apache.org/thread/lb4j0zyd5f3g36cos0wql925przpnwql. Update Maven/Gradle dependency to org.apache.thrift:libthrift:0.23.0. If immediate upgrade is not feasible, implement compensating controls: configure external TLS termination at load balancer or reverse proxy layer with strict hostname verification enabled (e.g., nginx with ssl_verify_client and proper CA configuration), accepting trade-off of additional infrastructure complexity and potential performance overhead. Restrict Thrift service endpoints to trusted network segments only using firewall rules limiting source IPs to known client ranges, which reduces MITM attack surface but does not eliminate risk from compromised trusted hosts. Deploy mutual TLS (mTLS) with client certificates to add authentication layer independent of hostname verification, requiring certificate distribution infrastructure. Monitor TLS connection logs for certificate subject mismatches if logging capabilities exist. Note that network segmentation and mTLS add operational complexity but provide defense-in-depth when patching is delayed.

Affected VersionsENISA

Apache Thrift 0 <0.23.0

Affected Packages

maven org.apache.thrift:libthrift fix: 0.23.0
euvd apache_thrift fix: 0.23.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Thrift is a cross-language RPC framework supporting multiple serialization protocols and transport layers. The vulnerability exists in the Java language binding's TSSLTransportFactory class, which handles TLS-encrypted socket connections. CWE-297 (Improper Certificate Validation) indicates the implementation fails to verify that the server's certificate Common Name or Subject Alternative Name matches the requested hostname during TLS handshake. This is a classic JSSE (Java Secure Socket Extension) misconfiguration where SSL/TLS is enabled but hostname verification is disabled or improperly implemented, similar to issues historically affecting HttpsURLConnection when setHostnameVerifier was misconfigured. The affected CPE per EUVD is cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:* for versions 0 through 0.22.x.

Know when Thrift gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
SUSE HIGH
Red Hat 8.2 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 18:42 nvd
Patch available
CVSS changed
Apr 28, 2026 - 15:22 NVD
7.4 (HIGH)
Patch available
Apr 28, 2026 - 11:01 EUVD
CVE Published
Apr 28, 2026 - 00:45 nvd
HIGH 7.4

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 204 maven packages depend on org.apache.thrift:libthrift (60 direct, 144 indirect)

Ecosystem-wide dependent count for version 0.23.0.

Executive ViewAI

Why It Matters

Apache Thrift Java versions before 0.23.0 lack TLS hostname verification, permitting network-positioned attackers to intercept and modify encrypted communications between Java applications and Thrift servers. Organizations using affected Thrift versions in client applications face exposure to man-in-the-middle attacks that could compromise data confidentiality and integrity during service-to-service communication, particularly in distributed architectures or cloud deployments.

Business Impact: High
Compensating Controls

Apply vendor patch (Apache Thrift 0.23.0 or later). If immediate patching is not feasible, implement network segmentation to restrict Thrift client connections to trusted internal networks only, and deploy TLS traffic inspection at network boundaries to detect certificate anomalies.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Thrift

View all
CVE-2021-24028 CRITICAL
9.8 Apr 14

An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code e

CVE-2026-55971 CRITICAL
9.3 Jul 24

Heap-based buffer overflow in Apache Thrift C++ THeaderTransport::untransform() allows remote code execution by sending

CVE-2026-48144 CRITICAL
9.1 Jul 24

Improper certificate validation in Apache Thrift c_glib TLS clients allows man-in-the-middle attackers to intercept or t

CVE-2026-58662 HIGH
8.7 Jul 24

Apache Thrift C++ library's THeaderTransport::readString() fails to properly validate info-header length, allowing an ou

CVE-2026-58389 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift Rust bindings prior to 0.24.0 allows remote attackers to exhaust memory

CVE-2026-55969 HIGH
8.7 Jul 24

Denial of service in Apache Thrift through an integer overflow in the TProtocol::checkReadBytesAvailable() function affe

CVE-2026-55968 HIGH
8.7 Jul 24

Denial of service in Apache Thrift Node.js server bindings before 0.24.0 allows remote attackers to exhaust server CPU r

CVE-2026-48586 HIGH
8.7 Jul 24

Data amplification vulnerability in Apache Thrift's TZlibTransport allows remote attackers to exhaust server resources b

CVE-2026-43871 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift's TCompactProtocol implementation allows remote attackers to trigger in

CVE-2026-41636 HIGH
8.7 Apr 28

Uncontrolled recursion in Apache Thrift Node.js library's skip() function enables remote denial of service via crafted p

CVE-2026-48145 HIGH
8.2 Jul 24

TLS hostname verification bypass in Apache Thrift C++ bindings allows man-in-the-middle interception of Thrift RPC commu

CVE-2026-41604 HIGH
8.2 Apr 28

Out-of-bounds read vulnerability in Apache Thrift Swift implementation allows remote unauthenticated attackers to trigge

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy