Critical
SandboxJS has a Sandbox Escape
Type: advisorySources: OSV
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-26954
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 05:13 UTC · Revision 1
Source evidence
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.
osv:CVE-2026-26954
Complete source record
{
"id": "12ed75fc169035a2fa9446af257291fa09a2d93d2ccfbbba5abf212ca58959fd",
"url": "https://osv.dev/vulnerability/CVE-2026-26954",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SandboxJS has a Sandbox Escape",
"summary": "SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.",
"evidence": "osv:CVE-2026-26954",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-26954",
"aliases": [
"CVE-2026-26954",
"GHSA-6r9f-759j-hjgv"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nyariv/sandboxjs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "584f8ae960b4fcfc18feb833c8c6b49157874ccd"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.34"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.34"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.8.33",
"0.8.32",
"0.8.31",
"0.8.30",
"0.8.29",
"0.8.28",
"0.8.24-2",
"0.8.24-1",
"0.8.24",
"0.8.23.3",
"0.8.23-1",
"0.8.23.2",
"0.8.23",
"0.8.22",
"0.8.21",
"0.8.20",
"0.8.19",
"0.8.18",
"0.8.17",
"0.8.16",
"0.8.15.1",
"0.8.15",
"0.8.14",
"0.8.12",
"0.8.11",
"0.8.10",
"0.8.9",
"0.8.8",
"0.8.7",
"0.8.6",
"0.8.5",
"0.8.4",
"0.8.3",
"0.8.2",
"0.8.0",
"0.7.1",
"0.7.0",
"0.6.2",
"0.6.1",
"0.6.0",
"0.5.3",
"0.5.2",
"0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26954.json"
}
}
],
"modified": "2026-10-28T02:30:33.447016562Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26954.json",
"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv",
"https://nvd.nist.gov/vuln/detail/CVE-2026-26954"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26954.json"
}
},
"related_cves": [
{
"value": "CVE-2026-26954",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500454,
"published_at": "2026-03-13T15:51:13.413+00:00"
}