CVE-2018-1999002: Improper Input Validation in Jenkins

Summary

13/05/2022
Yes i
High
7.5

CVE-2018-1999002: Improper Input Validation in Jenkins. Affects org.jenkins-ci.main:jenkins-core across 2 version ranges.

< 2.121.2 >= 2.122, < 2.132

Fixed in 2.121.2 or 2.132, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Jenkins is an open-source automation server that enables developers to build, test, and deploy their software projects. It provides a wide range of plugins and integrations to support continuous integration and delivery processes. The vulnerable package in focus is 'org.jenkins-ci.main:jenkins-core'.

Vulnerability Detail

The vulnerability, identified as CVE-2018-1999002, exists in Jenkins versions 2.132 and earlier, as well as 2.121.1 and earlier. It stems from an improper input validation issue in the Stapler web framework's 'org/kohsuke/stapler/Stapler.java' file. Attackers can exploit this vulnerability by sending crafted HTTP requests, which can result in the disclosure of sensitive information. Specifically, an attacker can retrieve the contents of any file on the Jenkins master file system that the Jenkins master has access to. This can lead to unauthorized access, data leakage, and potential compromise of the Jenkins server.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.121.2 2.121.2
  • >= 2.122, < 2.132 2.132

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can restrict access to the Jenkins master file system by implementing appropriate network and access controls. Additionally, it is crucial to regularly monitor and review access logs for any suspicious activity.

Conclusion

In conclusion, the vulnerability CVE-2018-1999002 in Jenkins exposes a risk of unauthorized file read. It is crucial to promptly update to the recommended versions or apply the temporary workaround to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.main:jenkins-core →

Share this vulnerability

FAQ

Jenkins is an open-source automation server used for building, testing, and deploying software projects.

The vulnerable package is 'org.jenkins-ci.main:jenkins-core'.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

An attacker can exploit this vulnerability by sending crafted HTTP requests, allowing them to read the contents of any file on the Jenkins master file system.

This vulnerability can lead to unauthorized access, data leakage, and potential compromise of the Jenkins server.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.main:jenkins-core.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.121.2 2.121.2
  • >= 2.122, < 2.132 2.132

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback