CVE-2026-57791

WordPress Brook theme <= 2.9.0 - Local File Inclusion vulnerability

Published Jul 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability arises from improper control of filenames used in PHP include/require statements within the Brook theme, allowing the inclusion of arbitrary local files during page rendering. The flaw corresponds to CWE‑98, which concerns insecure handling of filenames in inclusion functions. Based on the description, it is inferred that the included file could contain executable code and, therefore, may lead to remote code execution if the environment permits.

Affected Systems

The Brook theme supplied by ThemeMove is affected in all releases up to and including version 2.9.0. Users running any of these versions on a WordPress site are potentially susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, while the EPSS score of less than 1% indicates a very low exploitation probability at present. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is via a publicly exposed URL parameter or form field that influences the include path. The required prerequisites are typically a functional WordPress installation with the Brook theme active and the vulnerable include logic reachable from the web.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Brook theme to any version newer than 2.9.0.
  • Sanitize or whitelist the filename parameter used in the Brook theme’s include statement to accept only predefined safe paths.
  • Deploy a web application firewall to block directory traversal sequences such as "../../" when targeting the Brook theme’s include functionality.
  • Monitor web server logs for unusual file inclusion attempts and promptly investigate any suspicious activity.

Generated by OpenCVE AI on August 1, 2026 at 10:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thememove
Thememove brook
Wordpress
Wordpress wordpress
Vendors & Products Thememove
Thememove brook
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title WordPress Brook theme <= 2.9.0 - Local File Inclusion vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Jul 13, 2026, 2:56 PM
Reserved
Jun 25, 2026, 8:05 AM
Status
Deferred
Published
Jul 13, 2026, 10:16 AM
Modified
Oct 24, 2026, 10:10 PM