Exploited
CWE
22 27
EPSS
38.411%
Advisory Published
Advisory Published
Updated

CVE-2024-23897: Jenkins Command Line Interface (CLI) Path Traversal Vulnerability

First published: Wed Jan 24 2024(Updated: )

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.

Credit: Matisse Beckandt jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
redhat/Jenkins<2.442
2.442
redhat/Jenkins LTS<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
maven/org.jenkins-ci.main:jenkins-core>=1.606<=2.426.2
2.426.3
Jenkins CI/CD automation server=2.442
Jenkins CI/CD automation server=LTS 2.426.3
Jenkins Command Line Interface
Jenkins LTS<2.426.3
Jenkins LTS<2.442

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2024-23897?

    CVE-2024-23897 is considered a critical vulnerability due to its potential to allow unauthenticated attackers to read arbitrary files on the Jenkins controller.

  • How do I fix CVE-2024-23897?

    To fix CVE-2024-23897, upgrade Jenkins to version 2.442 or LTS version 2.426.3 immediately.

  • Which versions of Jenkins are affected by CVE-2024-23897?

    CVE-2024-23897 affects Jenkins versions 2.441 and earlier, as well as LTS version 2.426.2 and earlier.

  • What type of attack does CVE-2024-23897 enable?

    CVE-2024-23897 enables unauthenticated attackers to exploit the CLI command parser to read sensitive files on the Jenkins controller.

  • Is there a workaround for CVE-2024-23897?

    There is no official workaround for CVE-2024-23897; immediate upgrading is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203