Security Resilience

CVE-2024-23897

Path Traversal in Jenkins ≤ 2.426.3

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRansomware-linkedPath Traversal
Published
24 January 2024
Modified
17 June 2026
KEV Added
19 August 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 100.0th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-23897 is a critical-severity Path Traversal (CWE-22) vulnerability in Jenkins. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Jenkins 2.441 and earlier, along with LTS 2.426.2 and earlier, contains a vulnerability in its CLI command parser. The parser fails to disable a feature that substitutes an argument beginning with '@' followed by a file path with the contents of that file on the Jenkins controller file system. This path traversal issue is tracked as CWE-22 and CWE-27 and carries a CVSS 3.1 score of 9.8.

Unauthenticated attackers can supply crafted CLI arguments over the network to read arbitrary files on the controller. Successful exploitation grants access to sensitive configuration data, credentials, and other file contents, enabling further compromise of confidentiality, integrity, and availability without any user interaction or authentication.

The Jenkins security advisory for SECURITY-3314 and related references describe the affected component and direct administrators to upgrade to patched releases. Public exploit code and scanning tools have been published, and the CVE maintains a high EPSS score with a peak of 0.9735, indicating sustained exploitation interest after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

arbitrary files on the Jenkins controller file system.

CWE(s)
KEV Date Added
19 August 2024

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-33001Same product: Jenkins Jenkins
CVE-2023-32985Same vendor: Jenkins
CVE-2023-37960Same vendor: Jenkins
CVE-2024-23899Same vendor: Jenkins
CVE-2023-2196Same vendor: Jenkins
CVE-2024-54004Same vendor: Jenkins
CVE-2023-24455Same vendor: Jenkins
CVE-2024-23904Same vendor: Jenkins
CVE-2023-24449Same vendor: Jenkins
CVE-2024-28151Same vendor: Jenkins

Affected Assets

jenkins
jenkins
≤ 2.426.3 · ≤ 2.442

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes special path elements before pathname construction occurs.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and path sanitization that prevent directory traversal flaws.

ID.RA-01 partial match
blocks

Vulnerability identification processes will discover path traversal weaknesses during code or configuration review.

PR.AA-05 partial match
blocks

Least-privilege file permissions and access enforcement can limit the damage from a successful traversal.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches path traversal via static/dynamic analysis.

prevents

Training developers about input validation and path handling reduces path-traversal introductions, but the defect is a specific technical implementation error (multiple '../' neutralization) that training alone catches only a minority of, with secure coding standards, code review and security testing carrying the stronger preventive effect.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

prevents

A.8.30 contracts secure design, coding and testing practices (8.25–8.29) into the supplier relationship, so a faithfully implemented clause reduces ordinary implementation-phase software weaknesses like path traversal in delivered code, but the effect is mediated through fallible supplier practice and the dependent controls themselves act only partially.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Path traversal commonly surfaces as CVEs in third-party components (many examples in the CWE-22 record), so A.8.8 finds that disclosed share; first-party path-traversal defects in the organization's own code are invisible to vulnerability scanning and management, which is the same remainder that caps A.8.8 -> CWE-89 at `partial`.

References