{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-23897","id":"CVE-2024-23897","title":"Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE","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.","descriptionLong":"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":"2024-01-24T17:52:22.842Z","updated":"2026-10-24T10:30:20.052479909Z","reserved":"2024-01-23T12:46:51.263Z","status":"Analyzed","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Jenkins Project Jenkins"],"affectedProducts":[{"vendor":"Jenkins Project","product":"Jenkins","defaultStatus":"affected","versions":[{"lessThan":"1.606","status":"unaffected","version":"0","versionType":"maven"},{"lessThan":"*","status":"unaffected","version":"2.442","versionType":"maven"},{"lessThan":"2.426.*","status":"unaffected","version":"2.426.3","versionType":"maven"},{"lessThan":"2.440.*","status":"unaffected","version":"2.440.1","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","ranges":[">=1.606 <2.426.3",">=2.427 <2.440.1",">=2.441 <2.442"],"fixed":["2.426.3","2.440.1","2.442"],"advisory":"GHSA-6f9g-cxwr-q5jr"}],"cwes":["CWE-27","CWE-22"],"aliases":["BIT-jenkins-2024-23897","GHSA-6f9g-cxwr-q5jr"],"references":[{"url":"https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/","tags":["x_transferred","Exploit","Press/Media Coverage","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/6","tags":["x_transferred","Mailing List","article","web"]},{"url":"http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html","tags":["x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1","tags":["Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23897","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins/commit/554f03782057c499c49bbb06575f0d28b5200edb","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]},{"url":"https://www.jenkins.io/changelog-stable/#v2.440.1","tags":["web"]},{"url":"https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2024-08-19","kevDue":"2024-09-09","kevEntry":{"cveID":"CVE-2024-23897","vendorProject":"Jenkins","product":"Jenkins Command Line Interface (CLI)","vulnerabilityName":"Jenkins Command Line Interface (CLI) Path Traversal Vulnerability","dateAdded":"2024-08-19","shortDescription":"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.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2024-09-09","knownRansomwareCampaignUse":"Known","notes":"https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314; https://nvd.nist.gov/vuln/detail/CVE-2024-23897","cwes":["CWE-27"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99999,"epssPercentile":0.99995,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-23897","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23897","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-23897","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6f9g-cxwr-q5jr","ok":true,"note":"GHSA-6f9g-cxwr-q5jr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2024-08-19"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-23897","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":["Exploited in the wild (CISA KEV)","CVSS 9.8 in a widely used technology","EPSS 100% with CVSS 9.8"],"attention":null}