CVE-2026-27336
Published: 05 March 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Consultor | Consulting, Accounting & Legal Counsel WordPress Theme consultor allows PHP Local File Inclusion.This issue affects Consultor | Consulting, Accounting & Legal…
more
Counsel WordPress Theme: from n/a through <= 1.2.4.
Mitigating Controls (NIST 800-53 r5)AI
Requires validation of user-supplied filenames prior to use in PHP include/require statements, directly preventing exploitation of this local file inclusion vulnerability.
Mandates timely flaw remediation, such as patching or updating the vulnerable Consultor WordPress theme to versions beyond 1.2.4.
Restricts information inputs like filenames to only authorized safe values, limiting the ability to include arbitrary local files.
Security SummaryAI
CVE-2026-27336 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified under CWE-98, that enables PHP Local File Inclusion in the Consultor | Consulting, Accounting & Legal Counsel WordPress Theme by AncoraThemes. This flaw affects all versions of the theme from unspecified initial releases through 1.2.4, stemming from inadequate validation of filenames used in PHP include or require statements.
The vulnerability carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating exploitation is possible over the network by unauthenticated attackers without user interaction, though it demands high attack complexity. Attackers can achieve high impacts on confidentiality, integrity, and availability, such as reading sensitive local files, executing arbitrary code if PHP files are included, or disrupting theme functionality.
Mitigation guidance is available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/consultor/vulnerability/wordpress-consultor-consulting-accounting-legal-counsel-wordpress-theme-theme-1-2-4-local-file-inclusion-vulnerability?_s_id=cve, which details the vulnerability in the context of WordPress theme security.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an unauthenticated Local File Inclusion (LFI) in a public-facing WordPress theme, enabling remote exploitation for PHP code execution, directly mapping to Exploit Public-Facing Application (T1190).