{"id":"CVE-2025-31722","state":"PUBLISHED","title":"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 exec","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.","publishedAt":"2025-04-02T14:59:50.726Z","updatedAt":"2026-02-26T18:29:00.764Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"jenkins","products":["Jenkins Project Jenkins Templating Engine Plugin"],"affected":[{"vendor":"Jenkins Project","product":"Jenkins Templating Engine Plugin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.3","versionType":"maven"}]}],"references":["https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/31xxx/CVE-2025-31722.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-31722","state":"PUBLISHED","datePublished":"2025-04-02T14:59:50.726Z","dateUpdated":"2026-02-26T18:29:00.764Z","assignerShortName":"jenkins","assignerOrgId":"39769cd5-e6e2-4dc8-927e-97b3aa056f5b","dateReserved":"2025-04-01T12:50:10.765Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Jenkins Project","product":"Jenkins Templating Engine Plugin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.5.3","versionType":"maven"}]}],"references":[{"url":"https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505","name":"Jenkins Security Advisory 2025-04-02","tags":["vendor-advisory"]}],"providerMetadata":{"shortName":"jenkins","orgId":"39769cd5-e6e2-4dc8-927e-97b3aa056f5b","dateUpdated":"2025-04-02T14:59:50.726Z"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2025-31722","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-04-04T03:55:29.677718Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","type":"CWE","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T18:29:00.764Z"}}]}}}