Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2024-23897
Vulnerability dossier

CVE-2024-23897

Jenkins CLI Unauthenticated Arbitrary File Read

VendorjenkinsPublishedJan 24, 2024SourceNVDWeaknessCWE-22
Act now

Actively exploited in the wild. Patch or mitigate immediately — don't wait for a maintenance window.

⚙ WeaponizedMetasploit module availableopen ↗PoCPublic exploit on Exploit-DB#51993 ↗
Severity
Critical · 9.8
CVSS base score
Exploitation
In the wild
CISA KEV · Metasploit · Exploit-DB
Predicted risk
100% model
EPSS forecast — overtaken by confirmed exploitation
Exposure
Internet-facing
Exploitable remotely, no login, no user action
01

What's the risk?

An unauthenticated attacker, remotely over the network, with no user interaction, can fully compromise the system — steal data, tamper with it and take it offline.

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.

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Initial Access
T1190Exploit Public-Facing Application

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Who's exploiting it?

Corroborated threat activity referencing this CVE — with source and confidence, not inference.

Confirmed exploited in the wild. CISA KEV · catalogued Aug 19, 2024
campaignRansomware campaigns90CISA KEV

Named threat actors and observed ATT&CK techniques appear here as intel feeds are folded in — the ATT&CK chain above stays inferred until then.

03

Are we affected?

2
  • Affectedjenkins · jenkinsall versions
  • Affectedjenkins · jenkinsall versions
  • 04

    What to do

    Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

    1. !

      Mitigate now

      Immediately restrict network access to the Jenkins CLI port (typically TCP 50000) to only trusted IP addresses or internal networks. If the CLI is not actively used, consider temporarily disabling the Jenkins CLI entirely by configuring appropriate firewall rules or disabling the JNLP agent port. Implement robust monitoring for unusual CLI connection attempts or suspicious file access patterns within the Jenkins environment.

    2. ✓

      Permanent fix

      The permanent resolution is to upgrade Jenkins to a patched version. Users should upgrade to Jenkins 2.442 or later, or to LTS version 2.426.3 or later. These updated versions disable the vulnerable '@' file path expansion feature in the CLI command parser, thereby preventing unauthenticated arbitrary file reads. Ensure all production and development Jenkins instances are updated promptly.

    Technical details— weakness, CVSS vector & calculator, related CVEs

    Business impact

    An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the Jenkins controller's file system, including sensitive configuration files (e.g., credentials, private keys), build artifacts, or source code. This critical information disclosure can lead to unauthorized access to other systems, assist in further system compromise, or result in a significant data breach and loss of administrative control.

    Weakness

    2
    CWE-22Common Weakness Enumeration · MITRE definitionCWE-27Common Weakness Enumeration · MITRE definition

    CVSS 3.1 details

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    0.0
    / 10.0 base
    Critical severity
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Exploitability metrics
    Attack VectorAV
    Remotely exploitable across a network
    Attack ComplexityAC
    No special conditions required
    Privileges RequiredPR
    No authorization needed
    User InteractionUI
    No user participation needed
    Impact metrics
    ScopeS
    Impact confined to the vulnerable component
    ConfidentialityC
    Total loss of confidentiality
    IntegrityI
    Total loss of integrity
    AvailabilityA
    Total loss of availability

    Related vulnerabilities

    Other CVEs affecting jenkins

    NVD
    9.8Critical
    CVE-2018-1000861KEV⚙ WeaponizedExploit likely

    A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153 and earlier, LTS 2.138.3 and earlier in stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java that allows attackers to invoke some methods on Java objects by accessing crafted URLs that were not intended to be invoked this way.

    jenkinsCWE-502Deserialization of Untrusted DataNetworkLow effortNo authNo interactionCIA
    2018-12-10
    NVD
    9.8Critical
    CVE-2017-1000353KEV⚙ WeaponizedExploit likely

    Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to an unauthenticated remote code execution. An unauthenticated remote code execution vulnerability allowed attackers to transfer a serialized Java `SignedObject` object to the Jenkins CLI, that would be deserialized using a new `ObjectInputStream`, bypassing the existing blacklist-based protection mechanism. We're fixing this issue by adding `SignedObject` to the blacklist. We're also backporting the new HTTP CLI protocol from Jenkins 2.54 to LTS 2.46.2, and deprecating the remoting-based (i.e. Java serialization) CLI protocol, disabling it by default.

    jenkinsCWE-502Deserialization of Untrusted DataNetworkLow effortNo authNo interactionCIA
    2018-01-29
    NVD
    7.5High
    CVE-2015-5317KEV

    The Fingerprints pages in Jenkins before 1.638 and LTS before 1.625.2 might allow remote attackers to obtain sensitive job and build name information via a direct request.

    jenkinsCWE-200Information ExposureNetworkLow effortNo authNo interactionCIA
    2015-11-25
    NVD
    8.8High
    CVE-2026-84650

    In Jenkins 2.579 and earlier, LTS 2.568.2 and earlier, transient fields cannot be excluded from deserialization, allowing attackers able to submit configuration updates to specify the values of transient fields that will be deserialized, the impact depending on how those fields are used.

    jenkinsCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2026-09-02
    NVD
    8.8High
    CVE-2026-84648

    In Jenkins 2.579 and earlier, LTS 2.568.2 and earlier, the system log viewer does not escape log record metadata (source, level, and timestamp) resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers in control of agent processes.

    jenkinsCWE-79Cross-site Scripting (XSS)NetworkLow effortNo authUser neededCIA
    2026-09-02
    NVD
    8.8High
    CVE-2026-84645

    In Jenkins 2.579 and earlier, LTS 2.568.2 and earlier, objects of types marked as storing their configuration in independent top-level configuration files in Jenkins (such as the global configuration and jobs) can appear as nested field values in user-submitted `config.xml` documents and subsequently handle HTTP requests via Stapler, resulting in remote code execution.

    jenkinsCWE-94Code InjectionNetworkLow effortLow privNo interactionCIA
    2026-09-02
    NVD
    8.8High
    CVE-2026-53435

    In Jenkins 2.567 and earlier, LTS 2.555.2 and earlier, it is possible for attackers to have Jenkins deserialize arbitrary types defined in Jenkins core or plugins from an attacker-controlled `config.xml` submission in a way that allows them to handle HTTP requests afterwards. This can be used to impersonate any user and send HTTP requests on their behalf, up to and including use of the Script Console to run arbitrary code, or to read arbitrary files from the Jenkins controller.

    jenkinsCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2026-06-10
    NVD
    8.8High
    CVE-2026-33001

    Jenkins 2.554 and earlier, LTS 2.541.2 and earlier does not safely handle symbolic links during the extraction of .tar and .tar.gz archives, allowing crafted archives to write files to arbitrary locations on the filesystem, restricted only by file system access permissions of the user running Jenkins. This can be exploited to deploy malicious scripts or plugins on the controller by attackers with Item/Configure permission, or able to control agent processes.

    jenkinsCWE-59Link FollowingNetworkLow effortLow privNo interactionCIA
    2026-03-18
    0.0
    / 10.0 base
    Critical severity
    Key facts
    CVE ID
    CVE-2024-23897
    Published
    Jan 24, 2024
    Last modified
    Oct 24, 2025
    CVSS
    9.8 (v3.1)
    EPSS
    100.00%
    In CISA KEV
    Yes
    Confidence
    100/100
    Weakness
    CWE-22
    Timeline
    1. Jan 24, 2024Published to NVDNVD
    2. Oct 24, 2025Record last modifiedNVD
    3. Aug 22, 2026AI analysis generatedWavense
    View on NVD