CVE-2024-23897
Exploitation confirmed. First attested on 2024-01-30 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2024-01-24
- Fixed in2.442 · 2.440.1 · 2.426.3
- WeaknessCWE-22 · CWE-27
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-01-2418:15CVE publishedNVD
- 2024-01-3006:06Listed as exploited by GCVEGCVE
- 2024-01-3006:06Exploitation first reportedGCVE
- 2024-04-15Exploit-DB entryExploit-DB
- 2024-08-19Added to the CISA KEV catalogCISA KEV
- 2024-08-1915:35SSVC exploitation set to activeCISA-ADP
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.442 | < 2.442 | 2.442 | NVD |
| 2.x | ≥ 2.441, < 2.442 | 2.442 | OSV |
| 2.x | ≥ 2.427, < 2.440.1 | 2.440.1 | OSV |
| 2.426 | < 2.426.3 | 2.426.3 | NVD |
| 2.426 | ≥ 1.606, < 2.426.3 | 2.426.3 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.452 | < 2.452.1 | 2.452.1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As jenkins, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Jenkins Project Jenkinsother versions: affected
Not affected < 1.606 · ≥ 2.442 · ≥ 2.426.3, < 2.426.* · ≥ 2.440.1, < 2.440.*
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-04-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- jenkinsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:2.426.3.1706516254-3.el8
- jenkinsRed Hat:ocp_tools:4.12::el8all versions · fixed in 0:2.426.3.1706515686-3.el8
- jenkinsRed Hat:ocp_tools:4.11::el8all versions · fixed in 0:2.426.3.1706516929-3.el8
- jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:4.13.1706516346-1.el8
- jenkins-2-pluginsRed Hat:ocp_tools:4.12::el8all versions · fixed in 0:4.12.1706515741-1.el8
- jenkins-2-pluginsRed Hat:ocp_tools:4.11::el8all versions · fixed in 0:4.11.1706516946-1.el8
Vendor advisories
jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
jenkins as a component of Red Hat OpenShift Container Platform 3.11 · jenkins.src as a component of Red Hat OpenShift Container Platform 3.11
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Fix
- Update Jenkins to 2.442 · 2.440.1 · 2.426.3
- CISA’s required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.due 2024-09-09
- Vendor fix Red Hat Product Security RHSA-2024:0775 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:0775 · 4 productsDisabling access to the CLI is expected to prevent exploitation completely. Doing so is strongly recommended to administrators unable to immediately update to Jenkins 2.442, LTS 2.426.3 or LTS 2.440.1. Applying this workaround does not require a Jenkins restart.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-23897 · 2 productsOut of support scope
Advisories and patches
- www.jenkins.ioVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01jenkinsci-cert/SECURITY-3314-3315binganao/CVE-2024-23897h4x0r-dz/CVE-2024-23897xaitax/CVE-2024-23897vmtyan/poc-cve-2024-23897
- Metasploit modules
- 1 moduleauxiliary/gather/jenkins_cli_ampersand_arbitrary_file_readrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2024-08-19
- Patch Due Date
- 2024-09-09
- Ransomware Use
- Known
- Required Action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Sources
- CISA KEVKEV entry2024-08-19
- ENISA EUVDexploitation2024-08-192024-08-19
- GCVEexploitation2024-01-30
- CISA-ADPSSVC decisionactive2024-08-19
- CISA-ADPCVSS 3.19.82024-08-19
- NVDCVSS 3.19.8read 2026-10-23
- CISA-ADPweakness (CWE)CWE-272024-08-19
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-11-20
- PoC-in-GitHubproof of concept20known since 2026-11-01
- Exploit-DBdetectionread 2026-11-20
- ProjectDiscoverydetectionread 2026-11-20
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2024-01-26
Identifiers
- BIT-jenkins-2024-23897same flawBitnami · Apache-2.0
- EUVD-2024-0270same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6f9g-cxwr-q5jrsame flawGitHub Advisory Database · CC-BY-4.0
- auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_readexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-51993exploit referenceExploit-DB · BSD-3-Clause
- RHSA-2024:0775advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0776advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0778advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-01-24
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-6f9g-cxwr-q5jr
Frequently asked questions
What is CVE-2024-23897?
Is CVE-2024-23897 actively exploited?
What is the CVSS score for CVE-2024-23897?
Running Jenkins? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6f9g-cxwr-q5jr
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0