CVE-2026-110646
8.1 HIGHpublic exploit availablePublished 2026-10-14 · Updated 2026-10-20
AI risk analysis
- Summary
- Beganovich snappdf versions before 6.1.0 on Windows contain an OS command injection flaw where unescaped user-supplied URLs passed to setUrl() are executed via PHP exec(), allowing attackers to inject and run arbitrary commands using cmd.exe metacharacters like &.
- Exploitability
- Exploitation requires high skill due to the need to craft valid cmd.exe metacharacter payloads that bypass potential input sanitization and successfully execute in the PHP context, but no authentication or user interaction is required.
- Blast radius
- Successful exploitation allows full compromise of the underlying system with the privileges of the PHP process, potentially enabling data theft, lateral movement, or further malware deployment.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to snappdf version 6.1.0 or later, which includes proper escaping of the URL parameter before passing it to exec() on Windows.
os-command-injectionwindowsphpwebapp
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
Beganovich snappdf from 1.1.0 before 6.1.0 contains an OS command injection vulnerability on Windows that allows attackers to run commands by influencing the rendered URL. Attackers can supply cmd.exe metacharacters such as & in the setUrl() value, which executeOnWindows() passes unescaped to PHP exec(), executing commands as the PHP process.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Public exploit & PoC references
References
- https://github.com/beganovich/snappdf/blob/v6.0.0/src/Snappdf.php#L280-L284
- https://github.com/beganovich/snappdf/commit/5197bd3bcc4df44e17246dbceea9ce51eb390eae
- https://github.com/beganovich/snappdf/pull/54
- https://github.com/beganovich/snappdf/releases/tag/v6.1.0
- https://www.vulncheck.com/advisories/beganovich-snappdf-1.1.0-before-6.1.0-os-command-injection-on-windows-via-seturl
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.