AploSec / Disclosures / CVE-2026-110646

Fix mergedFixed in 6.1.0CWE-78Packagist

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

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