What is wrong
A code execution vulnerability exists in the Stapler web framework used by Jenkins. Attackers can exploit this by accessing crafted URLs to invoke Java object methods that were not intended to be invoked.
Who is affected
This affects Jenkins versions 2.153 and earlier, as well as LTS versions 2.138.3 and earlier.
What to do
Apply updates per vendor instructions.
Original description
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.
Known exploited (CISA KEV)
- Added to KEV
- 2022-02-10
- Remediation due (US federal)
- 2022-08-10
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
Affected software
- Jenkins ≤ 2.153≤ 2.138.3 exact match
Details
- Published
- 2018-12-10
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-502
- EPSS (30-day exploit probability)
- 98.33% (percentile 100)
References
- cve.org/CVE-2018-1000861
- nvd.nist.gov/vuln/detail/CVE-2018-1000861
- packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.html
- www.securityfocus.com/bid/106176
- access.redhat.com/errata/RHBA-2019:0024
- jenkins.io/security/advisory/2018-12-05/#SECURITY-595
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-1000861
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.