CVE-2026-23978
Published: 22 January 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Softwebmedia Gyan Elements gyan-elements allows PHP Local File Inclusion.This issue affects Gyan Elements: from n/a through <= 2.2.1.
Mitigating Controls (NIST 800-53 r5)AI
Directly mitigates improper filename control in PHP include/require by validating inputs to prevent local file inclusion attacks.
Restricts filenames and paths used in PHP include/require statements to approved safe locations, blocking unauthorized local file access.
Ensures timely patching of the vulnerable Gyan Elements WordPress plugin versions up to 2.2.1, remediating the specific LFI flaw.
Security SummaryAI
CVE-2026-23978 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, in the Softwebmedia Gyan Elements WordPress plugin (gyan-elements). It affects all versions from n/a through 2.2.1 and is associated with CWE-98.
The vulnerability has a CVSS v3.1 base score of 7.5 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating exploitation over the network by low-privileged authenticated users (PR:L) with high attack complexity (AC:H) and no user interaction (UI:N). Attackers can achieve high impacts on confidentiality, integrity, and availability, potentially allowing unauthorized access to local files on the server.
The Patchstack advisory documents this Local File Inclusion vulnerability in the Gyan Elements WordPress plugin up to version 2.2.1, with further details available at https://patchstack.com/database/Wordpress/Plugin/gyan-elements/vulnerability/wordpress-gyan-elements-plugin-2-2-1-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an unauthenticated remote file inclusion flaw in a public-facing WordPress plugin, directly enabling exploitation of a public-facing application for initial access and potential RCE.