Vulnerabilities · 2025 · Jenkins
CVE-2025-31722
Jenkins Templating Engine vulnerability
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.
Affected products
Templating Engine. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jenkins Templating Engine runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-31722
- github.com/jenkinsci/templating-engine-plugin/commit/bb2b4468b3bf4cea494afb8549af4e6450972
- github.com/advisories/GHSA-4vjp-327p-w4qv
- nvd.nist.gov/vuln/detail/CVE-2025-31722
- cve.org/CVERecord?id=CVE-2025-31722
More vulnerabilities in Jenkins products
CVE-2025-67643CVE-2025-67642CVE-2025-67641CVE-2025-67640CVE-2025-67639CVE-2025-67638CVE-2025-67637CVE-2025-67636All 1,739
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.