CVE-2020-2134: Sandbox bypass vulnerability in Script Security Plugin

Summary

24/05/2022
Yes i
High
8.8

CVE-2020-2134: Sandbox bypass vulnerability in Script Security Plugin. Affects org.jenkins-ci.plugins:script-security versions < 1.7.1. Fixed in 1.7.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Script Security Plugin is a Jenkins plugin that provides a sandbox environment for executing scripts. It allows users to define and run scripts securely within the Jenkins controller JVM. The plugin is widely used in Jenkins installations to enable users to write and execute custom scripts for various tasks.

Vulnerability Detail

The Script Security Plugin version 1.70 and earlier is vulnerable to a sandbox bypass. This vulnerability can be exploited by attackers who are able to specify and run sandboxed scripts. The bypass can be achieved through crafted constructor calls and bodies, as well as crafted method calls on objects that implement GroovyInterceptable. By exploiting this vulnerability, an attacker can execute arbitrary code in the context of the Jenkins controller JVM, potentially leading to unauthorized access, data breaches, or other malicious activities.

How To Fix

Latest published version: 1436.v1082791135e4 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version of the Script Security Plugin as soon as possible.

Conclusion

The Script Security Plugin version 1.70 and earlier is vulnerable to a sandbox bypass, allowing attackers to execute arbitrary code in the context of the Jenkins controller JVM. To mitigate this risk, it is crucial to upgrade to the fixed version of the plugin (1.71 or later). For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:script-security →

Share this vulnerability

FAQ

This vulnerability allows attackers to execute arbitrary code in the context of the Jenkins controller JVM. This can lead to unauthorized access, data breaches, or other malicious activities.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it in real-time and alert you if any open-source vulnerabilities, including this one, are found.

There are no known public exploits for this vulnerability at the time of this report. However, it is important to patch your Jenkins installation to prevent potential exploitation.

No, there is no known workaround for this vulnerability. It is highly recommended to upgrade to the fixed version of the Script Security Plugin to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:script-security.

How To Fix

Latest published version: 1436.v1082791135e4 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback