WaratekVRT Sign in

CVE-2025-31722 Jenkins Templating Engine

Affected softwareJenkins Templating Engine
Severity8.8 High CVSS 3.1
Fixed in2.5.4
WeaknessCode injection (CWE-94)
Published2 Apr 2025
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 2 repositories below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed, none at 5+ stars
  • EPSS 1.3% chance in 30 days

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2025-31722 — Jenkins Templating Engine RCE 2026-03-13
GitHub PoC Used to demo CVE-2025-31722. 2025-08-08

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: jenkinsci/templating-engine-plugin bb2b446.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.plugins:templating-engine 0 2.5.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins templating engine generic < 2.5.4
osv org.jenkins-ci.plugins templating-engine generic < 2.5.4

References

URLTags
https://github.com/jenkinsci/templating-engine-plugin/commit/bb2b4468b3bf4cea494afb8549af4e6450972653 WEB
https://github.com/jenkinsci/templating-engine-plugin PACKAGE
https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505 WEB

Timeline

Published2025-04-02By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.