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

CVE-2026-105892: rtMedia Path Traversal Vulnerability

CVE-2026-105892 is a path traversal vulnerability in rtMedia for WordPress, BuddyPress and bbPress that allows attackers to access restricted directories. This post explains its impact, 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-105892 Overview

CVE-2026-105892 is a path traversal vulnerability in the rtMedia for WordPress, BuddyPress and bbPress plugin developed by rtCamp Inc. The flaw affects all versions up to and including 4.7.13 and enables arbitrary file deletion on the underlying host. The weakness maps to CWE-22, Improper Limitation of a Pathname to a Restricted Directory. An unauthenticated attacker can reach the vulnerable code over the network without user interaction. Successful exploitation can disrupt the WordPress installation and, in some configurations, lead to full site takeover.

Critical Impact

Unauthenticated remote attackers can delete arbitrary files on the server, including WordPress core files such as wp-config.php, enabling site compromise.

Affected Products

  • rtMedia for WordPress, BuddyPress and bbPress (plugin slug buddypress-media)
  • All versions from n/a through 4.7.13
  • WordPress sites running the rtCamp rtMedia plugin

Discovery Timeline

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

Technical Details for CVE-2026-105892

Vulnerability Analysis

The vulnerability resides in the rtMedia plugin's handling of user-supplied file path parameters. The plugin fails to properly sanitize or canonicalize input before passing it to file deletion routines. An attacker can submit crafted path values containing traversal sequences such as ../ to escape the intended media directory. The deletion operation then executes against arbitrary files anywhere the web server user has write access.

Because the vulnerable endpoint does not require authentication, exploitation only needs network reachability to the WordPress site. The impact extends beyond media file loss. Attackers commonly delete wp-config.php to force WordPress into the installation wizard, allowing them to connect the site to an attacker-controlled database and seize administrator access.

Root Cause

The root cause is missing path validation on a file path parameter accepted by a plugin handler. The code concatenates attacker-controlled input into a filesystem path without verifying that the resolved path remains inside the designated upload directory. This is a classic CWE-22 pattern where realpath() checks or allowlist comparisons are absent.

Attack Vector

Exploitation occurs over HTTP or HTTPS against the WordPress site. The attacker issues a request to the vulnerable rtMedia endpoint with a file or similar path parameter containing directory traversal sequences. The server resolves the path, locates the target file outside the media directory, and deletes it. See the Patchstack advisory for additional technical context.

Detection Methods for CVE-2026-105892

Indicators of Compromise

  • HTTP requests to rtMedia plugin endpoints containing ../, ..%2f, or encoded traversal sequences in path parameters
  • Unexpected deletion of WordPress core files, especially wp-config.php, .htaccess, or index.php
  • WordPress unexpectedly displaying the initial installation screen, indicating wp-config.php was removed
  • PHP error log entries referencing missing files that were present prior to the request

Detection Strategies

  • Inspect web server access logs for POST or GET requests to /wp-content/plugins/buddypress-media/ endpoints containing traversal patterns
  • Deploy web application firewall rules that block path traversal sequences in request parameters targeting WordPress plugin paths
  • File integrity monitoring on the WordPress document root to alert on deletion of core files

Monitoring Recommendations

  • Enable WordPress audit logging to capture plugin-level file operations and administrative state changes
  • Forward web server and PHP error logs to a centralized analytics platform for correlation with file integrity events
  • Alert on any observation of the WordPress setup wizard being served to an authenticated session

How to Mitigate CVE-2026-105892

Immediate Actions Required

  • Upgrade the rtMedia for WordPress, BuddyPress and bbPress plugin to a version newer than 4.7.13 as soon as rtCamp publishes a fixed release
  • If a patched release is unavailable, deactivate and remove the plugin from all affected WordPress installations
  • Audit the WordPress document root for missing or recently modified files and restore from known-good backups where needed
  • Rotate database credentials and WordPress secret keys if wp-config.php was accessible to the web server at the time of a suspicious request

Patch Information

At the time of publication, the Patchstack advisory lists all versions through 4.7.13 as affected. Monitor the Patchstack advisory and the official rtCamp plugin page for a fixed release and apply it across all WordPress environments.

Workarounds

  • Block requests containing ../, ..%2f, or ..%5c sequences at the web application firewall or reverse proxy layer
  • Restrict filesystem permissions so the PHP worker account cannot delete files outside the uploads directory
  • Remove the plugin directory entirely until a fixed version is installed
bash
# Example WAF rule concept (ModSecurity) to block path traversal against the plugin
SecRule REQUEST_URI "@contains /wp-content/plugins/buddypress-media/" \
  "id:1050892,phase:2,deny,status:403,msg:'rtMedia path traversal attempt',\
   chain"
  SecRule ARGS "@rx (\.\./|\.\.%2f|\.\.%5c)" "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.