{"id":"CVE-2024-23897","published":"2024-01-24T18:15:09Z","modified":"2026-06-17T07:13:49Z","title":"Jenkins Command Line Interface (CLI) Path Traversal Vulnerability","vendor":"Jenkins","product":"Jenkins Command Line Interface (CLI)","tier":"core","eol":null,"description":{"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.","provenance":"source","from":"NVD"},"summary":{"text":"The Jenkins Command Line Interface (CLI) contains a path traversal flaw: its command parser does not disable a feature that replaces an '@' character followed by a file path in an argument with that file's contents, and this affects Jenkins 2.441 and earlier and LTS 2.426.2 and earlier. An unauthenticated attacker with network access to the Jenkins CLI can read arbitrary files from the Jenkins controller's file system by supplying a crafted '@' path argument, requiring no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:33Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99999,"percentile":0.99995,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2024-08-19","dueDate":"2024-09-09","ransomware":true,"requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","notes":"https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314; https://nvd.nist.gov/vuln/detail/CVE-2024-23897","provenance":"source"},"vulncheckKev":{"dateAdded":"2024-01-30","exploitedFirstSeen":"2024-01-30","ransomware":true,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-30&host_type=src&vulnerability=cve-2024-23897","date":"2024-01-30"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-31&host_type=src&vulnerability=cve-2024-23897","date":"2024-01-31"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-01&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-01"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-02&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-02"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-03&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-04&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-06&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-07&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-07"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-08&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-09&host_type=src&vulnerability=cve-2024-23897","date":"2024-02-09"}],"evidenceTotal":447,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-27","name":"Path Traversal: 'dir/../../filename'"}],"references":[{"url":"http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/6","tags":["Mailing List"]},{"url":"https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314","tags":["Vendor Advisory"]},{"url":"https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/","tags":["Exploit","Press/Media Coverage"]},{"url":"http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/6","tags":["Mailing List"]},{"url":"https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314","tags":["Vendor Advisory"]},{"url":"https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/","tags":["Exploit","Press/Media Coverage"]},{"url":"https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: unauthenticated remote exploitation of public-facing CLI","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allowing unauthenticated attackers to read arbitrary files","start":200,"end":258}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1005","name":"Data from Local System","tactics":["collection"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: arbitrary file read on controller","mappingType":"primary_impact","evidence":[{"from":"description","quote":"allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system","start":200,"end":296}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":[">=1.606, <2.426.3",">=2.427, <2.440.1",">=2.441, <2.442"],"patched":["2.426.3","2.440.1","2.442"],"from":["GHSA-6f9g-cxwr-q5jr"],"provenance":"source"}],"advisories":[{"id":"GHSA-6f9g-cxwr-q5jr","url":"https://github.com/advisories/GHSA-6f9g-cxwr-q5jr","severity":"CRITICAL","ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":[">=1.606, <2.426.3"],"patched":["2.426.3"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6f9g-cxwr-q5jr","url":"https://github.com/advisories/GHSA-6f9g-cxwr-q5jr","severity":"CRITICAL","ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":[">=2.427, <2.440.1"],"patched":["2.440.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6f9g-cxwr-q5jr","url":"https://github.com/advisories/GHSA-6f9g-cxwr-q5jr","severity":"CRITICAL","ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":[">=2.441, <2.442"],"patched":["2.442"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-0270","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0270","exploited":true,"exploitedSince":"2024-08-19","provenance":"source"},"exploits":[{"id":51993,"url":"https://www.exploit-db.com/exploits/51993","title":"Jenkins 2.441 - Local File Inclusion","type":"webapps","platform":"java","date":"2024-04-15","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2024-04-15"},"pocGithub":{"count":41,"skipped":9,"earliest":"2024-01-23","earliestUrl":"https://github.com/jenkinsci-cert/SECURITY-3314-3315","repos":[{"name":"h4x0r-dz/CVE-2024-23897","url":"https://github.com/h4x0r-dz/CVE-2024-23897","stars":209,"created":"2024-01-26"},{"name":"binganao/CVE-2024-23897","url":"https://github.com/binganao/CVE-2024-23897","stars":101,"created":"2024-01-26"},{"name":"wjlin0/CVE-2024-23897","url":"https://github.com/wjlin0/CVE-2024-23897","stars":87,"created":"2024-01-27"},{"name":"xaitax/CVE-2024-23897","url":"https://github.com/xaitax/CVE-2024-23897","stars":82,"created":"2024-01-26"},{"name":"godylockz/CVE-2024-23897","url":"https://github.com/godylockz/CVE-2024-23897","stars":46,"created":"2024-02-16"}]},"metasploit":[{"name":"Jenkins cli Ampersand Replacement Arbitrary File Read","module":"auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read","type":"auxiliary","disclosureDate":"2024-01-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read.rb"}],"nuclei":[{"id":"CVE-2024-23897","name":"Jenkins < 2.441 - Arbitrary File Read","severity":"high","path":"javascript/cves/2024/CVE-2024-23897.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2024/CVE-2024-23897.yaml"}],"first":{"date":"2024-01-23","source":"PoC-in-GitHub","url":"https://github.com/jenkinsci-cert/SECURITY-3314-3315"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html","https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/","https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1","http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1005"],"provenance":"ai"}],"timeline":[{"date":"2024-01-23","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Metasploit 2024-01-24, Exploit-DB 2024-04-15","url":"https://github.com/jenkinsci-cert/SECURITY-3314-3315","provenance":"source"},{"date":"2024-01-24","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23897","provenance":"source"},{"date":"2024-01-30","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-30&host_type=src&vulnerability=cve-2024-23897","provenance":"source"},{"date":"2024-08-19","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-08-19","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0270","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":208},"priority":{"score":79.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1005 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 1.0000"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 1 Exploit-DB entry; 1 NVD exploit link; 41 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2023-43496","published":"2023-09-20","fixed":"2.424","kev":false},{"cve":"CVE-2023-43497","published":"2023-09-20","fixed":"2.424","kev":false},{"cve":"CVE-2023-43498","published":"2023-09-20","fixed":"2.424","kev":false},{"cve":"CVE-2024-23897","published":"2024-01-24","fixed":"2.442","kev":true},{"cve":"CVE-2024-23898","published":"2024-01-24","fixed":"2.442","kev":false,"link":{"from":"CVE-2024-23897","to":"CVE-2024-23898","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.440.1","toFixed":"2.442","daysApart":0}]}},{"cve":"CVE-2024-43044","published":"2024-08-07","fixed":"2.471","kev":false,"link":{"from":"CVE-2024-23897","to":"CVE-2024-43044","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.442","toFixed":"2.452.4","daysApart":196}]}},{"cve":"CVE-2024-43045","published":"2024-08-07","fixed":"2.471","kev":false,"link":{"from":"CVE-2024-23897","to":"CVE-2024-43045","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.442","toFixed":"2.452.4","daysApart":196}]}}],"package":"Maven:org.jenkins-ci.main:jenkins-core"}}