Vulnerability record · CVE-2018-1000861 · published 10 December 2018
CVE-2018-1000861: Jenkins Stapler framework URL routing allows remote code execution
Jenkins · Jenkins
The Stapler web framework in Jenkins 2.153 and earlier and LTS 2.138.3 and earlier lets attackers invoke unintended Java methods by requesting crafted URLs. Because the exposed methods can lead to code execution, an unauthenticated network attacker can take over the Jenkins controller.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8, KEV listing, and near-certain EPSS probability make this an actively exploited remote code execution flaw in an internet-facing service.
What it is
The Stapler web framework in Jenkins 2.153 and earlier and LTS 2.138.3 and earlier lets attackers invoke unintended Java methods by requesting crafted URLs. Because the exposed methods can lead to code execution, an unauthenticated network attacker can take over the Jenkins controller.
Impact
An attacker gains remote code execution on the Jenkins controller, which typically yields access to credentials, build jobs, and any systems the controller can reach.
Attack surface
Reachable over the network via HTTP requests to the Jenkins web interface; the CVSS vector shows no privileges or user interaction required, and the description confirms crafted URLs are the trigger.
Exploitation
CVE-2018-1000861 is listed in CISA KEV with a 2022-02-10 addition date, and EPSS reports a 30-day probability of 0.98326 (99.9th percentile), indicating active exploitation and very high likelihood.
What to do
- Upgrade Jenkins to a version later than 2.153 or LTS 2.138.3 per the vendor advisory SECURITY-595.
- If immediate upgrade is not possible, restrict network access to the Jenkins web interface to trusted management networks only.
- Apply the referenced Red Hat errata for OpenShift Container Platform where Jenkins is bundled.
- Review Jenkins controller credentials and secrets for exposure and rotate them after patching.
- Disable or remove unused Jenkins plugins and endpoints that expand the Stapler routing surface.
Detection
- Monitor Jenkins HTTP access logs for unusual or crafted URL paths that map to unexpected Java method invocations.
- Alert on outbound connections or process execution from the Jenkins controller host that do not match normal build activity.
- Hunt for known exploitation artifacts referenced in public advisories and packetstorm write-ups against Jenkins controllers.
- Correlate Jenkins controller authentication and job configuration changes with anomalous request patterns.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2018-1000861 to the Known Exploited Vulnerabilities catalog on 10 February 2022 as "Jenkins Stapler Web Framework Deserialization of Untrusted Data Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 10 August 2022.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.html | Third Party AdvisoryVDB Entry |
| http://www.securityfocus.com/bid/106176 | Broken Link |
| https://access.redhat.com/errata/RHBA-2019:0024 | Third Party Advisory |
| https://jenkins.io/security/advisory/2018-12-05/#SECURITY-595 | Vendor Advisory |
| http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.html | Third Party AdvisoryVDB Entry |
| http://www.securityfocus.com/bid/106176 | Broken Link |
| https://access.redhat.com/errata/RHBA-2019:0024 | Third Party Advisory |
| https://jenkins.io/security/advisory/2018-12-05/#SECURITY-595 | Vendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-1000861 | US Government Resource |
Track CVE-2018-1000861 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-1000861), CISA KEV, FIRST EPSS (scores of 2026-09-16). This page is refreshed as NVD updates the record.