CVE-2026-28041
Published: 05 March 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Grit grit allows PHP Local File Inclusion.This issue affects Grit: from n/a through <= 1.0.1.
Mitigating Controls (NIST 800-53 r5)AI
Flaw remediation directly mitigates the PHP Local File Inclusion vulnerability by patching the improper filename control in the Grit WordPress theme.
Information input validation ensures filenames passed to PHP include/require statements are sanitized and whitelisted to block arbitrary local file inclusion.
Vulnerability monitoring and scanning identifies the presence of this LFI vulnerability in the Grit theme, enabling timely remediation.
Security SummaryAI
CVE-2026-28041 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified under CWE-98 and labeled as PHP Remote File Inclusion, that enables PHP Local File Inclusion in the Grit WordPress theme developed by AncoraThemes. This issue affects all versions of Grit from n/a through 1.0.1 inclusive. The vulnerability carries a CVSS 3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to its potential for significant impact.
Unauthenticated remote attackers can exploit this vulnerability over the network with high attack complexity and no user interaction required. Successful exploitation allows local file inclusion, enabling attackers to read arbitrary files on the server, which could lead to high impacts on confidentiality, integrity, and availability as reflected in the CVSS metrics.
Advisories, including the Patchstack database entry at https://patchstack.com/database/Wordpress/Theme/grit/vulnerability/wordpress-grit-theme-1-0-1-local-file-inclusion-vulnerability?_s_id=cve, detail the local file inclusion vulnerability in the Grit theme version 1.0.1 and provide guidance on mitigation.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is a Remote/Local File Inclusion flaw in a public-facing WordPress theme, directly enabling exploitation of public-facing applications without authentication.