Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30916: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in ericcornelissen shescape

0
Low
VulnerabilityCVE-2026-30916cvecve-2026-30916cwe-200
Published: Mon Mar 09 2026 (03/09/2026, 22:48:14 UTC)
Source: CVE Database V5
Vendor/Project: ericcornelissen
Product: shescape

Description

Shescape is a simple shell escape library for JavaScript. Prior to 2.1.9, an attacker may be able to bypass escaping for the shell being used. This can result, for example, in exposure of sensitive information. This impacts users of Shescape that configure their shell to point to a file on disk that is a link to a link. The precise result of being affected depends on the actual shell used and incorrect shell identified by Shescape. This vulnerability is fixed in 2.1.9.

AI-Powered Analysis

AILast updated: 03/09/2026, 23:18:44 UTC

Technical Analysis

Shescape is a JavaScript library designed to safely escape shell commands to prevent injection attacks. Versions prior to 2.1.9 contain a vulnerability (CVE-2026-30916) classified under CWE-200, which involves the exposure of sensitive information to unauthorized actors. The root cause is a bypass of the escaping mechanism when the shell configured in Shescape points to a file on disk that is a symbolic link to another symbolic link. This chaining of symbolic links can cause Shescape to incorrectly identify the shell or fail to apply proper escaping. As a result, an attacker can craft inputs that bypass the escaping protections, potentially causing sensitive data exposure. The exact impact depends on the shell environment and how Shescape interprets the shell path. The vulnerability is remotely exploitable without authentication or user interaction, but the scope is limited to environments using vulnerable Shescape versions with such shell configurations. The issue was publicly disclosed on March 9, 2026, and fixed in version 2.1.9. No known exploits have been reported in the wild, indicating limited active exploitation.

Potential Impact

Organizations using Shescape versions prior to 2.1.9 in environments where the shell is configured as a symbolic link to another link are at risk of sensitive information exposure. This could include leakage of environment variables, command outputs, or other data accessible via shell commands. While the vulnerability does not allow direct code execution or system compromise, exposure of sensitive information can facilitate further attacks such as credential theft or privilege escalation. The impact is primarily on confidentiality, with limited effect on integrity or availability. Since Shescape is a niche JavaScript library, the overall affected population is relatively small, but organizations relying on it in critical systems or automated scripts could face data leakage risks. The lack of authentication or user interaction requirements increases the risk of remote exploitation in exposed environments.

Mitigation Recommendations

Upgrade all instances of Shescape to version 2.1.9 or later to ensure the vulnerability is patched. Review shell configurations to avoid using shells that are symbolic links to other links, or validate and sanitize shell paths before use. Implement strict input validation and sanitization in any code invoking shell commands, even when using escaping libraries. Employ runtime monitoring to detect unusual shell command executions or unexpected data exposures. Limit the permissions and environment variables accessible to shell commands to minimize sensitive data exposure. Conduct code audits and dependency scans regularly to identify and remediate vulnerable library versions. Where possible, isolate environments running vulnerable versions to reduce exposure and apply network segmentation to limit attacker access.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-07T16:40:05.884Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69af51f2ea502d3aa8d1f2d4

Added to database: 3/9/2026, 11:04:18 PM

Last enriched: 3/9/2026, 11:18:44 PM

Last updated: 3/14/2026, 2:32:46 AM

Views: 29

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses