CVE-2025-39406 WordPress WPAMS plugin <= 44.0 - Local File Inclusion to Privilege Escalation vulnerability

Critical 9.8 Published Updated

Attackers can exploit a local file inclusion flaw in the WPAMS plugin to execute arbitrary code and escalate privileges.

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

What is CVE-2025-39406?

CVE-2025-39406 is a critical path traversal vulnerability in mojoomla WPAMS, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in mojoomla WPAMS apartment-management allows PHP Local File Inclusion.This issue affects WPAMS: from n/a through <= 44.0.

Weakness: CWE-98

Which versions are affected by CVE-2025-39406?

How do I fix CVE-2025-39406?

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

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

Sources

Also known as GHSA-x3h8-5m65-8vcm.

Is CVE-2025-39406 in your software?

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

Check your SBOMs for free