CVE-2025-8141 Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated Arbitrary File Deletion

High 8.8 Published Updated

Unauthenticated attackers can delete arbitrary files via path traversal, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-8141?

CVE-2025-8141 is a high-severity path traversal vulnerability in themeisle Redirection for Contact Form 7, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Redirection for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_associated_files function in all versions up to, and including, 3.2.4. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

Weakness: CWE-22

Which versions are affected by CVE-2025-8141?

How do I fix CVE-2025-8141?

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

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

Sources

Also known as GHSA-4gq8-hh5j-hgxj.

Is CVE-2025-8141 in your software?

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

Check your SBOMs for free