# CVE-2025-27817: Apache Kafka Client: Arbitrary file read and SSRF vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 70% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-06-10 · Modified: 2025-06-10
- Aliases: CGA-25fm-jgjm-m3rj, CGA-27vj-8f37-j4xw, CGA-2hc8-6vh3-crww, CGA-2jf2-jh33-8p6w, CGA-2qjv-fj6x-mf99, CGA-2x8m-97f7-qfxw, CGA-336v-x9cq-v4rj, CGA-36p9-x6mm-gjf9, CGA-3pjq-xj54-583c, CGA-3pxp-4q7w-v877, CGA-3v88-xrm9-23j6, CGA-485h-6844-cgv4, CGA-4v76-5gxh-hpm5, CGA-52pm-r78f-q3pw, CGA-53rp-4h6h-m2ph, CGA-5968-vr3r-vrgf, CGA-5gf7-fqmr-x9rg, CGA-5pvw-j9c7-p4fh, CGA-5vm9-gcfr-8gmg, CGA-623j-j7gp-m873, CGA-6342-7jxj-6hr9, CGA-636w-cv3q-8gv2, CGA-63h8-r25f-rgfq, CGA-6658-j6mm-rqrh, CGA-666g-5mcf-qqm7, CGA-679q-792m-cmx5, CGA-67px-7pwj-gcx7, CGA-68hf-6cpg-f48h, CGA-69j6-vwwv-4hqv, CGA-6f3r-j3r9-692m, CGA-6mhh-7q82-88vw, CGA-6qx7-w57g-477c, CGA-6qx8-5rvx-q69v, CGA-6xcv-jqxv-5r2f, CGA-733j-7c45-qf5r, CGA-773h-gmfc-mr5v, CGA-78xg-xhx2-m77g, CGA-79q2-43wv-79jf, CGA-7hvj-h2jg-vr57, CGA-7xw5-673c-f8c9, CGA-89h2-vchp-796p, CGA-8c66-7m9m-rq5q, CGA-8g3w-c35c-c723, CGA-9497-54c3-mcg6, CGA-94xq-chwg-fjm9, CGA-96f2-jq88-9274, CGA-9828-fpcr-23f2, CGA-988h-cfxj-954h, CGA-99v3-m2m2-mmc5, CGA-9c4h-9xcc-qh99, CGA-9cpg-jpc2-r49x, CGA-9j89-c3f6-8jw6, CGA-9m4h-j4fm-3jq5, CGA-9m6f-g948-h4m3, CGA-9wxr-fv39-m85p, CGA-c299-rm9c-wq9m, CGA-c3wc-6qc3-fp8c, CGA-c5jc-8jx7-c7pm, CGA-c678-vm42-6fxm, CGA-c776-g7mm-cwmr, CGA-c82w-vpcv-phrv, CGA-c8qj-vm44-q8c4, CGA-cq59-8fx2-hww4, CGA-f3vw-f5qc-hc4f, CGA-f4cp-m64q-q3gq, CGA-f4jw-vm26-xq48, CGA-f77j-39q6-9vrg, CGA-f7gm-5rjg-m246, CGA-f8rg-mp3g-pfr4, CGA-fgpj-r4j9-mgq7, CGA-fh6f-qrvr-2vvf, CGA-fj59-79ch-rqc6, CGA-fj5c-cf35-wpgg, CGA-fqmc-7fh2-9hjx, CGA-fvgj-qgx2-cc2j, CGA-g63w-3jc5-r8hp, CGA-g6f9-wpq4-2234, CGA-g7mv-g3w3-g6jh, CGA-ghph-2xw8-98p2, CGA-gj2w-92q9-mqrp, CGA-gq98-xc2p-2wvq, CGA-hh57-xwwh-3hpx, CGA-hhqh-jf88-hhrh, CGA-hj2j-w4w4-95pg, CGA-hmgf-j8ww-hrvm, CGA-hmxq-45xf-66pj, CGA-j632-x8pf-cgmv, CGA-j8v2-729h-wjfx, CGA-j9hm-5xmw-pf33, CGA-jqm5-3222-c9gc, CGA-jwfp-39jm-v24f, CGA-m22v-fqqg-fq4h, CGA-m264-vv5j-8g34, CGA-m5hw-rv28-4h77, CGA-m7rm-mm87-4fp8, CGA-mc5g-cjm8-39gr, CGA-mcw4-c9hf-h6jr, CGA-mhj8-47p7-rj58, CGA-mqcj-79v2-q83q, CGA-mrrj-5jm4-78qh, CGA-mxgg-8xgm-gmqh, CGA-p7hv-35mh-xx79, CGA-pcj9-vwgc-q3vf, CGA-pm3v-h8xf-9qc6, CGA-pmr2-2w7v-54gg, CGA-pp9v-xv8j-73fc, CGA-prj9-6hq4-pqw8, CGA-q2mf-fr2f-2cw7, CGA-qfq4-5hv7-crqc, CGA-qjf9-g7v4-wj9w, CGA-qmhp-j8v6-2672, CGA-qpqc-3867-qr98, CGA-qq6h-gx77-9889, CGA-qr4r-2mc9-fjg8, CGA-qrhj-2jh4-5gvr, CGA-qrmv-ff8r-3h9h, CGA-qw35-7952-ggr2, CGA-qxpp-hw4x-qjmr, CGA-r426-5cmh-6xgh, CGA-r739-mjfj-q897, CGA-rf97-prf9-4m7v, CGA-rghg-8rmp-mq68, CGA-rgwc-prjc-q654, CGA-rvj4-93ch-8rhh, CGA-v4fx-3w9p-7ff7, CGA-v7g8-3xxj-j7gm, CGA-v7r7-9jqf-6c27, CGA-v8wx-cf8g-wrjg, CGA-vcph-mrqc-x24q, CGA-vh53-58hf-3gh7, CGA-vjqp-jrv6-vg79, CGA-vmq5-4v2v-x5xj, CGA-w2qj-x53m-549r, CGA-w54f-cprw-5f22, CGA-w7qm-hgxj-cmfg, CGA-wfrq-5r2f-rvp3, CGA-wg83-hcwf-8ggq, CGA-wgfx-9qv6-55cr, CGA-wgjh-j49q-jgvv, CGA-wjqc-4jgw-c8w3, CGA-wv3w-27c8-3g54, CGA-wvx5-pfxq-wc43, CGA-ww52-xq97-39g7, CGA-wxx8-jfgc-mfc8, CGA-x29q-hq58-fw8c, CGA-x3c5-3882-5jp8, CGA-x5c7-36r6-fjm9, CGA-xp87-3645-p2x7, CGA-xpxh-v3jp-59hv, CGA-xw5p-8rr5-rm83, CGA-23v8-jh9q-jjhf, CGA-28cj-c2g5-gpvv, CGA-2v5h-vj4p-hjvp, CGA-37fc-v465-vcmm, CGA-3f36-3f3g-v29p, CGA-3px8-c3cp-gf93, CGA-3qw5-gf3x-fc9g, CGA-4327-6p69-25qh, CGA-46q3-73j3-pg6f, CGA-487c-fx8j-65fh, CGA-4j27-hgcj-q3gc, CGA-4jcm-4j5w-9cj6, CGA-53x2-wr7g-v48q, CGA-56ch-vwx7-4rr3, CGA-57x6-59v5-q633, CGA-5925-p39j-62fw, CGA-5938-wp73-cp35, CGA-5c85-q38h-xmv9, CGA-5p68-8xhh-5g54, CGA-5q83-cpcw-4j9h, CGA-5rwp-6xj5-m573, CGA-6398-gxfq-pg65, CGA-6636-956c-mm2f, CGA-679p-75cg-23pv, CGA-69pj-3f86-x465, CGA-6q44-2j4r-p68m, CGA-6q8c-rmfj-7465, CGA-75v8-m88x-5h33, CGA-7jph-ph5q-547p, CGA-8f3m-x82g-wq4h, CGA-8pj6-4p89-78w9, CGA-8v93-8c2g-jpg9, CGA-8xhc-5wc2-rgvw, CGA-9637-6wmg-fjm8, CGA-9p75-3cpv-crfg, CGA-9wmj-2rrc-4vvr, CGA-c7x8-wjj5-26gr, CGA-chwj-7995-mf8x, CGA-cm4w-wfrv-xjmp, CGA-crh3-j35w-3hp5, CGA-cvrr-v645-55g9, CGA-cvxx-w2gg-5hg4, CGA-cxm5-h5fx-8q36, CGA-f3wg-c38f-5gxp, CGA-f9v9-257p-v8hw, CGA-fjh4-7xxx-mmcc, CGA-g5cx-fm9m-xh6x, CGA-gh6f-8fqw-pc58, CGA-gj57-8pmm-hwf8, CGA-gmfc-jhq9-6fpf, CGA-gpgc-pq7j-j2jp, CGA-gw2c-r5jg-w838, CGA-gwx2-vjwq-w9pp, CGA-h3fr-mjcp-rp3v, CGA-h8x3-hcqc-33qv, CGA-hxgg-f3vf-6mp3, CGA-m29r-3p43-mgxp, CGA-mc7m-vw7f-mfqq, CGA-mrjf-g24v-564m, CGA-p7gx-fjpr-h646, CGA-pcfv-c894-5jqw, CGA-pj95-vwqm-j2hj, CGA-pqqh-j9w6-f47f, CGA-prh4-c689-f77g, CGA-pv69-8f2v-8wp8, GHSA-vgq5-3255-v292, BIT-kafka-2025-27817, CGA-q355-8h4w-jr4p, CGA-q3q6-m4hh-jq79, CGA-q48h-69v8-c946, CGA-q4xp-wwjq-3rp8, CGA-q64j-57r2-5wc9, CGA-q83f-gv8c-2qrf, CGA-qf68-crhv-pgj2, CGA-qgqm-83g6-g59r, CGA-r2rv-h34c-5wvj, CGA-r94p-4w4p-3m74, CGA-rp74-w355-2557, CGA-rq9h-mxpq-fccp, CGA-v22r-hw6g-m4wf, CGA-v49c-cwxc-vr6v, CGA-v6m9-9gq4-r99p, CGA-vhx9-48m3-7mqv, CGA-vpcw-prcj-9mx5, CGA-vpg2-244c-m3xq, CGA-w233-2gff-3p3j, CGA-w2wr-cq34-2h8q, CGA-wc28-2g98-6782, CGA-wc2w-4x45-vgqh, CGA-x4x2-935x-pcmp, CGA-x65w-mf5w-6mjm, CGA-xcw4-qcp7-6m6q, CGA-xp43-px72-8f87, CGA-xq2h-pvpv-h3g2
- Record: https://cvemate.com/vulnerability/CVE-2025-27817 · JSON: https://cvemate.com/vulnerability/CVE-2025-27817/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 70.064%, percentile 99.389%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 199)

