CVE-2024-8031 Secure Downloads < 1.2.3 - Admin+ Arbitrary File Download

Medium 6.5 Published Updated

Authenticated admins can download arbitrary files, including sensitive configuration files, due to improper file access restrictions.

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-2024-8031?

CVE-2024-8031 is a medium-severity path traversal vulnerability in Unknown Secure Downloads, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Secure Downloads WordPress plugin before 1.2.3 is vulnerable does not properly restrict which files can be downloaded. This makes it possible for authenticated attackers, with admin-level access and above, to download arbitrary files that may contain sensitive information like wp-config.php.

Weakness: CWE-552

Which versions are affected by CVE-2024-8031?

It affects 1 product.

Products include Wpbookingcalendar Secure Downloads.

How do I fix CVE-2024-8031?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8031 exists.

Sources

Also known as GHSA-p8rv-v842-xwm4.

Is CVE-2024-8031 in your software?

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

Check your SBOMs for free