CVE-2025-30596 WordPress include-file plugin <= 1 - Arbitrary File Download Vulnerability

Medium 6.5 Published Updated

An attacker can exploit a path traversal flaw in the include-file WordPress plugin to download arbitrary files from the server.

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-30596?

CVE-2025-30596 is a medium-severity path traversal vulnerability in tstafford include-file, published on 3 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in tstafford include-file include-file allows Path Traversal.This issue affects include-file: from n/a through <= 1.

Weakness: CWE-22

Which versions are affected by CVE-2025-30596?

How do I fix CVE-2025-30596?

No fix has been published for CVE-2025-30596 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-30596 being exploited?

There is no known exploitation of CVE-2025-30596 in the wild and no public exploit code.

Sources

Also known as GHSA-fhr7-jm6m-fgjx.

Is CVE-2025-30596 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free