{"id":"CVE-2026-112375","revision":"ad4d3346958549438bec2c4d611932a9","records":[{"revision":"ad4d3346958549438bec2c4d611932a9","observedAt":"2026-10-28T17:46:48.824+00:00","statement":{"source":"cve-program","id":"CVE-2026-112375","aliases":[],"title":"Apache Kafka: Unauthorized principal can read arbitrary broker files via IncrementalAlterConfigs","description":"An authenticated Kafka principal with no authorization grants (not even ALTER_CONFIGS) can\u00A0make a broker read a file or an environment variable from the broker host and return its\u00A0contents. An IncrementalAlterConfigs (or AlterConfigs) request targeting a BROKER resource\u00A0reaches the broker's configuration validation before any authorization check is applied to\u00A0that path. Validation resolves configuration variables such as ${file:/path:key} or ${env:VAR}\u00A0using a ConfigProvider named in the request, and this resolution bypasses the\u00A0org.apache.kafka.automatic.config.providers allowlist that was added as the mitigation for\u00A0CVE-2024-31141. An arbitrary ConfigProvider (for example FileConfigProvider or\u00A0EnvVarConfigProvider) is therefore instantiated and the referenced file or environment\u00A0variable is read, and a type-validation error returns the resolved content to the caller.\n\n\nImpact:\n\nOn a cluster with an authorizer enabled, an authenticated principal with no authorization\u00A0grants can read the contents of files accessible to the broker process, and the broker's\u00A0environment variables, exposing credentials, keystores, or other secrets, defeating the\u00A0CVE-2024-31141 allowlist. The read is bounded by the broker process's file permissions. The\u00A0brokers and the cluster remain available; the issue is disclosure of file and environment-\u00A0variable contents. Clusters with no authorizer configured are not affected in practice,\u00A0because every principal already holds ALTER_CONFIGS there.\n\n\nMitigation:\n\nUpgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. As defense in depth, run brokers under a\u00A0least-privileged operating-system account so that sensitive files are not readable by the\u00A0broker process.\n\n\nResolution:\n\nFrom Apache Kafka 4.2.2, 4.3.2, and 4.4.0: broker configuration changes are authorized\u00A0(ALTER_CONFIGS on the cluster) before the configuration is validated, and configuration-\u00A0variable resolution enforces the config-providers allowlist.","state":0,"publishedAt":"2026-10-28T16:46:38.006+00:00","modifiedAt":"2026-10-28T16:46:38.006+00:00","affected":[{"ecosystem":"https://repo.maven.apache.org/maven2","name":"org.apache.kafka:kafka","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"product\": \"Apache Kafka\",\n                    \"packageURL\": \"pkg:maven/org.apache.kafka/kafka\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"3.2.0\",\n                            \"lessThanOrEqual\": \"4.1.2\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"4.2.0\",\n                            \"lessThanOrEqual\": \"4.2.1\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"4.3.0\",\n                            \"lessThanOrEqual\": \"4.3.1\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"collectionURL\": \"https://repo.maven.apache.org/maven2\",\n                    \"packageName\": \"org.apache.kafka:kafka\"\n                }"}],"metrics":[],"references":["https://kafka.apache.org/cve-list"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112375","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112375","identifiers":["CVE-2026-112375"]},"retained":false,"historicalAffected":[]}],"coverage":[]}