# CVE-2024-23897: Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2024-08-19; used in ransomware campaigns. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 99.9%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-01-24T17:52:22.842Z
- Modified: 2026-09-08T08:47:57.701Z
- Also known as: GHSA-6f9g-cxwr-q5jr, BIT-JENKINS-2024-23897
- Weaknesses: CWE-22, CWE-27
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: jenkins

## 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.

(As written by CVE List.)

## Affected

- Jenkins Project Jenkins: no versions given (not affected: before 1.606; from 2.442 before *; from 2.426.3 before 2.426.*; from 2.440.1 before 2.440.*)
- jenkins jenkins: before 2.426.3; before 2.442 (not affected: before 1.606; from 2.442 before *; from 2.426.3 before 2.427; from 2.440.1 before 2.441)
- org.jenkins-ci.main:jenkins-core (Maven): from 1.606 before 2.426.3; from 2.427 before 2.440.1; from 2.441 before 2.442
- jenkins (Bitnami): before 2.452.1
- Jenkins Jenkins Command Line Interface (CLI): no versions given

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H`
- GitHub: CVSS:4.0 Critical `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/> (exploit, evidence, press/media-coverage)
- <http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1> (exploit, advisory, third-party-advisory, web)
- <https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314> (advisory, kev, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/01/24/6> (discussion, mailing-list, web)
- <http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html> (advisory, third-party-advisory, vdb-entry, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23897> (advisory, kev, web)
- <https://github.com/jenkinsci/jenkins/commit/554f03782057c499c49bbb06575f0d28b5200edb> (web)
- <https://github.com/jenkinsci/jenkins> (package)
- <https://www.jenkins.io/changelog-stable/#v2.440.1> (web)
- <https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins> (web)

## Sources

- CVE List: [CVE-2024-23897](https://www.cve.org/CVERecord?id=CVE-2024-23897), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-6f9g-cxwr-q5jr](https://github.com/advisories/GHSA-6f9g-cxwr-q5jr), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2024-23897](https://nvd.nist.gov/vuln/detail/CVE-2024-23897), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2024-23897](https://osv.dev/vulnerability/BIT-JENKINS-2024-23897), Apache-2.0, modified 2026-09-08
- CISA KEV: [CVE-2024-23897](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2024-23897), CC0-1.0, modified 2024-08-19

---

Page: https://cve.day/CVE-2024-23897 · Whole record: https://cve.day/CVE-2024-23897.json · Rebuilt by cve.day 2026-11-25T22:58:36.322Z
