Cyber Posture

CVE-2026-22371

High

Published: 20 February 2026

Published
20 February 2026
Modified
15 April 2026
KEV Added
Patch
CVSS Score 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0006 17.5th percentile
Risk Priority 16 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-22371 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 17.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 2 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Remediating the flaw in the Gustavo WordPress theme directly patches the PHP local file inclusion vulnerability, preventing exploitation across all affected versions.

prevent

Validating filename inputs used in PHP include/require statements in the vulnerable theme prevents attackers from supplying malicious paths for local file inclusion.

prevent

Restricting filename inputs to only approved values or patterns blocks unauthorized local file inclusion attempts in the Gustavo theme's PHP code.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Why these techniques?

LFI in public-facing WordPress theme enables T1190 (exploit public-facing app), facilitates T1005 (data from local system via file access), and T1552.001 (credentials in files like wp-config.php).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

NVD Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Gustavo gustavo allows PHP Local File Inclusion.This issue affects Gustavo: from n/a through <= 1.2.2.

Deeper analysisAI

CVE-2026-22371 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified as a PHP Remote File Inclusion issue that enables PHP Local File Inclusion. It affects the Gustavo WordPress theme developed by AncoraThemes, impacting all versions from n/a through 1.2.2.

The vulnerability carries a CVSS v3.1 base score of 8.1 (High), with an attack vector of network (AV:N), high attack complexity (AC:H), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), and high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). Unauthenticated remote attackers can exploit it to perform local file inclusion, potentially allowing them to read sensitive files, execute arbitrary code, modify data, or disrupt service on affected WordPress installations running the vulnerable theme.

Patchstack has documented this local file inclusion vulnerability specific to the Gustavo WordPress theme version 1.2.2 in their database.

Details

CWE(s)

CVEs Like This One

CVE-2026-22364Shared CWE-98
CVE-2025-60198Shared CWE-98
CVE-2025-67530Shared CWE-98
CVE-2026-27996Shared CWE-98
CVE-2026-22412Shared CWE-98
CVE-2026-28059Shared CWE-98
CVE-2026-32400Shared CWE-98
CVE-2025-58925Shared CWE-98
CVE-2025-62010Shared CWE-98
CVE-2026-32393Shared CWE-98

References