CVE-2025-31722: jenkins project jenkins templating engine plugin Code Injection
CVSS: 8.8v3.1HighAnalyzed
AliasesGHSA-4vjp-327p-w4qv
Published 02-04-2025Last modified 26-02-2026
Vulnerability summary
CVE-2025-31722 is a high (CVSS 8.8) Code Injection vulnerability in jenkins project jenkins templating engine plugin. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 70.3% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (CVE.org)EPSS score
1.31%
0%100%
Low · +0.03 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 02-04-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 versionHigh 8.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.31%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
+0.03 pp
From 1.28% on 21-09-2026
21-09-202621-10-2026
EPSS score1.31%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Jenkins1 product
- templating_engine< 2.5.4
Jenkins project1 product
Org.jenkins-ci.plugins1 product
- templating-engine< 2.5.4
3 vendors · 3 products