CVE-2021-21646Jenkins Templating Engine
High 8.8
Follow: this CVE · Jenkins · Jenkins Templating Engine We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Apr 21, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Templating Engine.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:templating-engine |
< 2.2 |
2.2 |
— |
Per OSV / GitHub Advisories (GHSA-p6qc-37hq-wqr6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | templating_engine | ≤ 2.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.jenkins.io Vendor Advisory