AploSec / Disclosures / CVE-2026-110646
Beganovich snappdf 1.1.0 before 6.1.0 OS Command Injection on Windows via setUrl()
CVE-2026-110646 · published 2026-10-14
Summary
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.
Evidence
The maintainer accepted the patch submitted with the report and merged the fix.
Remediation
Upgrade snappdf to 6.1.0 or later.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/beganovich-snappdf-1.1.0-before-6.1.0-os-command-injection-on-windows-via-seturl
- Fix pull requesthttps://github.com/beganovich/snappdf/pull/54
- Vulnerable codehttps://github.com/beganovich/snappdf/blob/v6.0.0/src/Snappdf.php#L280-L284
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110646
- Package
- snappdf
- Ecosystem
- Packagist
- Weekly downloads
- 2k
- Affected
- >= 1.1.0, < 6.1.0
- Fixed
- 6.1.0
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithani