Patchfirst
CVE-2018-1000861 KEVPublic exploit Critical · 9.8 EPSS 98.3%

Jenkins Stapler Web Framework Deserialization of Untrusted Data Vulnerability

Jenkins · Jenkins Stapler Web Framework

Summary

The flaw is a code execution vulnerability in the Stapler web framework used by Jenkins, located in the MetaClass component (stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java). An attacker who can reach the Jenkins web interface over the network and send crafted URLs, with no authentication or user interaction required, can invoke methods on Java objects that were not intended to be callable this way.

Official description · NVD

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.

Breakdown
79.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

  2. What can follow

First seen exploited 18 months after disclosure. Public exploit code (Metasploit) appeared 29 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codeMetasploit+29 days
  3. First seen exploitedVulnCheck KEV evidence+18 mo
  4. Added to CISA KEVEU database agrees+3 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 11

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
MITRE CTID mapping of the CVE · uncategorised

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Yields arbitrary code execution

A code execution vulnerability exists in the Stapler web framework
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2018-1000861 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.jenkins-ci.main:jenkins-core.

Mavenorg.jenkins-ci.main:jenkins-coreGHSA-hhpm-5cp2-hg4x

Upgrade to 2.555.3 or later

Fixes this CVE and 6 other known vulnerabilities in this package (CVE-2019-10405, CVE-2020-2230, +4).

Set the version to 2.555.3 or later in your pom.xml or build.gradle.

First fixed in 2.154 for CVE-2018-1000861.

Affected versions, by release line

If you runUpgrade to
2.140 up to 2.1542.555.3first fix for this CVE: 2.154
All versions before 2.138.4

Still affected on this line by CVE-2019-10405 (fixed in 2.176.4, a newer line); CVE-2020-2230 (fixed in 2.235.4, a newer line); CVE-2024-23897 (fixed in 2.426.3, a newer line); CVE-2025-59474 (fixed in 2.516.3, a newer line); CVE-2026-53435 (fixed in 2.555.3, a newer line).

2.138.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag (4 duplicates merged)
↑ ↓ chooseEnter openEsc close