CVE-2021-21646: High severity jenkins templating engine plugin vulnerability

Published Apr 21, 2021
·
Updated

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.

Other sources

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.

Affected Software

2 affected componentsFixes available
maven/org.jenkins-ci.plugins:templating-engine<=2.1
2.2
Jenkins Templating Engine Jenkins<=2.1

Event History

Apr 21, 2021
CVE Published
via MITRE·02:20 PM
Data Sourced
via MITRE·02:20 PM
Description
May 24, 2022
Advisory Published
05:48 PM

Frequently Asked Questions

1

What is the severity of CVE-2021-21646?

CVE-2021-21646 is classified as a critical vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2021-21646?

To mitigate CVE-2021-21646, upgrade the Jenkins Templating Engine Plugin to version 2.2 or later.

3

Who is affected by CVE-2021-21646?

CVE-2021-21646 affects users of Jenkins Templating Engine Plugin version 2.1 and earlier who have Job/Configure permissions.

4

What can attackers do with CVE-2021-21646?

Attackers with Job/Configure permissions can execute arbitrary code on the Jenkins controller JVM due to CVE-2021-21646.

5

When was CVE-2021-21646 published?

CVE-2021-21646 was published on April 21, 2021.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203