CVE-2026-105293
9.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
Legcord 1.1.0 through 1.3.0 contains a path traversal vulnerability in theme IPC handlers that allows script in the Discord page to escape the themes directory via unvalidated theme ids. Attackers running script in the Discord origin, such as through XSS, can abuse themes.folder, themes.uninstall, and themes.install to launch local executables, recursively delete directories, and write files outside the themes directory.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Legcord | Legcord | 1.1.0 <= 1.3.0 | affected |
Weaknesses
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://github.com/Legcord/Legcord/issues/1163
- https://github.com/Legcord/Legcord
- https://github.com/Legcord/Legcord/blob/v1.3.0/src/discord/ipc.ts#L201-L206
- https://github.com/Legcord/Legcord/blob/v1.3.0/src/common/themes.ts#L269-L276
- https://www.vulncheck.com/advisories/legcord-1.1.0-through-1.3.0-path-traversal-via-theme-ipc-handlers
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.