VULNERABILITY

Jenkins Advisory 2025-04-02: CVE-2025-31722: Script Security sandbox bypass vulnerability through folder-scoped libraries in Templating Engine Plugin

Try Surface Command Get a continuous 360° view of your attack surface
Gartner Peer insights
4.4 Gartner Rating
Back to Search

Jenkins Advisory 2025-04-02: CVE-2025-31722: Script Security sandbox bypass vulnerability through folder-scoped libraries in Templating Engine Plugin

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
04/03/2025
Created
04/04/2025
Added
04/03/2025
Modified
04/04/2025

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.

Solution(s)

  • jenkins-lts-upgrade-2_492_3
  • jenkins-upgrade-2_504

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial WATCH DEMO

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;