CVE-2026-67827: ZLMediaKit HTTP API command injection in setServerConfig

CVE-2026-67827 · Severity: critical · CVSS 9.8 · Published 2026-09-21

ZLMediaKit is a streaming media server that exposes an HTTP API for configuration and control. An unauthenticated attacker can inject arbitrary shell commands through the setServerConfig API endpoint by overwriting the ffmpeg.snap configuration parameter, then execute those commands by triggering the getSnap endpoint, gaining code execution as the ZLMediaKit process user (typically root). Versions prior to February 2025 ship with a well-known default API secret, making exploitation trivial on most deployed systems.

Technologies: Zlmediakit. Vendors: Zlmediakit.

Quick answers

Is CVE-2026-67827 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-67827 being exploited in the wild.
How severe is CVE-2026-67827?
Critical severity, with a CVSS score of 9.8, published 21 September 2026.
Which products and versions are affected?
Zlmediakit all versions.
Is there a fix for CVE-2026-67827?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-67827 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-67827?
Check whether you run Zlmediakit at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is an OS command injection in FFmpegSource.cpp where the ffmpeg.snap configuration value is used directly in a snprintf() call to build a shell command that is then executed via Process::run() and execv() without any validation or sanitization. The setServerConfig API endpoint accepts arbitrary key-value pairs and writes them to the in-memory configuration without checking for shell metacharacters. An attacker with knowledge of the API secret (default: 035c73f7-bb6b-4889-a715-d9eb2d1925cc on pre-2025-02-21 versions, or obtainable through information disclosure) can inject commands that execute with the privileges of the ZLMediaKit process.

Affected products

  • ZLMediaKit ZLMediaKit all versions

Timeline

  • 2026-08-07: disclosed: GitHub security advisory GHSA-qh3r-f727-ww9m published
  • 2025-02-21: other: Partial mitigation: auto-randomization of API secret in commit aa160c6, but injection vector remains unfixed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.