
Security research and proof-of-concept for CVE-2026-0776 affecting Discord Desktop Client.
This repository documents CVE-2026-0776, a local code execution issue affecting the Discord Desktop Client on Windows.
The vulnerability is related to unsafe module resolution behavior in Node.js-based components, which may allow JavaScript code to be loaded from unintended filesystem locations under specific conditions.
Under certain circumstances, Discord may load JavaScript modules from untrusted locations. If an attacker is able to place a crafted module in a searched path, arbitrary JavaScript code may execute within the Discord process.
Successful exploitation may allow:
This is not a remote vulnerability and requires local access or specific environmental conditions.
The included PoC is safe and non-destructive. Its sole purpose is to demonstrate module loading behavior and confirm code execution.
No persistence mechanisms, credential access, system modification, or data exfiltration techniques are included.
This repository is provided for educational and security research purposes only. The information contained herein should not be used for unauthorized activities. The author assumes no responsibility for misuse of this material.