High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-31722
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:55 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-31722
Complete source record
{
"id": "63ff40409050b31f422f91d0540619ca50f424616aaa6ec999b118a8cd723b2e",
"url": "https://osv.dev/vulnerability/CVE-2025-31722",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-31722",
"summary": "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.",
"evidence": "osv:CVE-2025-31722",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-31722",
"aliases": [
"CVE-2025-31722",
"GHSA-4vjp-327p-w4qv"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jenkinsci/templating-engine-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bb2b4468b3bf4cea494afb8549af4e6450972653"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jenkins:templating_engine:*:*:*:*:*:jenkins:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.5.3",
"2.5.2",
"2.5.1",
"2.5",
"2.3",
"untagged-d91fcbc2f762c4d94f35",
"2.0.2",
"1.7",
"1.6",
"1.5.2",
"1.5.1",
"1.5",
"1.4.2",
"1.4.1",
"1.4",
"1.3",
"v1.2",
"1.1.1",
"1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31722.json"
}
}
],
"modified": "2026-10-24T10:31:00.394816814Z",
"provider": "osv",
"references": [
"https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2025-31722",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439531,
"published_at": "2025-04-02T15:15:59.68+00:00"
}