High severity8.8NVD Advisory· Published Apr 21, 2021· Updated Jun 17, 2026
CVE-2021-21646
CVE-2021-21646
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.jenkins-ci.plugins:templating-engineMaven | < 2.2 | 2.2 |
Affected products
3- Range: unspecified
- cpe:2.3:a:jenkins:templating_engine:*:*:*:*:*:jenkins:*:*Range: <=2.1
Patches
Vulnerability mechanics
References
5- www.openwall.com/lists/oss-security/2021/04/21/2nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-p6qc-37hq-wqr6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-21646ghsaADVISORY
- www.jenkins.io/security/advisory/2021-04-21/nvdVendor AdvisoryWEB
- github.com/jenkinsci/templating-engine-plugin/commit/aed14bed7333329f51330d0a8111e4d94cdee3e6ghsaWEB
News mentions
1- Jenkins Security Advisory 2021-04-21Jenkins Security Advisories · Apr 21, 2021