CVE-2026-26954 PUBLISHED

SandboxJS has a Sandbox Escape

Assigner: GitHub_M
Reserved: 16.02.2026 Published: 13.03.2026 Updated: 13.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor nyariv
Product SandboxJS
Versions
  • Version < 0.8.34 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE