Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2868+ Articles
168+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. Critical Argument Injection in Fireshare Lets Attackers Overwrite Files
Critical Argument Injection in Fireshare Lets Attackers Overwrite Files

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-54337

Critical Argument Injection in Fireshare Lets Attackers Overwrite Files

CVE-2026-54337 lets unauthenticated attackers inject ffmpeg arguments via Fireshare's video upload endpoint to write or overwrite arbitrary files.

Dylan H.

Security Team

September 16, 2026
3 min read

Affected Products

  • Fireshare ≤ 1.6.13

Executive Summary

A critical argument injection vulnerability (CVE-2026-54337) has been disclosed in Fireshare, a self-hosted media and link sharing platform. The flaw carries a CVSS score of 9.8 and lets an unauthenticated attacker write or overwrite arbitrary files on the host by smuggling extra command-line flags into the backend's video-processing call during upload. A fix is available in version 1.6.14.

CVSS Score: 9.8 (Critical)


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-54337
CVSS Score9.8 (Critical)
CWECWE-88 — Argument Injection
TypeUnauthenticated Arbitrary File Write/Overwrite
Attack VectorNetwork (no authentication required)
Privileges RequiredNone
User InteractionNone
LocationPublic video upload API (/api/upload/public)

Affected Versions

ProjectAffected VersionsFixed Version
Fireshare (ShaneIsrael/fireshare)≤ 1.6.131.6.14

How the Exploit Works

Fireshare's public upload handler accepts a filename and folder value from the multipart form submission and passes elements derived from them into an ffmpeg-style command line used to process the uploaded video. Because those values aren't strictly separated from command arguments, an attacker can smuggle flags such as -select_streams and -o into the invocation, redirecting where the processed output gets written.

A public proof-of-concept demonstrates the technique with a crafted curl request:

curl -F "file=@video.mp4;filename=target -select_streams v.mp4" \
     -F "folder=target_path -o /destination/path" \
     http://TARGET/api/upload/public

Because the injected -o flag controls the output destination, the attacker effectively gets an arbitrary file write primitive — no login, API key, or prior access required.

Impact of Successful Exploitation

ImpactDescription
Arbitrary File WriteCreate or overwrite files reachable by the service account
Database CorruptionOverwriting db.sqlite renders the instance unusable (denial of service)
Data LossDestructive overwrites of stored media/config without authentication
Potential PivotDepending on deployment (bind mounts, shared volumes), writable paths outside /data could expand impact

Fireshare's default deployment runs the web process under a restricted user with write access effectively limited to /data, /processed, /images, and /videos — which caps the blast radius on a stock install, but does not require authentication to trigger.


Remediation

Step 1: Update to Version 1.6.14

Pull the latest Fireshare image or release and redeploy:

docker compose pull fireshare
docker compose up -d fireshare

Confirm the running version matches 1.6.14 or later before treating the instance as remediated.

Step 2: Restrict Exposure

If immediate patching isn't possible:

  1. Do not expose the /api/upload/public endpoint directly to the internet — place it behind authentication at a reverse proxy or VPN.
  2. Review the container's filesystem permissions to ensure the service account cannot write outside its intended data directories.
  3. Monitor for unexpected writes to db.sqlite or other core application files.

Step 3: Check for Compromise

# Look for unexpected file modification timestamps outside normal upload activity
find /data /processed /images /videos -newer /path/to/known-good-reference -type f
 
# Confirm the SQLite database hasn't been overwritten or corrupted
sqlite3 /data/db.sqlite "PRAGMA integrity_check;"

References

  • GitHub Security Advisory — GHSA-hmh2-6g84-q8jx
  • NIST NVD — CVE-2026-54337
  • 4qu4r1um/CVE-2026-54337-PoC

Related Reading

  • Critical RCE in WPvivid Backup Plugin Threatens 900,000+
  • CVE-2026-61559: Critical SSRF and Token Leakage in GitLab MCP
  • CVE-2026-61568: DNS Rebinding in GitLab MCP Server
#Fireshare#Argument Injection#CVE-2026-54337#Self-Hosted#File Upload#CWE-88

Related Articles

CVE-2026-40047: Apache Camel Docling Argument Injection Enables OS Command Execution

A critical argument injection vulnerability in Apache Camel's camel-docling component allows attackers to inject arbitrary CLI arguments into the docling...

5 min read

CVE-2026-47365: WordPress Toolkit Argument Injection in cPanel & WHM

A critical CVSS 9.9 argument injection vulnerability in WordPress Toolkit before 6.11.0 allows remote authenticated users to bypass cross-tenant...

4 min read

FFmpeg PixelSmash: CVE-2026-8461 Enables RCE via Crafted Video Files Across Thousands of Apps

A heap out-of-bounds write in FFmpeg's MagicYUV decoder — CVE-2026-8461, CVSS 8.8 — lets attackers execute shell commands by delivering a 50 KB video...

4 min read
Back to all Security Alerts