CVE-2025-6070 Restrict File Access <= 1.1.2 - Authenticated (Subscriber+) Arbitrary File Read
Authenticated attackers can read arbitrary files on the server via directory traversal in the Restrict File Access WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6070?
CVE-2025-6070 is a medium-severity path traversal vulnerability in josxha Restrict File Access, published on 14 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2025-6070?
How do I fix CVE-2025-6070?
No fix has been published for CVE-2025-6070 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-6070 being exploited?
There is no known exploitation of CVE-2025-6070 in the wild and no public exploit code.
Sources
Also known as GHSA-c96c-cv9h-9f96.