CVE-2026-57791 WordPress Brook theme <= 2.9.0 - Local File Inclusion vulnerability

High 7.5 Published Updated

An attacker can exploit a local file inclusion vulnerability in the Brook WordPress theme to read sensitive files or execute arbitrary code.

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-2026-57791?

CVE-2026-57791 is a high-severity path traversal vulnerability in ThemeMove Brook, published on 13 Jul 2026. Any signed-in user can exploit it over the network, 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 ThemeMove Brook brook allows PHP Local File Inclusion.This issue affects Brook: from n/a through <= 2.9.0.

Weakness: CWE-98

Which versions are affected by CVE-2026-57791?

How do I fix CVE-2026-57791?

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

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

Sources

Also known as GHSA-7pcc-hrvx-j227.

Is CVE-2026-57791 in your software?

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

Check your SBOMs for free