What the vulnerability does
01Description
The Restrict File Access plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.1.2 via the output() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information.
Explanation of Vulnerability in Simple Terms
02Summary
Restrict File Access versions 1.1.2 and earlier contain a path traversal vulnerability that allows authenticated users to read files outside the intended directory. An attacker with low-level access can craft requests to access sensitive files on the server. No user interaction is required. Update to a version newer than 1.1.2.
What an attacker can do
03Attacker Capabilities
Read arbitrary files on the server outside the restricted directory.
Potential impact on your site
04Site Impact
Sensitive files (config, database credentials, private keys) may be exposed to authenticated users.
Conditions required to exploit
05Prerequisites
Attacker must have low-level authenticated access to the application.
Key dates
06Disclosure timeline
June 14, 2025
CVE published
April 8, 2026
Record updated