7.5

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

Analyzed
AliasesCGA-25fm-jgjm-m3rjCGA-27vj-8f37-j4xwCGA-2hc8-6vh3-crww
Published 10-06-2025Last modified 10-06-2025

Vulnerability summary

CVE-2025-27817 is a high (CVSS 7.5) Server-Side Request Forgery vulnerability in apache software foundation apache kafka client. EPSS estimates a 70.06% chance of exploitation in the next 30 days, higher than 99.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 70% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
70.06%
0%100%
Critical · +1.29 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 7

Timeline

  1. 10-06-2025
    PublishedVulnerability first disclosed.
  2. 10-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

70.06%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

Increase +1.29 pp

From 68.78% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard121 products
  • 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
Wolfi75 products
  • 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
Apache1 product
Apache software foundation1 product
Org.apache.kafka1 product
  • kafka-clients≥ 3.1.0, < 3.9.1

5 vendors · 199 products

References

5 links