RCE in Jenkins Templating Engine
CVE-2025-31722
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.013 (68.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.jenkins.io/security/advisory/2025-04-02/ (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-31722?
- CVE-2025-31722 is a high-severity vulnerability in Jenkins Templating Engine, classified under Code Injection. CVSS score: 8.8/10. Published 2025-04-02.
- How severe is CVE-2025-31722?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2025-31722 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.