Bug 2584291 (CVE-2026-136840)

Summary: CVE-2026-136840 io.jenkins/configuration-as-code: Jenkins Configuration as Code Plugin: Arbitrary file and secret disclosure via validation endpoint
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Jenkins Configuration as Code Plugin. The plugin's configuration validation endpoint automatically resolves variable references in submitted YAML configuration files and reflects the evaluated values in error responses. An authenticated user with system-read permissions can exploit this vulnerability by submitting a crafted configuration document to read arbitrary files from the Jenkins controller file system, environment variables, system properties, and configured secrets.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-25 16:52:13 UTC
Jenkins Configuration as Code Plugin 2134.ve13a_2fc90835 through 2147.v8a_8d38668c72 (both inclusive), except 2140.2142.v3836c98f1b_30, resolves variables, including references to files on the Jenkins controller file system, environment variables, system properties, and values from configured secret sources, in YAML documents submitted to its configuration validation endpoint, and returns resolved values in error responses, allowing attackers with Overall/SystemRead permission to read arbitrary files on the Jenkins controller file system, environment variables, system properties, and values from configured secret sources.