CVE-2025-68908 WordPress Barberry theme <= 2.9.9.87 - Local File Inclusion vulnerability
Attackers can exploit a local file inclusion vulnerability in the Barberry WordPress theme to read sensitive files or execute arbitrary 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-2025-68908?
CVE-2025-68908 is a high-severity path traversal vulnerability in temash Barberry, published on 22 Jan 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 temash Barberry barberry allows PHP Local File Inclusion.This issue affects Barberry: from n/a through <= 2.9.9.87.
Weakness: CWE-98
Which versions are affected by CVE-2025-68908?
How do I fix CVE-2025-68908?
No fix has been published for CVE-2025-68908 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-68908 being exploited?
There is no known exploitation of CVE-2025-68908 in the wild and no public exploit code.
Sources
Also known as GHSA-4p8r-wx48-qfxr.