Protection mechanism failure in Jenkins Templating Engine Plugin
Priority MEDIUM 42CWE-693Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-693.
Summary
Jenkins Templating Engine Plugin 2.1 and earlier does not protect its pipeline configurations using Script Security Plugin, allowing attackers with Job/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.
Why it matters now
EPSS 0.01749 77th percentileScored 2026-11-07
Fix Fixed org.jenkins-ci.plugins:templating-engine (Maven): 2.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins Templating Engine Plugin | up to 2.1 | — | No fix listed | CNA |
| — | org.jenkins-ci.plugins:templating-engine (Maven) | before 2.2 | 2.2 | Patch available | GHSA-p6qc-37hq-wqr6 |
- Jenkins Templating Engine Plugin VendorJenkins Affected up to 2.1 Fixed in — No fix listed CNA
- org.jenkins-ci.plugins:templating-engine (Maven) Vendor— Affected before 2.2 Fixed in 2.2 Patch available GHSA-p6qc-37hq-wqr6
Remediation
- Fix · GHSA-p6qc-37hq-wqr6 org.jenkins-ci.plugins:templating-engine (Maven) Fixed in 2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21646
- 2026-10-03 Alias added: GHSA-p6qc-37hq-wqr6
References
Advisory 3
More Jenkins Templating Engine vulnerabilities
- TI-2025-22859 Code injection in Jenkins Templating Engine Plugin CVSS 3.1HIGH 8.8
Sources
- CVE-2021-21646 · CVE Program
- CVE-2021-21646 · NVD
- FIRST EPSS
- GHSA-p6qc-37hq-wqr6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences