Vulnerabilities

CVE-2024-23897

Jenkins Command Line Interface (CLI) Path Traversal Vulnerability

Actively exploited (CISA KEV) Used in ransomware campaigns Critical 9.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-01-24
Last modified
2026-06-17
Assigned by
jenkinsci-cert@googlegroups.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
100.0 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2024-08-19, with a remediation deadline of 2024-09-09 for US federal agencies.

Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Affected products

Vendor Product Versions Status
Jenkins Jenkins < 2.426.3 Affected
Jenkins Jenkins < 2.442 Affected
org.jenkins-ci.main jenkins-core (Maven) ≥ 1.606, < 2.426.3 Affected
org.jenkins-ci.main jenkins-core (Maven) ≥ 2.427, < 2.440.1 Affected
org.jenkins-ci.main jenkins-core (Maven) ≥ 2.441, < 2.442 Affected

Weakness type

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…

  • CWE-27: Path Traversal: 'dir/../../filename'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal "../" sequences that can resolve to a location that is outside …

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities