CVE-2026-137407 in Media Library Folders Plugin
Summary
by MITRE • 11/26/2026
A security vulnerability has been detected in Max Foundry Media Library Folders Plugin up to 8.4.3 on WordPress. Affected by this issue is the function mlfp_toggle_file_access of the file media-library-plus.php of the component Block Direct Access. Such manipulation of the argument file_id leads to missing authorization. The attack can be executed remotely. Upgrading to version 8.4.4 can resolve this issue. You should upgrade the affected component.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The Max Foundry Media Library Folders Plugin, specifically versions up through 8.4.3 for WordPress, contains a critical security flaw within its Block Direct Access functionality. This vulnerability resides in the mlfp_toggle_file_access function located in the media-library-plus.php file. The core issue is a failure to enforce proper authorization checks when handling requests that manipulate the file_id argument. Because this component is designed to restrict direct access to uploaded files, bypassing these controls allows attackers to retrieve sensitive data that should be protected by WordPress's standard permission structures. This represents a significant lapse in server-side request validation where the application fails to verify if the requesting user has legitimate rights to view or manipulate the specified media asset before processing the action.
From a technical perspective, this vulnerability is classified as an Insecure Direct Object Reference, which corresponds to CWE-639 in the Common Weakness Enumeration standard. The flaw arises because the mlfp_toggle_file_access function accepts the file_id parameter from user input without sufficiently validating whether that ID belongs to resources accessible by the current authenticated session or role level. An attacker can exploit this by crafting specific HTTP requests with manipulated identifiers, effectively tricking the server into revealing files associated with other users or administrative areas. Since the attack vector is remote and requires no special privileges beyond a valid WordPress account in many configurations, it poses a high risk to site integrity and data confidentiality. The ability to toggle file access controls remotely means that an adversary could potentially expose private media assets, leading to unauthorized disclosure of sensitive information stored within the WordPress installation.
The operational impact of this vulnerability extends beyond simple data leakage. By exploiting the missing authorization check, attackers can enumerate valid file IDs and download restricted content such as confidential documents, user-uploaded images containing personal identifiable information, or proprietary business materials. This undermines the trust model of the web application and violates principles outlined in the MITRE ATT&CK framework under techniques related to Collection and Exfiltration over Alternative Protocol if combined with other tools. The lack of proper access control also opens avenues for further exploitation where compromised files might be used for social engineering attacks or as part of a larger intrusion campaign against the hosting organization.
To mitigate this risk, immediate action is required by upgrading the Max Foundry Media Library Folders Plugin to version 8.4.4 or later, which addresses these authorization gaps in the mlfp_toggle_file_access function. Administrators should verify that all instances of the plugin are updated across their WordPress environments. Additionally, implementing Web Application Firewall rules can provide a temporary layer of defense by monitoring for anomalous patterns in file access requests until patches are applied. Regular security audits and adherence to secure coding practices that emphasize strict input validation and authorization checks on every function handling sensitive resources will help prevent similar vulnerabilities from being introduced in future updates or other plugins within the ecosystem.