CVE-2026-107802 SumatraPDF — Windows command-line argument injection in AI selection-translate
Attackers can inject command-line arguments into AI translation backends via crafted text, potentially bypassing sandbox restrictions or executing arbitrary commands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-107802?
CVE-2026-107802 is a high-severity command injection vulnerability in sumatrapdfreader sumatrapdf, published on 8 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
SumatraPDF is a multi-format reader for Windows. In 3.6.1 and earlier, src/SelectionTranslate.cpp embeds selected or pasted translation text in quoted Windows command lines using incomplete quote-only escaping. The affected BuildGrokTranslateCmdLineTemp(), BuildClaudeTranslateCmdLineTemp(), and BuildCodexTranslateCmdLineTemp() functions can allow attacker-controlled text to inject model, working-directory, approval, or sandbox-bypass flags when the corresponding agentic CLI backend is installed and used. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.
Weakness: CWE-88
Which versions are affected by CVE-2026-107802?
How do I fix CVE-2026-107802?
No fix has been published for CVE-2026-107802 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-107802 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107802 exists.
Sources
Also known as GHSA-xvxg-cwmx-hr7j.