CVE-2025-27817
A public proof of concept exists; no exploitation attested.
- Published2025-06-10
- Fixed in3.9.1
- WeaknessCWE-918
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-06-1008:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.x | ≥ 3.1.0, < 3.9.1 | 3.9.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Kafka Clientother versions: not affectedAffected
- ≥ 3.1.0, ≤ 3.9.0no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-06-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-nifiWolfiall versions · fixed in 2.4.0-r4and 2 other packages
- apache-nifiChainguardall versions · fixed in 2.4.0-r4and 2 other packages
- apicurio-registryWolfiall versions · fixed in 3.0.9-r1and 2 other packages
- apicurio-registryChainguardall versions · fixed in 3.0.9-r1and 2 other packages
- conductorMinimOSall versions · fixed in 3.32.1-r0and 1 other package
- druidWolfiall versions · fixed in 33.0.0-r4and 1 other package
- druidChainguardall versions · fixed in 33.0.0-r4and 1 other package
- io.root.org.apache.kafka:kafka-clientsRoot:Mavenall versions · fixed in 3.6.0-root.io.1
44 more package ranges on OSV.dev
Vendor advisories
org.apache.kafka: Kafka Client Arbitrary File Read SSRF
Red Hat Security Advisory: Streams for Apache Kafka 3.1.0 release and security update
Red Hat Security Advisory: Streams for Apache Kafka 2.9.1 release and security update
Fix
- Update Apache kafka to 3.9.1
- Vendor fix Red Hat Product Security RHSA-2025:23417 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2025:23417 · 1 productTo mitigate this flaw, explicitly set the allowed urls in SASL JAAS configuration using the system property "-Dorg.apache.kafka.sasl.oauthbearer.allowed.urls".
Advisories and patches
- kafka.apache.orgVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01iSee857/CVE-2025-27817oriolrius/kafka-keycloak-oauth
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2025-06-10
- CISA-ADPCVSS 3.17.52025-06-10
- CISA-ADPweakness (CWE)CWE-9182025-06-10
- FIRST EPSSEPSS score69.8 %read 2026-11-09
- PoC-in-GitHubproof of concept2known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2025-06-10
Identifiers
- BIT-kafka-2025-27817same flawBitnami · Apache-2.0
- CGA-23v8-jh9q-jjhfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25fm-jgjm-m3rjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27vj-8f37-j4xwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-28cj-c2g5-gpvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hc8-6vh3-crwwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jf2-jh33-8p6wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qjv-fj6x-mf99same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2v5h-vj4p-hjvpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x8m-97f7-qfxwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-336v-x9cq-v4rjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-36p9-x6mm-gjf9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-37fc-v465-vcmmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3f36-3f3g-v29psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3pjq-xj54-583csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3px8-c3cp-gf93same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3pxp-4q7w-v877same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qw5-gf3x-fc9gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3v88-xrm9-23j6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4327-6p69-25qhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-46q3-73j3-pg6fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-485h-6844-cgv4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-487c-fx8j-65fhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4j27-hgcj-q3gcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4jcm-4j5w-9cj6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4v76-5gxh-hpm5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-52pm-r78f-q3pwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-53rp-4h6h-m2phsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-53x2-wr7g-v48qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-56ch-vwx7-4rr3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-57x6-59v5-q633same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5925-p39j-62fwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5938-wp73-cp35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5968-vr3r-vrgfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5c85-q38h-xmv9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5gf7-fqmr-x9rgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5pvw-j9c7-p4fhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5q83-cpcw-4j9hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5rwp-6xj5-m573same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vm9-gcfr-8gmgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-623j-j7gp-m873same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6342-7jxj-6hr9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-636w-cv3q-8gv2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6398-gxfq-pg65same flawChainguard · CC-BY-NC-ND-4.0
- CGA-63h8-r25f-rgfqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6658-j6mm-rqrhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-666g-5mcf-qqm7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-679p-75cg-23pvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-679q-792m-cmx5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-67px-7pwj-gcx7same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2025-06-10
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-vgq5-3255-v292
Frequently asked questions
What is CVE-2025-27817?
Is CVE-2025-27817 actively exploited?
What is the CVSS score for CVE-2025-27817?
Running kafka? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vgq5-3255-v292
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0