GitHub Advisoryadvisory · Maven

GHSA-cfj9-2vgr-hpxp Jenkins Script Security Plugin has a script security bypass vulnerability

HIGH Published 2026-06-24 Modified 2026-09-25 Official page ↗
Aliases
CVE-2026-57281
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:script-security
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-917, CWE-93
Reviewed
2026-09-25

Affected packages

• Maven org.jenkins-ci.plugins:script-security: < 1402.1405.vc96e74964250 → fixed in 1402.1405.vc96e74964250

Description

Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not reject Groovy AST transformation annotations such as @CompileStatic and @TypeChecked that carry an extensions member, which causes Groovy to load and execute a script from the classpath at compile time, before the sandbox is applied. This may allow attackers able to define and run sandboxed scripts to execute code outside the sandbox, in the rare case that a suitable Groovy script is present on the classpath of the component that evaluates the script. The Jenkins security team has been unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code. While the severity of this issue is declared as High due to the potential impact, successful exploitation is considered very unlikely. Script Security Plugin 1402.1405.vc96e74964250 rejects any annotation carrying an extensions member during sandbox compilation, before Groovy can resolve or execute the referenced script.

Related

Alias · CVE (1)

  • CVE-2026-57281 Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not reject Groovy AST transformation annotations carrying an extensions… vulnerability

Weakness · CWE (2)

  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness
  • CWE-93 Improper Neutralization of CRLF Sequences weakness

References