CVE-2025-31722: Jenkins Templating Engine

High severity, CVSS 8.8. EPSS: 1.3% chance of exploitation in the next 30 days.

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

  • Jenkins Templating Engine: before 2.5.4 (fixed in 2.5.4)

Published 2025-04-02. Last modified 2026-06-17.