Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-31141
apache kafka

Score6.5 Medium
CVSS 3.1
Exploit probability (EPSS)1.8%
within the next 30 days
CategoryAccess control & privilege
Published19 November 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data.

Weakness type: Improper privilege management.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-269 – Improper privilege management, CWE-552

Affected products

VendorProductVersions
apachekafka>=2.3.0 <=3.5.2
apachekafka>=3.6.0 <=3.6.2
apachekafka3.7.0

Sources

Latest in the same category

  • CVE-2026-139981 Low 2.1
    A flaw has been found in PerfreeBlog up to 4.0.11. This affects an unknown part of the file CodegenController.java of the component Codegen Module. This manipulation causes missing authorization. The attack may be…
    Access control & privilege · 1 December 2026
  • CVE-2026-139979 Medium 5.5
    A security vulnerability has been detected in Frangoteam FUXA up to 1.3.5. This affects an unknown part of the file server/api/recipes/index.js of the component Recipes API. Such manipulation leads to missing…
    Access control & privilege · 1 December 2026
  • CVE-2026-115423 Medium 6.5
    A flaw was found in FreeIPA. An access control instruction (ACI) intended to allow presence-checking on password and Kerberos principal-key attributes grants unrestricted SEARCH rights on userPassword and…
    Access control & privilege · 1 December 2026
  • CVE-2026-139978 Low 2.1
    A vulnerability was determined in Statamic CMS up to 6.43.1. This issue affects the function Upload of the file src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php of the component Control Panel Files…
    Access control & privilege · 1 December 2026
  • CVE-2026-139893 Medium 5.5
    A vulnerability has been found in 0xERR0R blocky up to 0.35.0. Impacted is the function configureDebugHandler of the file server/server_endpoints.go. Such manipulation leads to information disclosure. The attack may be…
    Access control & privilege · 1 December 2026
  • CVE-2026-139892 Medium 4.8
    A flaw has been found in MervinPraison PraisonAI up to 4.7.24. This issue affects the function _load_rules of the file praisonaiagents/permissions/manager.py of the component Permission Manager. This manipulation…
    Access control & privilege · 1 December 2026