CVE-2025-27817
CVE-2025-27817 is a high-severity vulnerability in Apache Kafka with a CVSS 3.x base score of 7.5. Its EPSS exploit-prediction score of 65% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-918.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 65% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-17640
- Weakness: CWE-918
- Affected product: Apache Kafka
- Published:
- Last modified:
Description
A possible arbitrary file read and SSRF vulnerability has been identified in Apache Kafka Client. Apache Kafka Clients accept configuration data for setting the SASL/OAUTHBEARER connection with the brokers, including "sasl.oauthbearer.token.endpoint.url" and "sasl.oauthbearer.jwks.endpoint.url". Apache Kafka allows clients to read an arbitrary file and return the content in the error log, or sending requests to an unintended location. In applications where Apache Kafka Clients configurations can be specified by an untrusted party, attackers may use the "sasl.oauthbearer.token.endpoint.url" and "sasl.oauthbearer.jwks.endpoint.url" configuratin to read arbitrary contents of the disk and environment variables or make requests to an unintended location. In particular, this flaw may be used in Apache Kafka Connect to escalate from REST API access to filesystem/environment/URL access, which may be undesirable in certain environments, including SaaS products. Since Apache Kafka 3.9.1/4.0.0, we have added a system property ("-Dorg.apache.kafka.sasl.oauthbearer.allowed.urls") to set the allowed urls in SASL JAAS configuration. In 3.9.1, it accepts all urls by default for backward compatibility. However in 4.0.0 and newer, the default value is empty list and users have to set the allowed urls explicitly.
Frequently asked questions
- What is CVE-2025-27817?
- A possible arbitrary file read and SSRF vulnerability has been identified in Apache Kafka Client. Apache Kafka Clients accept configuration data for setting the SASL/OAUTHBEARER connection with the brokers, including "sasl.oauthbearer.token.endpoint.url" and "sasl.oauthbearer.jwks.endpoint.url". Apache Kafka allows clients to read an arbitrary file and return the content in the error log, or sending requests to an unintended location. In applications where Apache Kafka Clients configurations can be specified by an untrusted party, attackers may use the "sasl.oauthbearer.token.endpoint.url" and "sasl.oauthbearer.jwks.endpoint.url" configuratin to read arbitrary contents of the disk and environment variables or make requests to an unintended location. In particular, this flaw may be used in Apache Kafka Connect to escalate from REST API access to filesystem/environment/URL access, which may be undesirable in certain environments, including SaaS products. Since Apache Kafka 3.9.1/4.0.0, we have added a system property ("-Dorg.apache.kafka.sasl.oauthbearer.allowed.urls") to set the allowed urls in SASL JAAS configuration. In 3.9.1, it accepts all urls by default for backward compatibility. However in 4.0.0 and newer, the default value is empty list and users have to set the allowed urls explicitly.
- How severe is CVE-2025-27817?
- CVE-2025-27817 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-27817 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 65% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-27817?
- CVE-2025-27817 affects Apache Kafka. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-27817?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-27817 have an EU (EUVD) identifier?
- Yes. CVE-2025-27817 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-17640.
- When was CVE-2025-27817 published?
- CVE-2025-27817 was published on 2025-06-10 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Kafka
- CVE-2026-33557 — Critical (CVSS 9.1): A possible security vulnerability has been identified in Apache Kafka. By default, the broker property…
- CVE-2025-27818 — High (CVSS 8.8): A possible security vulnerability has been identified in Apache Kafka. This requires access to a alterConfig to…
- CVE-2018-17196 — High (CVSS 8.8): In Apache Kafka versions between 0.11.0.0 and 2.1.0, it is possible to manually craft a Produce request which bypasses…
- CVE-2026-35554 — High (CVSS 8.7): A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently…
- CVE-2025-27819 — High (CVSS 7.5): In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka…
- CVE-2022-34917 — High (CVSS 7.5): A security vulnerability has been identified in Apache Kafka. It affects all releases since 2.8.0. The vulnerability…
All CVEs affecting Apache Kafka →
Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities
- CVE-2026-69502 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure SQL Database allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-65801 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Exchange Online allows an unauthorized attacker to elevate privileges…
- CVE-2026-48331 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by a Server-Side Request Forgery (SSRF) vulnerability that could result in…
- CVE-2026-54735 — Critical (CVSS 10.0): Prebid Server is an open-source solution for running real-time advertising auctions in the cloud. Prior to version…
- CVE-2026-57106 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Data Quality allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-15409 — Critical (CVSS 10.0): A Server-side request forgery (SSRF) vulnerability has been identified in the SMA1000 Appliance Work Place interface. A…
Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →