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, 71.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- h3raklez/CVE-2025-31722 (last pushed 2026-03-13): CVE-2025-31722 — Jenkins Templating Engine RCE
- Nick6371/CVE-2025-31722 (last pushed 2025-10-29): Used to demo CVE-2025-31722.
Also mentioned in 4 other repositories (nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider, yembors64632/cve_monitor_public, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- Jenkins Security Advisory 2025-04-02 (vendor-advisory, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.