CVE-2021-21646
mediumpriority · track · 36EPSS 0.017 · 78 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Maven org.jenkins-ci.plugins:templating-engine< 2.2osvUSpkg:maven/org.jenkins-ci.plugins/templating-engine
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-p6qc-37hq-wqr6Remote code execution vulnerability in Jenkins Templating Engine Plugin2022-05-24ghsa · osvUS
Jenkins Templating Engine Plugin 2.1 and earlier does not protect its pipeline configurations using Script Security Plugin. This vulnerability allows attackers with Job/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM. Jenkins Templating Engine Plugin 2.2 integrates with Script Security Plugin to protect its pipeline configurations.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/04/21/2cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21646cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-35132cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.1368cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021042206cnnvd
- https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2311cnnvd
- http://www.openwall.com/lists/oss-security/2021/04/21/2enisa_euvd
- https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2311enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan