Summary
CVE-2026-66653 is an unauthenticated Local File Inclusion (LFI) vulnerability in the Edge-Themes Barista WordPress theme, affecting all versions up to and including 2.5.1. The flaw stems from improper control of filenames used in a PHP include/require statement, allowing a remote, unauthenticated attacker to influence which file is loaded by the vulnerable code path. It is rated HIGH severity (CVSS 8.1).
Technical details
- Root cause: Improper control of filename for include/require statements in PHP (CWE-98) within the Barista theme code.
- Trigger conditions: A remote attacker supplies a crafted file path/parameter that is passed unsanitized into a PHP include/require call.
- Attack vector: Network-based, requires no authentication and no user interaction (AV:N/PR:N/UI:N).
- Impact: Depending on server configuration, LFI of this type can be leveraged to disclose sensitive local files, and in some environments to achieve remote code execution (e.g., via log poisoning or inclusion of attacker-controllable files), impacting confidentiality, integrity, and availability of the affected WordPress site.
Affected software
- Edge-Themes Barista WordPress theme, versions ≤ 2.5.1
Severity
- CVSS v3.1 Base Score: 8.1 (High)
- Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade the Barista theme to a version newer than 2.5.1 that resolves this issue, once the vendor releases a patched build.
- If no patch is available: Restrict or disable public access to the theme’s file-inclusion functionality, apply web application firewall (WAF) rules to block path-traversal/LFI patterns in requests, and monitor web server logs for anomalous file-inclusion attempts. Consider temporarily deactivating the theme if a fix is not yet available.

