Read the docs
TI-2025-20589 Aliases CVE-2025-27817GHSA-vgq5-3255-v292

Apache Kafka Client: Arbitrary file read and SSRF vulnerability

Priority HIGH 76CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.69836 99th percentileScored 2026-11-07
Fix Fixed org.apache.kafka:kafka-clients (Maven): 3.9.1Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Kafka Client3.1.0 – 3.9.0—No fix listedCNA
—org.apache.kafka:kafka-clients (Maven)3.1.0 to before 3.9.13.9.1Patch availableGHSA-vgq5-3255-v292
  • Apache Kafka Client VendorApache Affected 3.1.0 – 3.9.0 Fixed in — No fix listed CNA
  • org.apache.kafka:kafka-clients (Maven) Vendor— Affected 3.1.0 to before 3.9.1 Fixed in 3.9.1 Patch available GHSA-vgq5-3255-v292

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*3.1.0 to before 3.9.1VulnerableApache
  • cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* Versions 3.1.0 to before 3.9.1 Vulnerable ·Apache

Remediation

  • Fix · GHSA-vgq5-3255-v292 org.apache.kafka:kafka-clients (Maven) Fixed in 3.9.1 Advisory →

Red Hat 2 advisories

  • RHSA-2025:23417 Released 2025-12-16 · Red Hat rating Important
    Streams for Apache Kafka 3.1.0 release and security update
    • Streams for Apache Kafka 3.1.0
  • RHSA-2025:9922 Released 2025-06-30 · Red Hat rating Important
    Streams for Apache Kafka 2.9.1 release and security update
    • Streams for Apache Kafka 2.9.1

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Streams for Apache Kafka 2.9.1Fixed RHSA-2025:9922
Streams for Apache Kafka 3.1.0Fixed RHSA-2025:23417
Not affected: 21 products
  • A-MQ Clients 2
  • Logging Subsystem for Red Hat OpenShift
  • OpenShift Serverless
  • Red Hat Data Grid 8
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Process Automation 7
  • Red Hat build of Apache Camel 4 for Quarkus 3
  • Red Hat build of Apache Camel for Spring Boot 4
  • Red Hat build of Apicurio Registry 2
  • Red Hat build of Apicurio Registry 3
  • Red Hat build of Debezium 2
  • Red Hat build of Debezium 3
  • Red Hat build of Quarkus
  • streams for Apache Kafka
  • streams for Apache Kafka 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-27817
  2. 2026-10-03 Alias added: GHSA-vgq5-3255-v292

References

  • TI-2026-25947 Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication CVSS 3.1CRITICAL 9.1
  • TI-2018-12295 Improper input validation in Apache Kafka CVSS 3.0HIGH 8.8
  • TI-2025-20590 Apache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configuration CVSS 3.1HIGH 8.8
  • TI-2022-15706 Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers CVSS 3.1HIGH 7.5
  • TI-2025-20591 Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration CVSS 3.1HIGH 7.5
  • TI-2019-09246 Cleartext transmission of sensitive information in Apache Kafka CVSS 3.1HIGH 7.5
See all 16 →

Sources