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)
EPSS: 0.012 (64.2th percentile) — read the EPSS interpretation.
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.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- jenkinsci-cert@googlegroups.com (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.