JavaScript Library Flaws Enable Sandbox Escape and Code Execution
Two high-severity flaws were disclosed in widely used JavaScript libraries, exposing applications to sandbox bypass and arbitrary code execution. CVE-2026-34208 affects SandboxJS before 0.8.36 and allows attacker-supplied code to evade protections on direct assignment to global objects by abusing an exposed constructor path. The bypass uses this.constructor.call(target, attackerObject) to reach the internal SandboxGlobal function while Function.prototype.call remains permitted, enabling arbitrary properties to be written into host global objects and persist across sandbox instances in the same process.
A separate issue, CVE-2026-41242, impacts protobufjs before 8.0.1 and 7.5.5, where attackers can inject arbitrary code into Protocol Buffers definition type fields and trigger execution during object decoding with a malicious schema. The flaw is tracked as CWE-94 and carries a CVSS v4 rating reflecting network-reachable exploitation with high impact to confidentiality, integrity, availability, and downstream systems. Maintainers released fixes in SandboxJS 0.8.36 and protobufjs 8.0.1 and 7.5.5.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
protobufjs releases 8.0.1 and 7.5.5 to patch CVE-2026-41242
The vulnerability record states that protobufjs versions 8.0.1 and 7.5.5 remediate CVE-2026-41242. References for the fix include GitHub commits, release tags, and a GitHub Security Advisory.
protobufjs arbitrary code execution flaw disclosed as CVE-2026-41242
CVE-2026-41242 was published for protobufjs, affecting versions prior to 8.0.1 and 7.5.5. The issue allows attackers to inject arbitrary code into protobuf definition type fields, which then executes during object decoding.
SandboxJS 0.8.36 fixes CVE-2026-34208
SandboxJS version 0.8.36 was identified as the fix for CVE-2026-34208. The patched release addresses the sandbox integrity escape that enabled modification of host global objects.
SandboxJS sandbox escape vulnerability disclosed as CVE-2026-34208
A vulnerability in SandboxJS affecting versions prior to 0.8.36 was published as CVE-2026-34208. The flaw allows attackers to bypass sandbox protections via an exposed constructor call path and write arbitrary properties into host global objects, with changes persisting across sandbox instances in the same process.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


