Skip to main content

ffmate EUVDEUVD-2026-133908

| CVE-2026-136124 MEDIUM
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-24 VulnCheck GHSA-j3qq-5mg8-j8c4
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Write crafted-name file to watchfolder
  2. Exploit
    Break out of filename quoting
  3. Execution
    Inject extra ffmpeg/script arguments
  4. Impact
    Add network input or overwrite ffmate-writable file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Requires that ffmate (before 2.1.0) is deployed with its watchfolder feature in use and that the attacker can create files within that monitored folder - directly, via an upload path, or through a shared/network-mounted directory. The precondition is a crafted file NAME that escapes the double-quote wrapping the old wildcardReplacer applied to ${INPUT_FILE}/${OUTPUT_FILE} wildcards, so the trigger is specifically filename-based argument injection into the ffmpeg or script command line. LIMITING FACTORS: no exploitation is possible without write access to a watched folder (PR:L), and the CVSS AC:H/AT:P reflect that a specific quoting-breakout condition must be met rather than a universally reliable trigger; impact is bounded to what ffmpeg arguments can achieve under ffmate's own privileges (adding network inputs/outputs, overwriting files ffmate can write) rather than arbitrary code execution. No user interaction by an operator is required (UI:N).

Impact

This is a genuine but moderate-priority issue, not a drop-everything emergency. The CVSS 4.0 base score is 6.0 (MEDIUM) with AV:N/AC:H/AT:P/PR:L/UI:N, meaning exploitation requires low privileges (the ability to place files into a monitored watchfolder), carries high attack complexity, and depends on an attack requirement (AT:P) - the attacker needs a specific condition (quoting breakout via crafted filenames) rather than a trivial always-works path. Impact is skewed toward integrity (VI:H) with limited confidentiality (VC:L) and no availability impact (VA:N), consistent with a description centered on overwriting ffmate-writable files and adding attacker-controlled network inputs/outputs rather than full RCE or system compromise. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the signals: it is NOT listed in CISA KEV, no EPSS exploitation-probability score was provided, and no working public exploit was identified - only vendor patch commits and a VulnCheck advisory. There is therefore no evidence of active or widespread exploitation; the realistic threat is a motivated actor who already has write access to a watchfolder. MISSING DATA: EPSS score is absent from the input, so quantitative exploitation probability cannot be stated; KEV status is absent (treated as not listed). The net picture is a credible argument-injection flaw worth patching on a normal cycle, bounded by the low-privilege-but-non-trivial precondition of watchfolder write access.

Exploit ScenarioDerived

An attacker who can drop files into a directory ffmate watches creates a file whose name is crafted to break out of the double-quote wrapping that the vulnerable wildcardReplacer applied (e.g. a name containing a quote followed by extra ffmpeg flags). When ffmate builds and runs the ffmpeg (or script) command line, the injected tokens become real arguments, letting the attacker add a network input such as -i rtsp://attacker/... or redirect output to overwrite a file ffmate can write. No working public exploit was identified; the fix (PR #43) adds single-quote escaping and injection regression tests, which indirectly documents the technique.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Argument injection in ffmate (welovemedia/ffmate) before 2.1.0 lets an attacker who can place files in a monitored watchfolder craft a file name that breaks out of the double-quote wrapping the wildcardReplacer applied to ${INPUT_FILE}/${OUTPUT_FILE}, injecting extra ffmpeg or pre/post-processing script arguments. The injected tokens can add network inputs such as an RTSP source or redirect output paths to overwrite files writable by the ffmate process; the impact is bounded to what ffmpeg arguments can achieve under ffmate's own privileges rather than arbitrary code execution. Exploitation requires write access to a watched folder (PR:L) and a specific quoting-breakout condition (AC:H/AT:P), no public exploit code has been identified at time of analysis, and version 2.1.0 contains the vendor fix.

RemediationAI

Upgrade to ffmate 2.1.0, which is the vendor-released fix for this issue; the change is in pull request https://github.com/welovemedia/ffmate/pull/43, commit 37dcd92507d154b4a83d516c87e68796abe2a747, and the upstream tests confirm the new single-quote based quoteArg prevents injected tokens from appearing in the parsed argv. Where immediate upgrade is not possible, the exploit precondition is write access to a watched folder, so restrict who and what can create files there (owner-only permissions on the watchfolder, no untrusted upload endpoints or anonymous SMB/NFS mounts feeding it) and reject file names containing quote characters before they reach ffmate; both measures reduce but do not eliminate the exposure of the unquoted wildcardReplacer. Running ffmate with the least privileges it can operate under limits the file-overwrite impact, and restricting outbound network access from the ffmate host reduces the usefulness of injected network inputs such as rtsp:// sources, at the cost of breaking legitimate remote-input workflows.

Affected VersionsENISA

FFmate 0 <2.1.0

Affected Packages

euvd ffmate fix: 2.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ffmate is a Go wrapper around ffmpeg that expands wildcard placeholders in a user-supplied command template and script paths. In versions up to 2.0.18, internal/service/task/wildcard.go substituted ${INPUT_FILE} and ${OUTPUT_FILE} via fmt.Sprintf("\"%s\"", value), i.e. it wrapped the raw file name in double quotes and then handed the resulting command line to github.com/mattn/go-shellwords for tokenization before invoking ffmpeg. Because only double quotes were used and no escaping of embedded quote characters was performed, a file name containing a double quote could terminate the quoted span and introduce further argv tokens (CWE-88, argument injection) - for example a name shaped like in.mp4" -i rtsp://attacker/collect -loglevel "quiet, which the parser splits into additional -i/-loglevel arguments. The 2.1.0 fix splits the two responsibilities: a new quoteArg helper wraps values for command-line use with single quotes and renders embedded apostrophes as '"'"', while wildcardReplacer now returns a plain, unquoted value for file-path wildcards that are consumed directly by os.MkdirAll/os.WriteFile and the API. The upstream tests demonstrate that single-quoting parses identically under go-shellwords and under the Windows-safe shellwordsUnicodeSafe parser, preserving spaces, parentheses, backslashes in Windows paths and embedded apostrophes.

Know when Ffmate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Attacker needs watchfolder write access (PR:L) and a non-trivial quoting breakout (AC:H); impact is integrity-dominant (I:H) via file overwrite with limited confidentiality (C:L) and stays within ffmate's privilege (S:U).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ffmate before 2.1.0 contains an argument injection vulnerability in wildcardReplacer that allows attackers to inject ffmpeg or script arguments via crafted file names. Attackers who can create files in a watchfolder can break out of quoting to add network inputs or output paths that overwrite files writable by ffmate.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Low
niche open-source ffmpeg automation tool, limited production footprint
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy