8.8
CWE
94
EPSS
0.080%
Advisory Published
Advisory Published
Updated

CVE-2025-31722: Code Injection

First published: Wed Apr 02 2025(Updated: )

In Jenkins Templating Engine Plugin 2.5.3 and earlier, libraries defined in folders are not subject to sandbox protection, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.

Credit: jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
Jenkins Templating Engine Plugin<2.5.3
maven/org.jenkins-ci.plugins:templating-engine<2.5.4
2.5.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-31722?

    CVE-2025-31722 is classified as a critical vulnerability due to its potential to allow arbitrary code execution.

  • How do I fix CVE-2025-31722?

    To fix CVE-2025-31722, upgrade the Jenkins Templating Engine Plugin to version 2.5.4 or later.

  • What types of access are required to exploit CVE-2025-31722?

    An attacker needs Item/Configure permission to exploit CVE-2025-31722.

  • Which versions of the Jenkins Templating Engine Plugin are affected by CVE-2025-31722?

    CVE-2025-31722 affects Jenkins Templating Engine Plugin versions up to and including 2.5.3.

  • What risk does CVE-2025-31722 pose to my Jenkins instance?

    CVE-2025-31722 poses a risk of arbitrary code execution in the Jenkins controller JVM, compromising the entire system.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203