Descrição
Shescape before 2.1.15 (and 3.0.0 before 3.0.2) fails to properly escape tilde (~) characters in assignment contexts on Unix systems where the shell is explicitly configured to -sh- or true and /bin/sh points to BusyBox. Using the escape and escapeAll APIs with untrusted input in an assignment prefixed to a command, an attacker can inject a tilde payload to disclose the user-s home directory location and, depending on usage, alter the location on which a command operates.
CVSS 4.8EPSS 0.207%Risco 0.49
Ver fonte- Publicação
- 2026-08-15 22:16:55
- Versões afetadas
- <2.1.15,>=3.0.0,<3.0.2
- Tipo
- Biblioteca
- Última alteração
- 2026-08-26 16:57:52
- Vetor
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N