Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-23900 Overview
CVE-2024-23900 affects the Jenkins Matrix Project Plugin version 822.v01b_8c85d16d2 and earlier. The plugin fails to sanitize user-defined axis names in multi-configuration projects. Attackers holding Item/Configure permission can abuse this flaw to create or replace arbitrary config.xml files on the Jenkins controller file system. The injected content is not attacker-controlled, which limits direct code execution but still enables tampering with Jenkins configuration state. Jenkins published advisory SECURITY-3289 on January 24, 2024 to describe the issue and remediation.
Critical Impact
Authenticated users with Item/Configure permission can overwrite config.xml files on the Jenkins controller, corrupting job, node, or global configuration and causing integrity loss.
Affected Products
- Jenkins Matrix Project Plugin 822.v01b_8c85d16d2 and earlier
- Jenkins controllers running multi-configuration (matrix) projects
- Downstream Jenkins pipelines dependent on the plugin
Discovery Timeline
- 2024-01-24 - Jenkins releases Security Advisory SECURITY-3289
- 2024-01-24 - CVE-2024-23900 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-23900
Vulnerability Analysis
The Matrix Project Plugin builds the same job across multiple configurations defined by user-supplied axes. Each axis has a name and a set of values that Jenkins uses to construct sub-build directories on disk. The plugin treats axis names as trusted strings and uses them directly in file system paths. An attacker with Item/Configure permission can supply axis names containing path traversal sequences. When Jenkins materializes the matrix configuration, it writes files at attacker-chosen locations on the controller. The written files are config.xml artifacts whose contents the attacker cannot control, so the primary impact is integrity loss rather than confidentiality or availability. Attackers can overwrite job configurations, agent definitions, or other Jenkins state files to disrupt operations or set up follow-on attacks.
Root Cause
The root cause is missing input sanitization on axis names in multi-configuration projects. The plugin accepts arbitrary characters, including path separators and traversal sequences such as ../, and passes them to file system APIs without validation. This is a path traversal weakness in a configuration persistence routine.
Attack Vector
Exploitation requires an authenticated Jenkins user with Item/Configure permission. The attacker creates or edits a multi-configuration project and sets an axis name that includes traversal segments pointing to a target config.xml path. Saving the job triggers Jenkins to write to the chosen location on the controller file system.
See Jenkins Security Advisory SECURITY-3289 for the authoritative technical description.
No verified public proof-of-concept code is available in the referenced sources.
Detection Methods for CVE-2024-23900
Indicators of Compromise
- Unexpected config.xml files appearing outside normal jobs/<name>/ directories on the Jenkins controller
- Modified timestamps on config.xml files for jobs, nodes, or global configuration that do not align with legitimate change windows
- Matrix project definitions containing axis names with ../, ..\, or absolute path fragments
- Audit log entries showing Item/Configure actions by non-administrator accounts shortly before file system anomalies
Detection Strategies
- Inventory installed plugin versions and flag any Jenkins controller running Matrix Project Plugin 822.v01b_8c85d16d2 or earlier
- Parse job config.xml files for <axis> elements and alert on names containing path separators or traversal sequences
- Baseline the Jenkins $JENKINS_HOME directory tree and alert on new or modified config.xml files outside expected paths
Monitoring Recommendations
- Forward Jenkins audit and system logs to a central analytics platform for correlation with file integrity events
- Enable file integrity monitoring on $JENKINS_HOME, with priority on jobs/, nodes/, and the root config.xml
- Review Item/Configure permission grants on a recurring schedule and remove unneeded assignments
How to Mitigate CVE-2024-23900
Immediate Actions Required
- Upgrade Jenkins Matrix Project Plugin to the version listed as fixed in Jenkins Security Advisory SECURITY-3289
- Restrict Item/Configure permission to trusted users until the plugin is upgraded
- Audit existing multi-configuration jobs for axis names containing path traversal sequences and remove suspicious definitions
- Verify the integrity of config.xml files across $JENKINS_HOME and restore any that were tampered with from backup
Patch Information
Jenkins published advisory SECURITY-3289 on January 24, 2024, which identifies the fixed release of the Matrix Project Plugin. Administrators should apply the update through the Jenkins Plugin Manager and restart the controller. Refer to the Jenkins Security Advisory SECURITY-3289 and the Openwall OSS-Security Discussion for the full remediation statement.
Workarounds
- Remove or disable the Matrix Project Plugin if multi-configuration projects are not in use
- Limit Item/Configure to administrators until the fixed plugin version is deployed
- Enforce least-privilege role assignments through the Jenkins authorization strategy to minimize the exposed user population
# List installed plugin version from the Jenkins controller
jenkins-plugin-cli --list | grep matrix-project
# Upgrade through the Jenkins CLI once the fixed version is identified in SECURITY-3289
jenkins-plugin-cli --plugins matrix-project:<fixed-version>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

