CVE-2024-23897
Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
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 3.1
- 9.8
- Exploit probability
- >99%
- Known exploited
- Yes
- Published
- 24 Jan 2024
Exploited in the wild
Confirmed exploitation of Jenkins Jenkins Command Line Interface (CLI), added to the known-exploited catalogue on 19 Aug 2024.
- Fix by
- 9 Sept 2024
- Used in ransomware campaigns
- Yes
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Scores
Severity from the official assessment; exploit probability is the chance of exploitation activity in the next 30 days.
- Severity
- Critical
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Exploit probability
- >99%, in the top 1% of CVEs
- Status
- Analyzed, last modified 17 Jun 2026
Affected software
Products and version ranges listed as vulnerable.
| Product | Versions |
|---|---|
| jenkins jenkins | before 2.426.3; before 2.442 |
References
Advisories, patches and write-ups. Links leave Tohou.
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploit · Third Party Advisory · VDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/Exploit · Press/Media Coverage
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploit · Third Party Advisory · VDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/Exploit · Press/Media Coverage
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1Exploit · Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897US Government Resource
Is CVE-2024-23897 on your attack surface?
Sonar records the software running on your assets and alerts you when a new CVE matches it, without waiting for the next scan.
From public vulnerability feeds, refreshed every 12 hours. As JSON: https://api.tohou.io/v1/cves/CVE-2024-23897 (needs a Tohou API key; free accounts included). Exploit probability is the EPSS score. This product uses data from the NVD API but is not endorsed or certified by the NVD.