Description
Cockpit CMS 2.14.0 and prior contains a command injection vulnerability in the FFmpeg integration that allows authenticated users with only the assets/upload permission to execute arbitrary commands by uploading a video file with a shell metacharacter-laden filename. The unsanitized filename is interpolated into a shell command executed via Process::fromShellCommandline() before the slugify() sanitizer runs, enabling injected shell metacharacters such as backticks, $(), and semicolons to escape the FFmpeg command context and execute as the web-server user.
Published: 2026-08-14
Score: 8.7 High
EPSS: 1.5% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an OS command injection flaw where the file name supplied during an upload is inserted into a shell command that calls FFmpeg without proper sanitization. A user who is authenticated and possesses only the assets/upload permission can craft a filename containing shell metacharacters such as backticks, $(), or semicolons that are executed by the web‑server process. The result is the arbitrary execution of system commands with the privileges of the web server, allowing attackers to read, modify, or delete data, and potentially pivot to other systems.

Affected Systems

Cockpit CMS by Cockpit HQ, version 2.14.0 and all earlier releases. The flaw exists before the release that patched the command sanitization logic. The affected component is the FFmpeg integration used during video uploads.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector involves an authenticated user uploading a file through the web interface, providing a malicious filename. The CVSS score of 8.7 indicates a high severity. Exploitation requires only that the user be authenticated with upload permission and that they upload a file with a malicious name, a scenario that can be achieved via web traffic. Because the command runs as the web‑server user, the impact can be system‑wide. The EPSS score is 1.476%, and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS and the proven remote code execution capability make it a near‑term threat.

Generated by OpenCVE AI on August 15, 2026 at 22:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Cockpit CMS to the latest version where this issue is fixed, or apply the upstream patch that sanitizes the filename before invoking FFmpeg (e.g., the commit 28813596f57685f63d3a48f655e8e9bd2b535cab).
  • If an upgrade is not immediately possible, restrict the assets/upload permission to a minimal set of trusted users and disable the FFmpeg integration until remediation.
  • Deploy an application‑level firewall rule to detect and block file uploads whose filenames contain shell metacharacters, thereby reducing the risk of command injection while a patch or permission restriction is applied.

Generated by OpenCVE AI on August 15, 2026 at 22:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Cockpit-hq
Cockpit-hq cockpit
Vendors & Products Cockpit-hq
Cockpit-hq cockpit

Fri, 14 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description Cockpit CMS 2.14.0 and prior contains a command injection vulnerability in the FFmpeg integration that allows authenticated users with only the assets/upload permission to execute arbitrary commands by uploading a video file with a shell metacharacter-laden filename. The unsanitized filename is interpolated into a shell command executed via Process::fromShellCommandline() before the slugify() sanitizer runs, enabling injected shell metacharacters such as backticks, $(), and semicolons to escape the FFmpeg command context and execute as the web-server user.
Title Cockpit CMS 2.14.0 Authenticated Command Injection via FFmpeg Filename
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Cockpit-hq Cockpit
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T15:52:57.125Z

Reserved: 2026-08-13T15:15:35.896Z

Link: CVE-2026-73680

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-08-14T20:16:58.080

Modified: 2026-08-26T16:57:52.167

Link: CVE-2026-73680

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T11:00:07Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')