Skip to main content
Vulnerability Database/CVE-2026-110212

CVE-2026-110212: ai-fusion-video Path Traversal Vulnerability

CVE-2026-110212 is a path traversal flaw in Stonewuu ai-fusion-video that lets authenticated attackers write files outside the media directory. This article covers the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110212 Overview

CVE-2026-110212 is a path traversal vulnerability [CWE-22] in Stonewuu ai-fusion-video through version 1.2.0. The flaw resides in the POST /api/storage/upload endpoint, where the subDir parameter is passed to LocalStorageStrategy.storeBytes without normalization. Authenticated users can supply parent-directory sequences (../) to write uploaded files outside the intended media directory. Attackers control the destination path, filename, and extension, limited only by the permissions of the service account running the application.

Critical Impact

Authenticated attackers can write arbitrary files to any location writable by the service account, enabling potential overwrite of configuration files or placement of attacker-controlled content within web-accessible directories.

Affected Products

  • Stonewuu ai-fusion-video versions up to and including 1.2.0
  • FileUploadController component handling /api/storage/upload
  • LocalStorageStrategy storage backend

Discovery Timeline

  • 2026-10-13 - CVE-2026-110212 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-110212

Vulnerability Analysis

The vulnerability affects the file upload workflow in ai-fusion-video. The controller method in FileUploadController.java accepts an attacker-supplied subDir request parameter and passes it directly to the storage layer. LocalStorageStrategy.storeBytes concatenates this value with the configured media directory to form the final write path.

Because the implementation performs no canonicalization or validation, path traversal sequences such as ../../ are preserved. The service creates intermediate directories as needed and writes attacker-controlled bytes using an attacker-selected filename and extension. Review of the source references on GitHub File Upload Controller and GitHub Local Storage Strategy confirms the missing normalization.

Exploitation requires only low-privileged authentication. The impact is bounded to integrity of the host filesystem; confidentiality and availability are not directly affected by the primary flaw.

Root Cause

The storeBytes routine in LocalStorageStrategy trusts the subDir input and does not resolve or validate the final path against the configured base directory. Standard Java APIs such as Path.normalize() and comparison against a canonical base are absent, breaking the containment boundary expected by the controller.

Attack Vector

An authenticated attacker issues a POST request to /api/storage/upload with a crafted subDir value containing ../ segments. The server resolves the write path relative to the media directory, climbs out of that directory, and places the uploaded file at the attacker-chosen location. See the VulnCheck Path Traversal Advisory and HackMD Access Control Analysis for detailed exploitation walkthroughs.

// No verified exploitation code available; see linked advisories for request details.

Detection Methods for CVE-2026-110212

Indicators of Compromise

  • Requests to /api/storage/upload where the subDir parameter contains .., ..%2f, ..%5c, or URL-encoded traversal sequences.
  • Unexpected files appearing outside the configured media directory, especially under application config, web root, or service account home paths.
  • New directories created under the application runtime user that do not match the application's media layout.

Detection Strategies

  • Inspect application and reverse-proxy access logs for POST /api/storage/upload with suspicious subDir values and alert on parent-directory tokens.
  • Enable filesystem auditing (auditd on Linux) on directories outside the designated media path to flag writes by the ai-fusion-video service account.
  • Correlate successful uploads with subsequent process execution or configuration reload events to identify follow-on activity.

Monitoring Recommendations

  • Forward web server and application logs to a centralized analytics pipeline and build detections for traversal patterns in upload parameters.
  • Monitor file integrity on application configuration, template, and static asset directories.
  • Track authenticated session activity for anomalous upload volumes or non-media file extensions.

How to Mitigate CVE-2026-110212

Immediate Actions Required

  • Restrict network access to /api/storage/upload to trusted users and networks via reverse proxy or WAF rules until a fix is deployed.
  • Add input validation at the proxy layer to reject subDir values containing .., absolute paths, or encoded traversal sequences.
  • Run the ai-fusion-video service under a dedicated low-privilege account with write access limited to the media directory.

Patch Information

No fixed version has been published at the time of writing. Monitor the upstream repository for a release beyond 1.2.0 that normalizes the subDir parameter and enforces containment within the configured media base path.

Workarounds

  • Deploy a WAF rule that blocks requests to /api/storage/upload whose subDir parameter contains ../, ..\, %2e%2e, or absolute path prefixes.
  • Mount the media directory on a dedicated filesystem and apply mandatory access controls (SELinux, AppArmor) that confine writes by the service account.
  • Apply a local patch that calls Path.resolve(subDir).normalize() and verifies the result starts with the canonical media base path before invoking storeBytes.
bash
# Example reverse-proxy guard (nginx) to block traversal in subDir
location = /api/storage/upload {
    if ($arg_subDir ~* "(\.\./|\.\.\\|%2e%2e|^/)") {
        return 400;
    }
    proxy_pass http://ai_fusion_video_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.