CVE-2025-13681 BFG Tools – Extension Zipper <= 1.0.7 - Authenticated (Administrator+) Path Traversal via 'first_file' Parameter

Medium 4.9 Published Updated

Authenticated administrators can read arbitrary files outside the plugin directory via path traversal in the Extension Zipper plugin.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-13681?

CVE-2025-13681 is a medium-severity path traversal vulnerability in thebaldfatguy BFG Tools – Extension Zipper, published on 14 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The BFG Tools – Extension Zipper plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.0.7. This is due to insufficient input validation on the user-supplied `first_file` parameter in the `zip()` function. This makes it possible for authenticated attackers, with Administrator-level access and above, to read the contents of arbitrary files and directories outside the intended `/wp-content/plugins/` directory, which can contain sensitive information such as wp-config.php.

Weakness: CWE-22

Which versions are affected by CVE-2025-13681?

How do I fix CVE-2025-13681?

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

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

Sources

Also known as GHSA-7254-7x79-hj7p.

Is CVE-2025-13681 in your software?

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

Check your SBOMs for free