CVE-2024-23897
CRITICAL 9.8CVSS 3.1known exploitedransomwareArbitrary file read vulnerability through the Jenkins CLI can lead to RCE
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.
- Published
- 24 Jan 2024
- Last modified
- 7 Aug 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-27
- Also known as
- BIT-jenkins-2024-23897GHSA-6f9g-cxwr-q5jr
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-6f9g-cxwr-q5jrJSON
In CISA's Known Exploited Vulnerabilities catalog since 19 Aug 2024; US federal agencies must fix it by 9 Sep 2024.
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
< 2.426.3 | 2.426.3 |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
< 2.442 | 2.442 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 1.606, < 2.426.3 | 2.426.3 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.427, < 2.440.1 | 2.440.1 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.441, < 2.442 | 2.442 |
References
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html · Third Party Advisory, VDB Entry, WEB
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2024/01/24/6 · Mailing List, WEB
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314 · Vendor Advisory, WEB
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ · Exploit, Press/Media Coverage, WEB
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1 · Exploit, Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23897 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/554f03782057c499c49bbb06575f0d28b5200edb · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
- https://www.jenkins.io/changelog-stable/#v2.440.1 · WEB
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 19 Aug 2024)
- 19 Aug 2024 00:00 UTC · Listed as known exploited