# Jenkins CLI arbitrary file read (CVE-2024-23897) leads to RCE · pwn.watch > Jenkins Command Line Interface (CLI) contains a path traversal vulnerability that allows attackers limited read access to certain files, which can lead to code execution. Added to the CISA KEV catalog on 2024-08-19. CISA lists known use in ransomware campaigns. Page: https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897 · generated 2026-12-06T19:58:06.567Z ## Status - Severity: critical · status: closed · patch: patched - Product: Jenkins Command Line Interface (CLI) - Started: 2024-01-24 · closed: 2024-08-19 - CVEs: CVE-2024-23897 - Affected: Jenkins 2.441 and earlier, LTS 2.426.2 and earlier (Jenkins advisory) - Fixed in: Jenkins 2.442; LTS 2.426.3; LTS 2.440.1 ## Follow this incident - RSS (one item per update): https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897/feed.xml - JSON Feed: https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897.json - This file: https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897/llms.txt ## Updates (newest first) - 2024-08-19: CISA added CVE-2024-23897 to the KEV catalog (federal deadline 2024-09-09) (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) - 2024-01-24: CVE-2024-23897 published (https://nvd.nist.gov/vuln/detail/CVE-2024-23897) - 2024-01-24: Jenkins security advisory and fixed releases (https://www.jenkins.io/security/advisory/2024-01-24/) ## Fix brief # Security brief: Jenkins CLI arbitrary file read (CVE-2024-23897) leads to RCE Source: https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897 · status: closed (closed Aug 19, 2024) · severity: critical · updated Aug 19, 2024 ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is Jenkins Command Line Interface (CLI) contains a path traversal vulnerability that allows attackers limited read access to certain files, which can lead to code execution. Added to the CISA KEV catalog on 2024-08-19. CISA lists known use in ransomware campaigns. Severity detail: CVSS 9.8 (v3.1, CISA-ADP), actively exploited (CISA KEV); known ransomware use - Product: Jenkins Command Line Interface (CLI) - CVE / advisory ids: CVE-2024-23897 ## Affected versions - Jenkins 2.441 and earlier, LTS 2.426.2 and earlier (Jenkins advisory) ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - Jenkins 2.442 - LTS 2.426.3 - LTS 2.440.1 After upgrading, re-run the checks above and redeploy/restart the affected services. ## Latest updates - Aug 19, 2024: CISA added CVE-2024-23897 to the KEV catalog (federal deadline 2024-09-09) - Jan 24, 2024: CVE-2024-23897 published - Jan 24, 2024: Jenkins security advisory and fixed releases ## Advisories - [Jenkins Security Advisory 2024-01-24](https://www.jenkins.io/security/advisory/2024-01-24/) (Jenkins) - [Jenkins advisory: CVE-2024-23897](https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314) (Jenkins) - [NVD: CVE-2024-23897](https://nvd.nist.gov/vuln/detail/CVE-2024-23897) (NVD) - [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) (CISA) ## Caveats Derived from the CISA KEV JSON feed (catalogVersion 2026.10.21); CVSS from the CVE record (cveawg.mitre.org). startedAt is the CVE publication date when it fell in 2024 before the KEV listing, else the KEV dateAdded; exploitation may have begun earlier. closedAt is the KEV listing date (a fix or mitigation was available then unless noted). --- Machine-readable: https://pwn.watch/i/jenkins-cli-arbitrary-file-read-cve-2024-23897.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.