{"id":"CVE-2025-31722","published":"2025-04-02T14:59:50Z","modified":"2026-02-26T18:29:00Z","title":"In Jenkins Templating Engine Plugin 2.5.3 and earlier, libraries defined in folders are not subject to sandbox…","vendor":"Jenkins","product":"Jenkins Templating Engine Plugin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0131,"percentile":0.71357,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505","tags":["vendor-advisory"]}],"priority":{"score":25.4,"factors":[{"name":"EPSS percentile","points":14.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2025-08-08","earliestUrl":"https://github.com/Nick6371/CVE-2025-31722","repos":[{"name":"Nick6371/CVE-2025-31722","url":"https://github.com/Nick6371/CVE-2025-31722","stars":0,"created":"2025-08-08"},{"name":"h3raklez/CVE-2025-31722","url":"https://github.com/h3raklez/CVE-2025-31722","stars":0,"created":"2026-03-13"}]},"first":{"date":"2025-08-08","source":"PoC-in-GitHub","url":"https://github.com/Nick6371/CVE-2025-31722"},"provenance":"source"},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Templating Engine Plugin","versions":["<= 2.5.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-04T03:55:29.677718Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:templating-engine","vulnerableRanges":["<2.5.4"],"patched":["2.5.4"],"from":["GHSA-4vjp-327p-w4qv"],"provenance":"source"}],"summary":{"text":"The Jenkins Templating Engine Plugin, version 2.5.3 and earlier, fails to apply sandbox protection to libraries defined in folders, which is a code generation control weakness in the plugin. An attacker with Item/Configure permission can execute arbitrary code in the context of the Jenkins controller JVM over the network, with low complexity and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:23:57Z"},"euvd":{"id":"EUVD-2025-9533","exploited":false,"provenance":"source"}}