Vulnerability Description
wetty provides terminal access in browser over http/https. Prior to version 3.0.4, the wetty client decodes a base64 filename from the file-download escape sequence and interpolates it raw into a Toastify HTML string (`escapeMarkup: false`). Any output the victim renders - a `cat`'d file, a tailed log, an SSH MOTD, a `curl` response - that contains `\x1b[5i...:...\x1b[4i` runs script in the wetty origin and types attacker-chosen keystrokes into the victim's SSH session. Version 3.0.4 fixes the issue.
Related Weaknesses (CWE)
References
- https://github.com/butlerx/wetty/security/advisories/GHSA-p26j-h7wj-r568
- https://github.com/butlerx/wetty/security/advisories/GHSA-p26j-h7wj-r568
FAQ
What is CVE-2026-49864?
CVE-2026-49864 is a documented vulnerability. wetty provides terminal access in browser over http/https. Prior to version 3.0.4, the wetty client decodes a base64 filename from the file-download escape sequence and interpolates it raw into a Toas...
How severe is CVE-2026-49864?
CVSS scoring is not yet available for CVE-2026-49864. Check NVD for updates.
Is there a patch for CVE-2026-49864?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.