CVE-2025-6070 MEDIUM

CVE-2025-6070: Restrict File Access <= 1.1.2 - Authenticated (Subscriber+) Arbitrary File Read

Vendor Josxha
Product Restrict File Access
Weakness CWE-22 · Path traversal
Published June 14, 2025
Last update April 8, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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