Live threats

All CVEs / Jenkins

CVE-2021-21646Jenkins Templating Engine

High 8.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Templating Engine.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
jenkinstemplating_engine≤ 2.1

Official sources

References

Links published by the sources. Open them with care.