# CVE-2026-110646: Beganovich snappdf 1.1.0 before 6.1.0 OS Command Injection on Windows via setUrl()

Source: https://aplosec.si/cve/CVE-2026-110646/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-110646

Critical 9.2 · Fix merged · Fixed in 6.1.0 · CWE-78 · Packagist

# Beganovich snappdf 1.1.0 before 6.1.0 OS Command Injection on Windows via setUrl()

CVE-2026-110646 · published 2026-10-14

In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.

## Summary

CVE-2026-110646 affects snappdf (Packagist) >= 1.1.0, < 6.1.0: Command injection via setUrl() (CWE-78). Fixed in 6.1.0. CVSS 4.0 base score 9.2 (Critical), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.

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. Releases in the affected range (>= 1.1.0, < 6.1.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-14 CVE published

- 2026-10-28 Public record last updated

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/beganovich-snappdf-1.1.0-before-6.1.0-os-command-injection-on-windows-via-seturl](https://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](https://github.com/beganovich/snappdf/pull/54)

- [Vulnerable codehttps://github.com/beganovich/snappdf/blob/v6.0.0/src/Snappdf.php#L280-L284](https://github.com/beganovich/snappdf/blob/v6.0.0/src/Snappdf.php#L280-L284)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110646](https://www.cve.org/CVERecord?id=CVE-2026-110646)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-110646](https://nvd.nist.gov/vuln/detail/CVE-2026-110646)

- [Fix commithttps://github.com/beganovich/snappdf/commit/5197bd3bcc4df44e17246dbceea9ce51eb390eae](https://github.com/beganovich/snappdf/commit/5197bd3bcc4df44e17246dbceea9ce51eb390eae)

**Severity:** Critical 9.2 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-110646)

**Package:** snappdf

**Ecosystem:** Packagist

**Affected:** >= 1.1.0, < 6.1.0

**Fixed:** 6.1.0

**Weakness:** CWE-78

**CNA:** VulnCheck

**Credit:** Zachariah Mithani finder
