Jenkins Project Jenkins Templating Engine Plugin
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.
First public PoC
345 daysafter publication · 13 Mar 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by CISA ADP · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
Jenkins Project Jenkins Templating Engine Plugin
- <= 2.5.3
org.jenkins-ci.plugins:templating-engine (Maven)
- < 2.5.4
Fixed in 2.5.4
from GitHub Security Advisory GHSA-4vjp-327p-w4qv
Mitigation
Upgrade org.jenkins-ci.plugins:templating-engine to 2.5.4 or later.
References
- Vendor advisory jenkins.io/security/advisory/2025-04-02
Timeline
Days relative to CVE publicationFirst public PoC 345 days after publication; not in CISA KEV. First PoC: h3raklez/CVE-2025-31722 (created 13 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 informational
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| h3raklez/CVE-2025-31722 | 13 Mar 2026 +345 d | 0 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nick6371/CVE-2025-31722 | 8 Aug 2025 +128 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.