Security advisory
A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine’s runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g. dotCMS or Tomcat user).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-11165
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:15 UTC · Revision 1
Source evidence
A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine’s runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g. dotCMS or Tomcat user).
osv:CVE-2025-11165
Complete source record
{
"id": "e7f58c1834c7d3dacaff3e5e69f2c3aec37019c21afd8ef34473d2649c939da3",
"url": "https://osv.dev/vulnerability/CVE-2025-11165",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-11165",
"summary": "A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine’s runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g. dotCMS or Tomcat user).",
"evidence": "osv:CVE-2025-11165",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-11165",
"aliases": [
"CVE-2025-11165"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dotcms/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d9bb04918350ac9abeafefbcf9c1ee1f097d41aa"
},
{
"introduced": "72842b1cc572ec9bee691fa7032d535d3b39fbfb"
},
{
"fixed": "0910570e42f9f0bc39bba29d446098e826b1bb6e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "24.12.27"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:dotcms:dotcms:*:*:*:*:lts:*:*:*",
"range": [
{
"introduced": "25.01.07"
},
{
"fixed": "25.07.10"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v25.07.10-1",
"v24.03.22",
"release_candidate",
"v23.09-pre",
"pre-release.07.13.23",
"22.10.1",
"3.6.0",
"3.5",
"3.5_Preview02",
"3.5_Preview01",
"pre3.5buildrevert",
"3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-11165.json"
}
}
],
"modified": "2026-10-28T02:30:28.064819493Z",
"provider": "osv",
"references": [
"https://dev.dotcms.com/docs/known-security-issues?issueNumber=SI-74",
"https://www.dotcms.com/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11165.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-11165"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "dotCMS",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "24.12"
},
{
"last_affected": "24.12"
},
{
"introduced": "25.07"
},
{
"last_affected": "25.07"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11165.json"
}
},
"related_cves": [
{
"value": "CVE-2025-11165",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494888,
"published_at": "2026-02-24T08:27:07.579+00:00"
}