Skip to main content
VulnerabilityPublished Updated

CVE-2025-31722: Jenkins Templating Engine Plugin · Code Injection

Affects Jenkins Templating Engine PluginSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 16:39 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Jenkins Project Jenkins Templating Engine PluginAffected
  • =0
  • <=2.5.3
Fixed in–

AI-suggested

Until an official patch is released, organizations should implement the following mitigations: 1) Restrict Item/Configure permissions strictly to trusted administrators and minimize the number of users with these privileges. 2) Audit and monitor Jenkins logs for unusual configuration changes or script executions that could indicate exploitation attempts. 3) Disable or remove the Jenkins Templating Engine Plugin if it is not essential to your workflows. 4) Isolate the Jenkins controller in a secure network segment with limited access to reduce exposure. 5) Employ runtime security monitoring tools that can detect anomalous JVM behavior or unauthorized code execution. 6) Review and harden Jenkins security settings, including enabling Role-Based Access Control (RBAC) plugins to enforce least privilege. 7) Prepare for rapid deployment of patches once they become available by maintaining an up-to-date inventory of Jenkins plugins and versions. These steps go beyond generic advice by focusing on permission management, monitoring, and environment hardening specific to this vulnerability's exploitation vector.

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.

References

Community reviews

Loading reviews…