Apache Thrift has an Improper Validation of Certificate with Host Mismatch VulnerabilityGHSA-7pwc-h2j2-rjgj
HIGHFix: apache/thrift@0919c3dGHSA-7pwc-h2j2-rjgj is a high-severity (CVSS 7.3) CWE-297 vulnerability in org.apache.thrift:libthrift. A fix is available for org.apache.thrift:libthrift — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-7pwc-h2j2-rjgj.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.thrift:libthriftReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Improper Validation of Certificate with Host Mismatch vulnerability in Apache Thrift.
This issue affects Apache Thrift: before 0.23.0.
Users are recommended to upgrade to version 0.23.0, which fixes the issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.thrift:libthrift | all versions | 0.23.0org.apache.thrift:libthrift:0.23.0 |
Affected Products
thriftapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.thrift:libthrift, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.thrift:libthrift to 0.23.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7pwc-h2j2-rjgj is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat rates this vulnerability as Important because missing hostname verification allows an unauthenticated adversary in a man-in-the-middle position to subvert TLS authentication. Within Red Hat environments, Thrift is primarily utilized as an underlying library for inter-service communication across distributed…
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.Source: Red Hat security advisory for GHSA-7pwc-h2j2-rjgj (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Cryostat 4 on RHEL 9 | cryostat/cryostat-storage-rhel9:4.2.0-16 | RHSA-2026:28010 |
| Red Hat Build of Apache Camel 3.33.2.SP1 | org.apache.thrift/libthrift:0.23.0 | RHSA-2026:26586 |
| Multicluster Global Hub 1.3.4 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779212259 | RHSA-2026:22423 |
| Multicluster Global Hub 1.4.9 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439 | RHSA-2026:22347 |
| Multicluster Global Hub 1.5.8 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753 | RHSA-2026:21769 |
| Multicluster Global Hub 1.6.6 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118 | RHSA-2026:23345 |
| Multicluster Global Hub 1.7.3 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779925273 | RHSA-2026:24503 |
| Red Hat Advanced Cluster Management for Kubernetes 2.13 | rhacm2/acm-grafana-rhel9:1782383730 | RHSA-2026:30651 |
Frequently Asked Questions
Is GHSA-7pwc-h2j2-rjgj in your dependencies?
Find it across Maven, including transitive dependencies.