- apache software foundation apache kafka client: ≥ 3.1.0, ≤ 3.9.0
- apache kafka: ≥ 3.1.0, \< 3.9.1
- chainguard apache-nifi (Chainguard): \< 2.4.0-r4
- chainguard apache-nifi-compat (Chainguard): \< 2.4.0-r4
- chainguard apache-nifi-toolkit (Chainguard): \< 2.4.0-r4
- chainguard apicurio-registry (Chainguard): \< 3.0.9-r1
- chainguard apicurio-registry-nginx-config (Chainguard): \< 3.0.9-r1
- chainguard apicurio-registry-ui (Chainguard): \< 3.0.9-r1
- chainguard druid (Chainguard): \< 33.0.0-r4
- chainguard druid-compat (Chainguard): \< 33.0.0-r4
- chainguard hadoop-fips-3.4.2 (Chainguard): All versions (No fix recorded)
- chainguard kafka\_exporter-strimzi-compat (Chainguard): \< 0.46.0-r6
- chainguard kafka-3.7 (Chainguard): All versions (No fix recorded)
- chainguard kafka-3.8 (Chainguard): All versions (No fix recorded)
- chainguard kafka-strimzi-compat (Chainguard): \< 0.46.0-r6
- chainguard knative-kafka-broker-1.17-dispatcher-loom (Chainguard): All versions (No fix recorded)
- chainguard knative-kafka-broker-1.17-receiver-loom (Chainguard): All versions (No fix recorded)
- chainguard logstash-8-with-output-opensearch (Chainguard): \< 8.18.2-r2
- chainguard opensearch-2 (Chainguard): \< 2.19.1-r5
- chainguard opensearch-2-alerting (Chainguard): \< 2.19.1-r5

## References

- <https://kafka.apache.org/cve-list>
- <http://www.openwall.com/lists/oss-security/2025/06/09/1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27817.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27817>
- <https://github.com/apache/kafka>

---

Data as of 2026-12-05T06:00:04.753Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
