# CVE-2024-31141: Apache Kafka Clients: Privilege escalation to filesystem read-access via automatic ConfigProvider

Source: https://junglewise.ai/threats/cve-2024-31141-apache-kafka-clients-privilege-escalation-to-filesystem-read  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-19  
License: CC BY 4.0 with a link back

CVE-2024-31141 · Severity: low · CVSS 3.1 · Published 2024-11-19

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

Technologies: [org.apache.kafka:kafka-clients (Maven)](https://junglewise.ai/threats/technologies/org-apache-kafka-kafka-clients). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-31141 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-31141 being exploited in the wild.

**How severe is CVE-2024-31141?** Low severity, with a CVSS score of 3.1, published 19 November 2024.

**Which products and versions are affected?** org.apache.kafka:kafka-clients (Maven) ECOSYSTEM:introduced=2.3.0,fixed=3.7.1.

**Is there a fix for CVE-2024-31141?** Yes. org.apache.kafka:kafka-clients (Maven): upgrade to 3.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-31141?** Check whether you run org.apache.kafka:kafka-clients (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.kafka:kafka-clients (Maven): upgrade to 3.7.1 or later

  ```sh
  # set org.apache.kafka:kafka-clients to 3.7.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.kafka:kafka-clients (Maven) ECOSYSTEM:introduced=2.3.0,fixed=3.7.1

## Identifiers

- CVE-2024-31141
- GHSA-2x2g-32r7-p4x8

## Related threats

- [Apache Kafka exposes sensitive information in its DEBUG logs](https://junglewise.ai/threats/cve-2026-33558-apache-kafka-exposes-sensitive-information-in-its-debug-logs)
- [Apache Kafka authentication bypass via improper JWT validation](https://junglewise.ai/threats/cve-2026-33557-apache-kafka-authentication-bypass-via-improper-jwt-validation)
- [Apache Kafka Kafka Clients race condition in Kafka Producer](https://junglewise.ai/threats/cve-2026-35554-apache-kafka-kafka-clients-race-condition-in-kafka-producer)
- [Apache Kafka Client Arbitrary File Read and Server Side Request Forgery Vulnerability](https://junglewise.ai/threats/cve-2025-27817-apache-kafka-client-arbitrary-file-read-and-server-side-request)
- [Improper Authentication in Apache Kafka](https://junglewise.ai/threats/cve-2017-12610-improper-authentication-in-apache-kafka)
