---
id: CVE-2026-110646
title: >-
  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
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
  setU…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T15:17:18.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110646'
references:
  - url: >-
      https://github.com/beganovich/snappdf/blob/v6.0.0/src/Snappdf.php#L280-L284
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/beganovich/snappdf/commit/5197bd3bcc4df44e17246dbceea9ce51eb390eae
    label: disclosure@vulncheck.com
  - url: 'https://github.com/beganovich/snappdf/pull/54'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/beganovich/snappdf/releases/tag/v6.1.0'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/beganovich-snappdf-1.1.0-before-6.1.0-os-command-injection-on-windows-via-seturl
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.016Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
