Live threats

All CVEs / Jenkins

CVE-2024-23897Jenkins Command Line Interface (CLI)

Unauthenticated Arbitrary File Read in Jenkins CLI

Critical 9.8 KEVRansomware No auth neededHigh EPSS

Priority
98
CVSS 3.1
9.8
EPSS
92.4%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Aug 19, 2024
CISA deadline
Sep 9, 2024
Ransomware use
Confirmed
Published
Jan 24, 2024
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-22, CWE-27
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a CLI command parser feature that replaces '@' followed by a file path with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller filesystem. CISA confirmed this vulnerability as actively exploited.

Show the original NVD 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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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.

Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.426.3, 2.442

Update Jenkins to version 2.426.3 (LTS) or 2.442 (release) or later to disable the path expansion feature in the CLI parser.

Vendor advisory · www.jenkins.io ↗

  1. Apply the vendor's security update for Jenkins Command Line Interface (CLI).
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 9, 2024.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jenkins-ci.main:jenkins-core ≥ 1.606 < 2.426.3 2.426.3 —
Maven org.jenkins-ci.main:jenkins-core ≥ 2.427 < 2.440.1 2.440.1 —
Maven org.jenkins-ci.main:jenkins-core ≥ 2.441 < 2.442 2.442 —

Per OSV / GitHub Advisories (GHSA-6f9g-cxwr-q5jr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jenkinsjenkins< 2.426.3
jenkinsjenkins< 2.442

Official sources

References

Links published by the sources. Open them with care.