What is wrong
Jenkins does not disable a CLI parser feature that replaces an '@' character followed by a file path with the file's contents. An unauthenticated attacker can exploit this behavior to read arbitrary files on the Jenkins controller file system.
Who is affected
This issue affects Jenkins versions 2.441 and earlier, as well as LTS versions 2.426.2 and earlier.
What to do
Upgrade Jenkins to version 2.442 or LTS version 2.426.3. If upgrades are not immediately possible, apply mitigations according to vendor instructions.
Original 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.
Known exploited (CISA KEV)
- Added to KEV
- 2024-08-19
- Remediation due (US federal)
- 2024-09-09
- Ransomware use
- Known
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected software
- Jenkins < 2.442< 2.426.3 Fixed in: 2.442, 2.426.3 exact match
Details
- Published
- 2024-01-24
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-22, CWE-27
- EPSS (30-day exploit probability)
- 100.00% (percentile 100)
References
- cve.org/CVE-2024-23897
- nvd.nist.gov/vuln/detail/CVE-2024-23897
- packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
- packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
- www.openwall.com/lists/oss-security/2024/01/24/6
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-...
- www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revea...
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.