CVE-2026-73055: Improper Encoding or Escaping of Output in ericcornelissen shescape
CVE-2026-73055 is a medium severity vulnerability in the ericcornelissen shescape library affecting versions before 2.1.15 and 3.0.0 before 3.0.2. The issue involves improper escaping of tilde (~) characters in assignment contexts on Unix systems where the shell is set to "sh" and /bin/sh points to BusyBox. This can allow an attacker using the escape and escapeAll APIs with untrusted input to inject a tilde payload that discloses the user's home directory location and potentially alters the target location of a command.
AI Analysis
Technical Summary
The vulnerability in shescape occurs because versions prior to 2.1.15 and 3.0.2 do not properly escape tilde (~) characters in assignment contexts when the shell environment is configured as "sh" and /bin/sh is linked to BusyBox. When untrusted input is passed to the escape or escapeAll APIs in an assignment prefix to a command, an attacker can inject a tilde character that causes disclosure of the user's home directory path and may influence the command's operational context. This improper encoding or escaping flaw can lead to information disclosure and command behavior alteration under specific shell configurations.
Potential Impact
An attacker can use this vulnerability to disclose the user's home directory path and potentially alter the location on which a command operates. This could lead to unintended command execution contexts or information leakage about the environment. The impact is limited to environments where the shell is explicitly set to "sh" and /bin/sh points to BusyBox, and where untrusted input is passed to the affected APIs in assignment contexts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to versions 2.1.15 or later, or 3.0.2 or later, where this issue is fixed. Until then, avoid passing untrusted input to the escape and escapeAll APIs in assignment contexts on affected shell configurations.
CVE-2026-73055: Improper Encoding or Escaping of Output in ericcornelissen shescape
Description
CVE-2026-73055 is a medium severity vulnerability in the ericcornelissen shescape library affecting versions before 2.1.15 and 3.0.0 before 3.0.2. The issue involves improper escaping of tilde (~) characters in assignment contexts on Unix systems where the shell is set to "sh" and /bin/sh points to BusyBox. This can allow an attacker using the escape and escapeAll APIs with untrusted input to inject a tilde payload that discloses the user's home directory location and potentially alters the target location of a command.
CVSS v4.0
Score 6.3medium
Affected software
ericcornelissen
shescape
pkg:github/shescapeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in shescape occurs because versions prior to 2.1.15 and 3.0.2 do not properly escape tilde (~) characters in assignment contexts when the shell environment is configured as "sh" and /bin/sh is linked to BusyBox. When untrusted input is passed to the escape or escapeAll APIs in an assignment prefix to a command, an attacker can inject a tilde character that causes disclosure of the user's home directory path and may influence the command's operational context. This improper encoding or escaping flaw can lead to information disclosure and command behavior alteration under specific shell configurations.
Potential Impact
An attacker can use this vulnerability to disclose the user's home directory path and potentially alter the location on which a command operates. This could lead to unintended command execution contexts or information leakage about the environment. The impact is limited to environments where the shell is explicitly set to "sh" and /bin/sh points to BusyBox, and where untrusted input is passed to the affected APIs in assignment contexts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to versions 2.1.15 or later, or 3.0.2 or later, where this issue is fixed. Until then, avoid passing untrusted input to the escape and escapeAll APIs in assignment contexts on affected shell configurations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T19:10:18.101Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a80e09dbf8831d539c1fe64
Added to database: 08/15/2026, 21:56:45 UTC
Last enriched: 09/07/2026, 15:53:12 UTC
Last updated: 09/30/2026, 03:28:30 UTC
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.