cve.bz

CVE-2018-1000866 Improper Privilege Management

8.8 highEPSS 1.6%Fix available

High (8.8). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins.workflow:workflow-cps 2.60.

On this page
A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.59 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java, groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java that allows attackers with Job/Configure permission, or unauthorized attackers with SCM commit privileges and corresponding pipelines based on Jenkinsfiles set up in Jenkins, to execute arbitrary code on the Jenkins master JVM

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-269 Improper Privilege Management
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000866 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000866?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000866?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000866 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jenkins:pipeline\through 2.59
redhat:openshift_container_platform3.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gqhm-4h93-rrhgMavenorg.jenkins-ci.plugins.workflow:workflow-cps<2.602.60
GHSA-gqhm-4h93-rrhgMavenorg.jenkins-ci.plugins:script-security<1.481.48

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7atomic-enterprise-service-catalog, atomic-enterprise-service-catalog-svcat1:3.11.82-1.git.1673.133961e.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 10 more0:3.11.82-1.git.0.08bc31b.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-cluster-autoscaler0:3.11.82-1.git.0.efb6af0.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-descheduler0:3.11.82-1.git.300.89765c9.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-dockerregistry0:3.11.82-1.git.452.0ce6383.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-metrics-server0:3.11.82-1.git.52.2fdca3f.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-node-problem-detector0:3.11.82-1.git.254.a448936.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-service-idler0:3.11.82-1.git.14.e353758.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7atomic-openshift-web-console0:3.11.82-1.git.355.5e8b1d9.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7golang-github-openshift-oauth-proxy0:3.11.82-1.git.425.7cac034.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7haproxy, haproxy18, haproxy-debuginfo0:1.8.17-3.el7RHBA-2019:0326
Red Hatopenshift:3.11::el7jenkins0:2.150.2.1549032159-1.el7RHBA-2019:0326
7 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Do not run untrusted jenkins pipeline scripts.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11atomic-enterprise-service-catalog-1:3.11.82-1.git.1673.133961e.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.82-1.git.0.08bc31b.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-cluster-autoscaler-0:3.11.82-1.git.0.efb6af0.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-descheduler-0:3.11.82-1.git.300.89765c9.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-dockerregistry-0:3.11.82-1.git.452.0ce6383.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-metrics-server-0:3.11.82-1.git.52.2fdca3f.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-node-problem-detector-0:3.11.82-1.git.254.a448936.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-service-idler-0:3.11.82-1.git.14.e353758.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11atomic-openshift-web-console-0:3.11.82-1.git.355.5e8b1d9.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.11golang-github-openshift-oauth-proxy-0:3.11.82-1.git.425.7cac034.el7Fixed 2019-02-20RHBA-2019:0326
Red Hat OpenShift Container Platform 3.10jenkins-plugin-script-securityAffected
Red Hat OpenShift Container Platform 3.10jenkins-plugin-workflow-cpsAffected
Red Hat OpenShift Container Platform 3.11jenkins-plugin-script-securityAffected
Red Hat OpenShift Container Platform 3.2jenkins-plugin-script-securityAffected
Red Hat OpenShift Container Platform 3.2jenkins-plugin-workflow-cpsAffected
Red Hat OpenShift Container Platform 3.3jenkins-plugin-script-securityAffected
Red Hat OpenShift Container Platform 3.3jenkins-plugin-workflow-cpsAffected
Red Hat OpenShift Container Platform 3.4jenkins-plugin-script-securityAffected
Red Hat OpenShift Container Platform 3.4jenkins-plugin-workflow-cpsAffected
Red Hat OpenShift Container Platform 3.5jenkins-plugin-script-securityAffected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000866.

Attack patterns (CAPEC)

  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON