GHSA-6jg8-7333-554w
Sandbox Breakout in realms-shim
Versions of realms-shim prior to 1.2.0 are vulnerable to a Sandbox Breakout. Reflect.construct can be used on the sandboxed Function constructor to reach the prototypes of the primal Realm, which may allow an attacker to escape the sandbox and execute arbitrary code.
Recommendation
Upgrade to version 1.2.0 or later.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What each source reports
GitHub Advisories Score used 9.8
Sandbox Breakout in realms-shim
Versions of realms-shim prior to 1.2.0 are vulnerable to a Sandbox Breakout. Reflect.construct can be used on the sandboxed Function constructor to reach the prototypes of the primal Realm, which may allow an attacker to escape the sandbox and execute arbitrary code.
Recommendation
Upgrade to version 1.2.0 or later.
- Record
GHSA-6jg8-7333-554w- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV 9.8
Sandbox Breakout in realms-shim
Versions of realms-shim prior to 1.2.0 are vulnerable to a Sandbox Breakout. Reflect.construct can be used on the sandboxed Function constructor to reach the prototypes of the primal Realm, which may allow an attacker to escape the sandbox and execute arbitrary code.
Recommendation
Upgrade to version 1.2.0 or later.
- Record
GHSA-6jg8-7333-554w- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
realms-shimnpm | before 1.2.0 | 1.2.0 |
sesnpm | before 0.6.3 | 0.6.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-6jg8-7333-554w is a critical vulnerability (CVSS 9.8) in realms-shim, published October 4, 2019. No source lists public exploit code. Fixed in realms-shim 1.2.0.
References
github.com/Agoric/realms-shim/security/advisories/GHSA-6jg8-7333-554w
github.com/advisories/GHSA-6jg8-7333-554w
npmjs.com/advisories/1180
npmjs.com/advisories/1181
npmjs.com/advisories/1182
npmjs.com/advisories/1190
npmjs.com/advisories/1191
snyk.io/vuln/SNYK-JS-REALMSSHIM-471680
github.com/Agoric/realms-shim