PT-2025-12834 · Shescape · Shescape
CVE-2025-30222
·
Published
2025-03-25
·
Updated
2025-03-26
CVSS v4.0
2.1
Low
| Vector | AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Shescape versions 1.7.2 through 2.1.1
Description
The issue affects users of Shescape on Windows who explicitly configure
shell: 'cmd.exe' or shell: true using any of quote/quoteAll/escape/escapeAll. An attacker may be able to get read-only access to environment variables.Recommendations
For versions 1.7.2 through 2.1.1, upgrade to v2.1.2 or later.
For those using v1 of Shescape, follow the migration guide to upgrade to v2.
As a temporary workaround, remove all instances of
% from user input before using Shescape.Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Shescape