CVE-2024-23897: Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
Vulnerability summary
CVE-2024-23897 is a critical (CVSS 9.8) Path Traversal vulnerability in Jenkins Jenkins Command Line Interface (CLI). It is known to be exploited: CISA lists it, first on 19-08-2024. It has been used in ransomware campaigns. EPSS estimates a 100.00% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 5 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 24-01-2024PublishedVulnerability first disclosed.
- 19-08-2024Added to CISA KEVExploitedJenkins Command Line Interface (CLI) Path Traversal Vulnerability
- 09-09-2024CISA remediation dueDeadline passedApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- 21-10-2025Last modifiedVulnerability information updated.
Description
Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
100.00%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 100.00% on 22-09-2026
Known exploited
Compare KEV catalogs- Added
- 19-08-2024
- Federal due date
- 09-09-2024
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. www.jenkins.io/security/advisory/2024-01-24/ nvd.nist.gov/vuln/detail/CVE-2024-23897
Public exploits
5 foundExploit Reference (sonarsource.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (vicarius.io)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-27Path Traversal: 'dir/../../filename'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal "../" sequences that can resolve to a location that is outside of that directory.
Affected systems
Jenkins1 product
- jenkins< 2.426.3 | < 2.442
Org.jenkins-ci.main1 product
- jenkins-core≥ 1.606, < 2.426.3 | ≥ 2.427, < 2.440.1 | ≥ 2.441, < 2.442
2 vendors · 2 products
References
12 links- packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlWEBThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlWEBExploitThird Party AdvisoryVDB Entry
- www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1WEBExploitThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897Government ResourceWEBUS Government Resource
- github.com/jenkinsci/jenkinsPACKAGE