Intel

AIKIDO-2026-859636

subscript is vulnerable to Sandbox Bypass

Sandbox Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

81

High Risk

This Affects:

JSsubscript
9.2.0 - 10.7.1
Fixed in 10.7.2
Are you affected? Scan for Free

TL;DR

subscript evaluates untrusted expressions against a supplied context and blocks access to constructor, prototype, and __* properties so host capabilities stay out of reach. The pre-fix guard only inspected string keys, so dynamically computed keys, assignment targets, destructuring patterns, object rest and spread, and base-less class declarations bypassed the check and reached host constructors and reflective helpers. Reaching a constructor chain lets an untrusted expression obtain the Function constructor and run arbitrary JavaScript, escaping the sandbox. The fix coerces keys before checking them, guards every access path, drops the default Object binding, and evaluates in a null-prototype context.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you evaluate untrusted or externally influenced expressions with subscript.

Background info

subscript is vulnerable to Sandbox Bypass in versions 9.2.0 - 10.7.1.

How to fix this

Upgrade the subscript library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform