This repository was archived by the owner on Apr 22, 2026. It is now read-only.
Changelog
1.0.1 — 2026-04-22
Security
- Fix CVE-2026-5752 (CVSS 9.3, critical): sandbox escape via JavaScript
prototype chain traversal insrc/services/python-interpreter/service.ts.
Mockdocument/ImageData/ DOM stub objects exposed to Pyodide via
jsglobalswere plain object literals that inherited from
Object.prototype, allowing sandboxed Python to walk
.constructor.constructorto the hostFunctionconstructor, obtain
hostglobalThis, and reachrequirefor arbitrary code execution as
root. Every exposed object is now built withObject.create(null);
read-only mocks are additionally frozen. - Add regression test
tests/security/cve_2026_5752_proto_escape.py.
Notes
This project remains unmaintained beyond this security release. Users are
encouraged to migrate to a maintained sandbox.