CVE-2024-23897
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.999%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2024-08-19 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-27: Path Traversal: 'dir/../../filename'
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Jenkins Command Line Interface (CLI) Path Traversal Vulnerability |
|---|---|
| Vendor / product | Jenkins / Jenkins Command Line Interface (CLI) |
| Date added | 2024-08-19 |
| Federal remediation due date | 2024-09-09 |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2024-08-19 |
Timeline
- 2024-01-24Published by the CNA17:52 UTC
- 2024-01-24GitHub advisory published (GHSA-6f9g-cxwr-q5jr)same day
- 2024-04-15First Exploit-DB entry (EDB-ID 51993)82 days after publication
- 2024-08-19Added to the CISA KEV catalog208 days after publication
- 2024-08-19CISA SSVC decision recorded208 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 51993 | webapps | java | 2024-04-15 | no |
Nuclei templates:
- CVE-2024-23897: Jenkins < 2.441 - Arbitrary File Read
GitHub advisory GHSA-6f9g-cxwr-q5jr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.jenkins-ci.main:jenkins-core | from 1.606 before 2.426.3 | 2.426.3 |
| Maven org.jenkins-ci.main:jenkins-core | from 2.427 before 2.440.1 | 2.440.1 |
| Maven org.jenkins-ci.main:jenkins-core | from 2.441 before 2.442 | 2.442 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jenkins jenkins | before 2.426.3fixed in 2.426.3before 2.442fixed in 2.442 | 2.426.32.442 |
References
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
- http://www.openwall.com/lists/oss-security/2024/01/24/6
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-23897'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-23897'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-23897'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-23897'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2024-23897'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).