What is Jenkins?
Jenkins is the most widely deployed open-source automation server, used by organizations of every size to run continuous integration and continuous delivery (CI/CD) pipelines. Because Jenkins instances typically hold source-code access, build credentials, deployment keys, and cloud service tokens needed to ship software, a Jenkins compromise frequently gives an attacker a direct path into an organization's software supply chain, not just the Jenkins host itself.
Overview
CVE-2018-1000861 is a critical, unauthenticated remote code execution vulnerability in Stapler, the web application framework Jenkins uses to map URLs to Java objects and methods. An attacker can send a specially crafted HTTP request that reaches unintended, non-whitelisted Java methods through Stapler's URL-routing and dispatch logic, and by chaining this access with other classes available on the Jenkins classpath, achieve full remote code execution without any authentication.
Technical Details
The root cause is classified under CWE-502 (deserialization/handling of untrusted data): Stapler's dynamic dispatch mechanism resolves URL path segments to Java method calls in a way that did not sufficiently restrict which internal methods and classes were reachable from an external HTTP request. Attackers could craft a URL that Stapler would resolve to a method chain ending in the invocation of an unsafe method — a class of "method dispatch" or "signature-based access control" bypass that, combined with gadget classes present in Jenkins' own dependencies, provided a full pre-authentication RCE primitive. No credentials, session, or user interaction are required — a single crafted HTTP request suffices.
Discovery
The vulnerability was identified and reported by security researchers on Semmle's security research team, and fixed by the Jenkins project in its December 2018 security advisory, alongside several related Jenkins core and Stapler-framework fixes.
Exploitation Context
CVE-2018-1000861 has been exploited very widely since disclosure. It became a favorite of cryptomining botnet operators scanning the internet for exposed Jenkins instances, given Jenkins servers' typically high compute allocation for build workloads. It has also been cited in CISA/FBI advisories on state-sponsored threat activity — including joint advisories on North Korean-linked actors exploiting known vulnerabilities in internet-facing applications — as one of several older, unpatched CVEs used to gain initial access to target networks. Its addition to the KEV catalog in 2022 reflects this sustained pattern of real-world abuse against unpatched Jenkins deployments years after the original fix shipped.
Remediation
- Upgrade Jenkins to version 2.153 or later (or LTS 2.150.2 or later), which include the Stapler framework fix.
- Never expose the Jenkins web interface directly to the internet without authentication and network-level access controls in front of it.
- Apply the principle of least privilege to Jenkins credentials and cloud/deployment tokens stored in the instance, limiting blast radius if the platform is compromised despite patching.
- Monitor Jenkins server resource usage and process activity for signs of cryptomining or unauthorized job execution.
- Review Jenkins job configurations, credentials store, and plugin inventory for unauthorized changes if the instance was ever exposed prior to patching.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-1000861 |
| Vendor / Product | Jenkins — Jenkins Stapler Web Framework |
| NVD Published | 2018-12-10 |
| NVD Last Modified | 2025-11-05 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-502 find similar ↗ |
| CISA KEV Added | 2022-02-10 |
| CISA KEV Deadline | 2022-08-10 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2018-12-05 | Jenkins security advisory published and fixed versions released (Jenkins 2.153, LTS 2.150.2) |
| 2022-02-10 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-08-10 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2018-1000861 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |