Vulnerability · Published Apr 2, 2025 · Assigned by jenkins

CVE-2025-31722

High 8.8

In plain English

A high-severity code injection in Jenkins Templating Engine Plugin from Jenkins Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.3%top 29.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.jenkins-ci.plugins:templating-engine2.5.4GHSA-4vjp-327p-w4qv

Affected products (as reported)

VendorProductVersions
Jenkins Project Jenkins Templating Engine Plugin 0 – through 2.5.3

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References