CVE-2026-22371 WordPress Gustavo theme <= 1.2.2 - Local File Inclusion vulnerability
An attacker can exploit a local file inclusion vulnerability in the Gustavo WordPress theme to read arbitrary files or execute code.
- 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-2026-22371?
CVE-2026-22371 is a high-severity path traversal vulnerability in AncoraThemes Gustavo, published on 20 Feb 2026. 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 AncoraThemes Gustavo gustavo allows PHP Local File Inclusion.This issue affects Gustavo: from n/a through <= 1.2.2.
Weakness: CWE-98
Which versions are affected by CVE-2026-22371?
How do I fix CVE-2026-22371?
No fix has been published for CVE-2026-22371 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-2026-22371 being exploited?
There is no known exploitation of CVE-2026-22371 in the wild and no public exploit code.
Sources
Also known as GHSA-qv9f-wvw4-25rj.