CVE-2025-31722
April 02, 2025
In Jenkins Templating Engine Plugin 2.5.3 and earlier, libraries defined in folders are not subject to sandbox protection, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.
Affected Packages
https://github.com/jenkinsci/templating-engine-plugin.git (GITHUB):
Affected version(s) >=1.0.0 <2.5.4Fix Suggestion:
Update to version 2.5.4org.jenkins-ci.plugins:templating-engine (JAVA):
Affected version(s) >=1.0 <2.5.4Fix Suggestion:
Update to version 2.5.4org.jenkins-ci.plugins:templating-engine (NEXUS):
Affected version(s) >=1.0 <2.5.4Fix Suggestion:
Update to version 2.5.4Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
1.14