8.8high
Jenkins Templating Engine Plugin Vulnerable to Arbitrary Code Execution
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.31% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-4vjp-327p-w4qv
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins Templating Engine Plugin | up to 2.5.3 | CVE List |
| org.jenkins-ci.plugins:templating-engine (Maven) | before 2.5.4 | GitHub Advisory Database |
| jenkins templating_engine | before 2.5.4 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Jenkins Templating Engine Plugin allows defining libraries both in the global configuration, as well as scoped to folders containing the pipelines using them. While libraries in the global configuration can only be set up by administrators and can therefore be trusted, libraries defined in folders can be configured by users with Item/Configure permission.
In Templating Engine Plugin 2.5.3 and earlier, libraries defined in folders are not subject to sandbox protection. This vulnerability allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.
In Templating Engine Plugin 2.5.4, libraries defined in folders are subject to sandbox protection.
NVD (es)
En Jenkins Templating Engine Plugin 2.5.3 y anterior, librerías definidos en las carpetas no están sujetos a la sandbox Protección, lo que permite a los atacantes con elemento/configuración de permiso para ejecutar código arbitrario en el contexto del controlador Jenkins JVM.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31722 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4vjp-327p-w4qv changed 2025-04-02 | CC-BY-4.0 |
| NVD | CVE-2025-31722 changed 2026-06-17 | Public domain |