CVE-2025-31722

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductJenkins Templating Engine
PublishedApr 2, 2025
First seenApr 2, 2025

How to fix

Update
  • jenkins templating_engine2.5.4 or later
  • org.jenkins-ci.plugins:templating-engine2.5.4 or later

Affected products

ProductAffected versionsFixed in
jenkins templating_enginev < 2.5.42.5.4
org.jenkins-ci.plugins:templating-engineMavenv < 2.5.42.5.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-31722 · Jenkins Templating Engine · Dark Radar