CVE-2025-27817Kafka SSRF
Apache Kafka Client Arbitrary File Read and Server Side Request Forgery Vulnerability
Published Jun 10, 2025 · Updated Nov 5, 2026 · Also known as BIT-kafka-2025-27817, CGA-23v8-jh9q-jjhf, CGA-25fm-jgjm-m3rj, CGA-27vj-8f37-j4xw, CGA-28cj-c2g5-gpvv, CGA-2hc8-6vh3-crww, CGA-2jf2-jh33-8p6w, CGA-2qjv-fj6x-mf99, CGA-2v5h-vj4p-hjvp, CGA-2x8m-97f7-qfxw, CGA-336v-x9cq-v4rj, CGA-36p9-x6mm-gjf9, CGA-37fc-v465-vcmm, CGA-3f36-3f3g-v29p, CGA-3pjq-xj54-583c, CGA-3px8-c3cp-gf93, CGA-3pxp-4q7w-v877, CGA-3qw5-gf3x-fc9g, CGA-3v88-xrm9-23j6, CGA-4327-6p69-25qh, CGA-46q3-73j3-pg6f, CGA-485h-6844-cgv4, CGA-487c-fx8j-65fh, CGA-4j27-hgcj-q3gc, CGA-4jcm-4j5w-9cj6, CGA-4v76-5gxh-hpm5, CGA-52pm-r78f-q3pw, CGA-53rp-4h6h-m2ph, CGA-53x2-wr7g-v48q, CGA-56ch-vwx7-4rr3, CGA-57x6-59v5-q633, CGA-5925-p39j-62fw, CGA-5938-wp73-cp35, CGA-5968-vr3r-vrgf, CGA-5c85-q38h-xmv9, CGA-5gf7-fqmr-x9rg, CGA-5p68-8xhh-5g54, CGA-5pvw-j9c7-p4fh, CGA-5q83-cpcw-4j9h, CGA-5rwp-6xj5-m573, CGA-5vm9-gcfr-8gmg, CGA-623j-j7gp-m873, CGA-6342-7jxj-6hr9, CGA-636w-cv3q-8gv2, CGA-6398-gxfq-pg65, CGA-63h8-r25f-rgfq, CGA-6636-956c-mm2f, CGA-6658-j6mm-rqrh, CGA-666g-5mcf-qqm7, CGA-679p-75cg-23pv, CGA-679q-792m-cmx5, CGA-67px-7pwj-gcx7, CGA-68hf-6cpg-f48h, CGA-69j6-vwwv-4hqv, CGA-69pj-3f86-x465, CGA-6f3r-j3r9-692m, CGA-6mhh-7q82-88vw, CGA-6q44-2j4r-p68m, CGA-6q8c-rmfj-7465, CGA-6qx7-w57g-477c, CGA-6qx8-5rvx-q69v, CGA-6xcv-jqxv-5r2f, CGA-733j-7c45-qf5r, CGA-75v8-m88x-5h33, CGA-773h-gmfc-mr5v, CGA-78xg-xhx2-m77g, CGA-79q2-43wv-79jf, CGA-7hvj-h2jg-vr57, CGA-7jph-ph5q-547p, CGA-7xw5-673c-f8c9, CGA-89h2-vchp-796p, CGA-8c66-7m9m-rq5q, CGA-8f3m-x82g-wq4h, CGA-8g3w-c35c-c723, CGA-8pj6-4p89-78w9, CGA-8v93-8c2g-jpg9, CGA-8xhc-5wc2-rgvw, CGA-9497-54c3-mcg6, CGA-94xq-chwg-fjm9, CGA-9637-6wmg-fjm8, 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-9p75-3cpv-crfg, CGA-9wmj-2rrc-4vvr, 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-c7x8-wjj5-26gr, CGA-c82w-vpcv-phrv, CGA-c8qj-vm44-q8c4, CGA-chwj-7995-mf8x, CGA-cm4w-wfrv-xjmp, CGA-cq59-8fx2-hww4, CGA-crh3-j35w-3hp5, CGA-cvrr-v645-55g9, CGA-cvxx-w2gg-5hg4, CGA-cxm5-h5fx-8q36, CGA-f3vw-f5qc-hc4f, CGA-f3wg-c38f-5gxp, CGA-f4cp-m64q-q3gq, CGA-f4jw-vm26-xq48, CGA-f77j-39q6-9vrg, CGA-f7gm-5rjg-m246, CGA-f8rg-mp3g-pfr4, CGA-f9v9-257p-v8hw, CGA-fgpj-r4j9-mgq7, CGA-fh6f-qrvr-2vvf, CGA-fj59-79ch-rqc6, CGA-fj5c-cf35-wpgg, CGA-fjh4-7xxx-mmcc, CGA-fqmc-7fh2-9hjx, CGA-fvgj-qgx2-cc2j, CGA-g5cx-fm9m-xh6x, CGA-g63w-3jc5-r8hp, CGA-g6f9-wpq4-2234, CGA-g7mv-g3w3-g6jh, CGA-gh6f-8fqw-pc58, CGA-ghph-2xw8-98p2, CGA-gj2w-92q9-mqrp, CGA-gj57-8pmm-hwf8, CGA-gmfc-jhq9-6fpf, CGA-gpgc-pq7j-j2jp, CGA-gq98-xc2p-2wvq, CGA-gw2c-r5jg-w838, CGA-gwx2-vjwq-w9pp, CGA-h3fr-mjcp-rp3v, CGA-h8x3-hcqc-33qv, CGA-hh57-xwwh-3hpx, CGA-hhqh-jf88-hhrh, CGA-hj2j-w4w4-95pg, CGA-hmgf-j8ww-hrvm, CGA-hmxq-45xf-66pj, CGA-hxgg-f3vf-6mp3, 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-m29r-3p43-mgxp, CGA-m5hw-rv28-4h77, CGA-m7rm-mm87-4fp8, CGA-mc5g-cjm8-39gr, CGA-mc7m-vw7f-mfqq, CGA-mcw4-c9hf-h6jr, CGA-mhj8-47p7-rj58, CGA-mqcj-79v2-q83q, CGA-mrjf-g24v-564m, CGA-mrrj-5jm4-78qh, CGA-mxgg-8xgm-gmqh, CGA-p7gx-fjpr-h646, CGA-p7hv-35mh-xx79, CGA-pcfv-c894-5jqw, CGA-pcj9-vwgc-q3vf, CGA-pj95-vwqm-j2hj, CGA-pm3v-h8xf-9qc6, CGA-pmr2-2w7v-54gg, CGA-pp9v-xv8j-73fc, CGA-pqqh-j9w6-f47f, CGA-prh4-c689-f77g, CGA-prj9-6hq4-pqw8, CGA-pv69-8f2v-8wp8, CGA-q2mf-fr2f-2cw7, 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-qfq4-5hv7-crqc, CGA-qgqm-83g6-g59r, 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-r2rv-h34c-5wvj, CGA-r426-5cmh-6xgh, CGA-r739-mjfj-q897, CGA-r94p-4w4p-3m74, CGA-rf97-prf9-4m7v, CGA-rghg-8rmp-mq68, CGA-rgwc-prjc-q654, CGA-rp74-w355-2557, CGA-rq9h-mxpq-fccp, CGA-rvj4-93ch-8rhh, CGA-v22r-hw6g-m4wf, CGA-v49c-cwxc-vr6v, CGA-v4fx-3w9p-7ff7, CGA-v6m9-9gq4-r99p, CGA-v7g8-3xxj-j7gm, CGA-v7r7-9jqf-6c27, CGA-v8wx-cf8g-wrjg, CGA-vcph-mrqc-x24q, CGA-vh53-58hf-3gh7, CGA-vhx9-48m3-7mqv, CGA-vjqp-jrv6-vg79, CGA-vmq5-4v2v-x5xj, CGA-vpcw-prcj-9mx5, CGA-vpg2-244c-m3xq, CGA-w233-2gff-3p3j, CGA-w2qj-x53m-549r, CGA-w2wr-cq34-2h8q, CGA-w54f-cprw-5f22, CGA-w7qm-hgxj-cmfg, CGA-wc28-2g98-6782, CGA-wc2w-4x45-vgqh, 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-x4x2-935x-pcmp, CGA-x5c7-36r6-fjm9, CGA-x65w-mf5w-6mjm, CGA-xcw4-qcp7-6m6q, CGA-xp43-px72-8f87, CGA-xp87-3645-p2x7, CGA-xpxh-v3jp-59hv, CGA-xq2h-pvpv-h3g2, CGA-xw5p-8rr5-rm83, CLEANSTART-2026-BG00340, CLEANSTART-2026-DH52252, CLSA-2026-1783991065, CLSA-2026-1789425652, ECHO-dd90-8305-7f06, GHSA-vgq5-3255-v292, MINI-67gf-hhw2-52rc, MINI-6fx5-m978-9737, MINI-c4wf-9wc5-wfq8, MINI-cj6j-wv2r-8j3w, MINI-jmqm-3xgr-cmvm, MINI-p6pj-79xr-qfc6, MINI-qx7v-246x-pf3m, MINI-v2j4-43m9-jcmc, MINI-w6m4-pr78-g878, ROOT-APP-MAVEN-CVE-2025-27817
Key Facts
Patch immediately- CVE-2025-27817 is a high-severity vulnerability (CVSS 8.6 v4) affecting Kafka (Apache), apache-nifi (wolfi), apache-nifi-compat (wolfi) and 22 more products.
- It is exploited in the wild, listed in Industry KEV feed since Apr 8, 2026. No public exploit code is known.
- EPSS estimates a 70% probability of exploitation in the next 30 days.
- Fixed versions are available, including Kafka 3.9.1, Kafka 3.9.1-1.ph4, Kafka 3.9.1-1.ph5.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v4
8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
EPSS (30-day exploit likelihood)
70%
Higher than 99.3% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
63/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Apr 8, 2026
302 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2025-27817
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-27817
- advisoryRHSA-2025:23417
- advisoryRHSA-2025:9922
- advisoryGHSA advisory
- advisoryhttps://kafka.apache.org/cve-list
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Apr 8, 2026 | n/a | Not reported |
Affected Products
516 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| KafkaApache | >= 3.1.0 | 3.9.1 |
| apache-nifiwolfi | See advisory | 2.4.0-r4 |
| apache-nifi-compatwolfi | See advisory | 2.4.0-r4 |
| apache-nifi-toolkitwolfi | See advisory | 2.4.0-r4 |
| apicurio-registrywolfi | See advisory | 3.0.9-r1 |
Patched Releases
Kafka
3.9.1, 3.9.1-1.ph4, 3.9.1-1.ph5
apache-nifi
2.4.0-r4
apache-nifi-compat
2.4.0-r4
apache-nifi-toolkit
2.4.0-r4
apicurio-registry
3.0.9-r1
apicurio-registry-nginx-config
3.0.9-r1
apicurio-registry-ui
3.0.9-r1
conductor
3.32.1-r0
conductor-fips
3.32.1-r0
debezium-connector-spanner-3.0
3.0.8-r5
druid
33.0.0-r4
druid-compat
33.0.0-r4
io.root.org.apache.kafka:kafka-clients
3.6.0-root.io.1, 3.6.0-root.io.2, 3.6.0-root.io.3, 3.7.1-root.io.1, 3.7.1-root.io.2, 3.7.1-root.io.3, 3.8.1-root.io.1, 3.8.1-root.io.2, 3.8.1-root.io.3, 3.8.1-root.io.4, 3.9.1-root.io.1, 3.9.1-root.io.2, 3.9.1-root.io.3, 3.9.1-root.io.4
kafka_exporter-strimzi-compat
0.45.1-r3, 0.46.0-r6
kafka_exporter-strimzi-compat-0.45
0.45.2-r0
kafka-strimzi-compat
0.45.1-r3, 0.46.0-r6
kafka-strimzi-compat-0.45
0.45.2-r0
kogito-apps
10.1.0-r0
logstash-8
8.18.2-r2
logstash-8-with-output-opensearch
8.18.2-r2
opensearch-2
2.19.1-r5, 2.19.4-r0
opensearch-2-advanced-compat
2.19.4-r0
opensearch-2-alerting
2.19.1-r5, 2.19.4-r0
opensearch-2-analysis-icu
2.19.1-r5, 2.19.4-r0
opensearch-2-analysis-kuromoji
2.19.1-r5, 2.19.4-r0
Timeline
Publicly disclosed
Jun 10, 2025
Added to Industry KEV feed
Apr 8, 2026
Last updated
Nov 5, 2026
Weakness Type
- CWE-918 Server-Side Request Forgery
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-27817
- advisoryRHSA-2025:23417
- advisoryRHSA-2025:9922
- advisoryGHSA advisory
FAQ
Common Questions.
A possible arbitrary file read and SSRF vulnerability has been identified in Apache Kafka Client.
Affected: Kafka (Apache) versions >= 3.1.0; apache-nifi (wolfi); apache-nifi-compat (wolfi), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Apr 8, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Kafka 3.9.1, Kafka 3.9.1-1.ph4, Kafka 3.9.1-1.ph5.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2025-27817 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo