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

CVE-2026-25379: StreamVid PHP File Inclusion Vulnerability

CVE-2026-25379 is a PHP local file inclusion flaw in jwsthemes StreamVid that enables attackers to include malicious files through path traversal. This article covers technical details, affected versions, and mitigation.

Updated:

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-25379 Overview

CVE-2026-25379 is a PHP Local File Inclusion (LFI) vulnerability in the jwsthemes StreamVid WordPress theme. The flaw stems from improper control of a filename used in a PHP include or require statement [CWE-98]. Attackers can manipulate file path parameters to force the application to load arbitrary local PHP files. The issue affects all StreamVid versions up to and including 6.8.6. Successful exploitation can lead to information disclosure, code execution through log poisoning or session file inclusion, and full compromise of the WordPress site.

Critical Impact

Unauthenticated network attackers can include arbitrary local files via the vulnerable theme, exposing sensitive configuration data and enabling code execution under the web server context.

Affected Products

  • jwsthemes StreamVid WordPress Theme — versions up to and including 6.8.6
  • WordPress installations using the StreamVid theme prior to the fixed release
  • Sites with PHP allow_url_include or writable log/session paths face elevated risk

Discovery Timeline

  • 2026-03-25 - CVE-2026-25379 published to NVD
  • 2026-04-24 - Last updated in NVD database

Technical Details for CVE-2026-25379

Vulnerability Analysis

The StreamVid theme accepts user-controlled input that is passed directly into a PHP file inclusion statement. Because the parameter is not validated against an allowlist or normalized for directory traversal sequences, an attacker can supply a crafted path. The PHP interpreter then loads and executes the referenced file. Although classified as Remote File Inclusion at the weakness level, the vendor advisory confirms the practical impact is Local File Inclusion. Attackers can read sensitive files such as wp-config.php, expose database credentials, or chain the LFI with log poisoning to achieve arbitrary code execution. The attack complexity is elevated because exploitation depends on knowing valid endpoints or parameter names within the theme.

Root Cause

The root cause is unsanitized user input flowing into a PHP include, include_once, require, or require_once statement. The theme does not enforce a strict allowlist of permissible filenames and fails to strip path traversal characters such as ../ or null bytes before dereferencing the path.

Attack Vector

The vulnerability is exploitable over the network without authentication or user interaction. An attacker issues an HTTP request to the vulnerable StreamVid endpoint with a manipulated parameter pointing to a local file path. The server resolves the path and executes any PHP within the included file, or returns its contents when execution is not possible.

No verified public proof-of-concept code is available. Refer to the Patchstack WordPress Vulnerability advisory for additional technical context.

Detection Methods for CVE-2026-25379

Indicators of Compromise

  • HTTP requests to StreamVid theme endpoints containing path traversal sequences such as ../, encoded variants like %2e%2e%2f, or null byte markers
  • Web server access logs showing query parameters referencing wp-config.php, /etc/passwd, /proc/self/environ, or PHP session files
  • Unexpected PHP errors referencing include() or require() failures with attacker-controlled paths
  • Outbound connections from the web server to unfamiliar hosts following suspicious inbound requests

Detection Strategies

  • Inspect WordPress access logs for requests targeting StreamVid theme PHP files with suspicious query string values
  • Deploy web application firewall (WAF) rules that flag directory traversal patterns and PHP wrapper schemes such as php://filter or data://
  • Correlate web request anomalies with file system reads of sensitive configuration files using endpoint telemetry

Monitoring Recommendations

  • Enable PHP error logging and alert on repeated failed to open stream or No such file or directory messages from theme files
  • Monitor file integrity for wp-config.php, theme directories, and uploaded media for unexpected access or modification
  • Track new outbound network connections initiated by the PHP-FPM or web server process

How to Mitigate CVE-2026-25379

Immediate Actions Required

  • Upgrade the StreamVid theme to a version later than 6.8.6 once the vendor publishes a patched release
  • Disable or remove the StreamVid theme on sites that cannot apply the update
  • Audit web server and PHP logs for evidence of prior exploitation attempts targeting theme parameters
  • Rotate WordPress database credentials, salts, and API keys if wp-config.php may have been disclosed

Patch Information

Review the Patchstack WordPress Vulnerability advisory for the latest fixed version and remediation guidance from jwsthemes. Apply the vendor-supplied update through the WordPress administrative dashboard or by replacing the theme files manually.

Workarounds

  • Set allow_url_include = Off and allow_url_fopen = Off in php.ini to reduce inclusion risk
  • Deploy a WAF rule blocking requests to StreamVid theme paths containing ../, php://, or data:// patterns
  • Restrict file system permissions so the web server account cannot read sensitive files outside the WordPress document root
bash
# Example ModSecurity rule to block LFI attempts against StreamVid
SecRule REQUEST_URI "@contains /wp-content/themes/streamvid/" \
    "chain,deny,status:403,id:1002026,msg:'StreamVid LFI attempt blocked'"
    SecRule ARGS "@rx (\.\./|php://|data://|%2e%2e%2f)" "t:lowercase,t:urlDecodeUni"

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.