CVE-2026-25142
Unknown Unknown - Not Provided
Prototype Pollution via __lookupGetter__ in SandboxJS Allows RCE

Publication date: 2026-02-02

Last updated on: 2026-02-18

Assigner: GitHub, Inc.

Description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-02
Last Modified
2026-02-18
Generated
2026-06-16
AI Q&A
2026-02-03
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nyariv sandboxjs to 0.8.27 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1321 The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in SandboxJS versions prior to 0.8.27 involves improper restriction of the __lookupGetter__ method. This method can be exploited to obtain prototypes, which attackers can use to escape the sandbox environment and potentially execute remote code.

Impact Analysis

The vulnerability can lead to a complete compromise of the sandbox environment, allowing attackers to execute arbitrary remote code. This can result in full system compromise, data theft, or disruption of services.

Mitigation Strategies

Upgrade SandboxJS to version 0.8.27 or later, as this version fixes the vulnerability related to improper restriction of __lookupGetter__.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25142. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart