CVE-2024-23897Jenkins Command Line Interface (CLI)
Unauthenticated Arbitrary File Read in Jenkins CLI
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Jenkins · Jenkins Command Line Interface (CLI) We alert you by email or Slack (account required).
- Priority
- 98
- CVSS 3.1
- 9.8
- EPSS
- 92.4% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Aug 19, 2024
- CISA deadline
- Sep 9, 2024
- Ransomware use
- Confirmed
- Published
- Jan 24, 2024
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a CLI command parser feature that replaces '@' followed by a file path with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller filesystem. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
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.
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 2.426.3, 2.442
Update Jenkins to version 2.426.3 (LTS) or 2.442 (release) or later to disable the path expansion feature in the CLI parser.
- Apply the vendor's security update for Jenkins Command Line Interface (CLI).
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 9, 2024.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 1.606 < 2.426.3 |
2.426.3 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.427 < 2.440.1 |
2.440.1 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.441 < 2.442 |
2.442 |
— |
Per OSV / GitHub Advisories (GHSA-6f9g-cxwr-q5jr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | < 2.426.3 |
| jenkins | jenkins | < 2.442 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List
- www.jenkins.io Vendor Advisory
- www.sonarsource.com Exploit Press/Media Coverage
- www.vicarius.io Exploit Third Party Advisory
- www.cisa.gov US Government Resource