CVE-2024-23897Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character…
- 9.8CriticalCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 19 Aug 2024
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Jenkins Command Line Interface (CLI) Path Traversal Vulnerability.
- Added
- 19 Aug 2024
- Fix due (US federal)
- 9 Sept 2024
- Used by ransomware
- Known
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 19 Aug 2024.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules1 module
- Jenkins cli Ampersand Replacement Arbitrary File Read (Metasploit module) (opens in a new tab)
auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_readRank normaldisclosed 24 Jan 2024
Nuclei templates1 template
- Jenkins < 2.441 - Arbitrary File Read (Nuclei template) (opens in a new tab)
javascript/cves/2024/CVE-2024-23897.yamlSeverity high
Exploit-DB1 entry
- Jenkins 2.441 - Local File Inclusion (Exploit-DB entry) (opens in a new tab)
EDB-ID 51993webapps, javapublished 15 Apr 2024Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By jenkins
- 1 day later
· 1 day later
Published
- 7 months later
· 7 months later
Added to CISA KEV
Known exploited, also by ransomware
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- unaffected < 1.606
- unaffected 2.442 – < *
- unaffected 2.426.3 – < 2.426.*
- unaffected 2.440.1 – < 2.440.*
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.jenkins-ci.main:jenkins-coreGHSA-6f9g-cxwr-q5jr (opens in a new tab)
References
References7
- Jenkins Security Advisory 2024-01-24 (opens in a new tab)vendor-advisoryx_transferred
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/01/24/6 (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html (opens in a new tab)x_transferred
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1 (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0270 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6f9g-cxwr-q5jr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-23897)Record last updated .