Read the docs
TI-2024-20521 Aliases CVE-2024-31141GHSA-2x2g-32r7-p4x8

Apache Kafka Clients: Privilege escalation to filesystem read-access via automatic ConfigProvider

Priority LOW 32CWE-269Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Privilege escalation, Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 4 fixed, 10 without a fix

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

Summary

Files or Directories Accessible to External Parties, Improper Privilege Management vulnerability in Apache Kafka Clients. Apache Kafka Clients accept configuration data for customizing behavior, and includes ConfigProvider plugins in order to manipulate these configurations. Apache Kafka also provides FileConfigProvider, DirectoryConfigProvider, and EnvVarConfigProvider implementations which include the ability to read from disk or environment variables. In applications where Apache Kafka Clients configurations can be specified by an untrusted party, attackers may use these ConfigProviders to read arbitrary contents of the disk and environment variables. In particular, this flaw may be used in Apache Kafka Connect to escalate from REST API access to filesystem/environment access, which may be undesirable in certain environments, including SaaS products. This issue affects Apache Kafka Clients: from 2.3.0 through 3.5.2, 3.6.2, 3.7.0. Users with affected applications are recommended to upgrade kafka-clients to version >=3.8.0, and set the JVM system property "org.apache.kafka.automatic.config.providers=none". Users of Kafka Connect with one of the listed ConfigProvider implementations specified in their worker config are also recommended to add appropriate "allowlist.pattern" and "allowed.paths" to restrict their operation to appropriate bounds. For users of Kafka Clients or Kafka Connect in environments that trust users with disk and environment variable access, it is not recommended to set the system property. For users of the Kafka Broker, Kafka MirrorMaker 2.0, Kafka Streams, and Kafka command-line tools, it is not recommended to set the system property.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0133 71st percentileScored 2026-11-08
Fix Partial org.apache.kafka:kafka-clients (Maven): 3.7.1Red Hat: 4 advisoriesRed Hat: 4 fixed, 10 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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 Clients2.3.0 – 3.5.2; 3.6.0 – 3.6.2; 3.7.0—No fix listedCNA
—org.apache.kafka:kafka-clients (Maven)2.3.0 to before 3.7.13.7.1Patch availableGHSA-2x2g-32r7-p4x8
  • Apache Kafka Clients VendorApache Affected 2.3.0 – 3.5.2; 3.6.0 – 3.6.2; 3.7.0 Fixed in — No fix listed CNA
  • org.apache.kafka:kafka-clients (Maven) Vendor— Affected 2.3.0 to before 3.7.1 Fixed in 3.7.1 Patch available GHSA-2x2g-32r7-p4x8

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*2.3.0 – 3.5.2; 3.6.0 – 3.6.2VulnerableApache
cpe:2.3:a:apache:kafka:3.7.0:*:*:*:*:*:*:*3.7.0VulnerableApache
  • cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* Versions 2.3.0 – 3.5.2; 3.6.0 – 3.6.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:kafka:3.7.0:*:*:*:*:*:*:* Versions 3.7.0 Vulnerable ·Apache

Remediation

  • Fix · GHSA-2x2g-32r7-p4x8 org.apache.kafka:kafka-clients (Maven) Fixed in 3.7.1 Advisory →

Red Hat 4 advisories

  • RHSA-2025:12511 Released 2025-08-01 · Red Hat rating Important
    Streams for Apache Kafka 3.0.0 release and security update
    • Streams for Apache Kafka 3.0.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
  • RHSA-2025:2416 Released 2025-03-05 · Red Hat rating Important
    Streams for Apache Kafka 2.9.0 release and security update
    • Streams for Apache Kafka 2.9.0
Show 1 more Red Hat advisories
  • RHSA-2024:10700 Released 2024-12-02 · Red Hat rating Important
    Red Hat Build of Apache Camel 4.8 for Spring Boot security update.
    • Red Hat build of Apache Camel 4.8 for Spring Boot

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Data Grid 8AffectedNo fix planned: Will not fix
Red Hat Fuse 7AffectedNo fix planned: Out of support scope
Red Hat Integration Camel K 1AffectedNo fix planned: Out of support scope
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix planned: Out of support scope
Red Hat Process Automation 7AffectedNo fix planned: Out of support scope
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet
Red Hat build of Apicurio Registry 2AffectedNo fix yet
Red Hat build of Debezium 2AffectedNo fix planned: Will not fix
streams for Apache KafkaAffectedNo fix planned: Out of support scope
Red Hat build of Apache Camel 4.8 for Spring BootFixed RHSA-2024:10700
Streams for Apache Kafka 2.9.0Fixed RHSA-2025:2416
Streams for Apache Kafka 2.9.1Fixed RHSA-2025:9922
Streams for Apache Kafka 3.0.0Fixed RHSA-2025:12511
Not affected: 5 products
  • A-MQ Clients 2
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat build of Quarkus

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-31141
  2. 2026-10-03 Alias added: GHSA-2x2g-32r7-p4x8

References

  • TI-2025-20589 Apache Kafka Client: Arbitrary file read and SSRF vulnerability CVSS 3.1HIGH 7.5
  • 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
See all 16 →

Sources