CVE-2024-23897 in Jenkins
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Jenkins | < 2.442 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2024-08-19 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-23897 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-298599-C |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
CWE-27: CWE-27
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-23897 affects Jenkins versions 2.441 and earlier, LTS 2.426.2 and earlier, enabling unauthenticated attackers to read arbitrary files on the Jenkins controller file system via a CLI command parser feature. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a public proof-of-concept and active exploits. Immediate action is required to mitigate the risk of unauthorized access and data exfiltration in ICS/OT environments.
The vulnerability arises from a feature in the Jenkins CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents. Unauthenticated attackers can exploit this to read any file on the Jenkins controller, leading to potential data exfiltration and unauthorized access to sensitive information. The attack can be performed remotely over the network without user interaction, making it highly dangerous in ICS/OT environments where Jenkins is often used for automation and orchestration tasks.
Compensating controls AI-drafted, review before use
Implement strict network segmentation and access controls to limit exposure of Jenkins instances to untrusted networks. Regularly monitor and audit Jenkins logs for suspicious activity, and consider using a web application firewall (WAF) to detect and block malicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-23897?
CVE-2024-23897 affects Jenkins versions 2.441 and earlier, LTS 2.426.2 and earlier, enabling unauthenticated attackers to read arbitrary files on the Jenkins controller file system via a CLI command parser feature. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a public proof-of-concept and active exploits. Immediate action is required to mitigate the risk of unauthorized access and data exfiltration in ICS/OT environments.
What is the CVSS score for CVE-2024-23897?
CVE-2024-23897 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 92.4%.
Is CVE-2024-23897 actively exploited?
Yes. CVE-2024-23897 is in the CISA known-exploited catalog (added 2024-08-19). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2024-23897?
Priority: IMMEDIATE. Advisory: https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314 PSIRT: [email protected]
What systems are affected by CVE-2024-23897?
CVE-2024-23897 affects Jenkins Jenkins.
What NERC-CIP standard applies to CVE-2024-23897?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to the Jenkins controller, which could compromise the security of the electronic security perimeter and the systems within it.
What IEC 62443 requirement maps to CVE-2024-23897?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that allows unauthorized access to system resources, which is a critical security concern in ICS/OT environments where maintaining control system integrity and availability is paramount.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jenkins","product":"Jenkins","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.