Cyber Resilience

CVE-2026-1257

High

Published: 24 January 2026

Published
24 January 2026
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0005 14.7th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-1257 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Wordpress (inferred from references). Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 14.7th 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).

Deeper analysis

CVE-2026-1257 is a Local File Inclusion (LFI) vulnerability in the Administrative Shortcodes plugin for WordPress, affecting all versions up to and including 0.3.4. The issue arises from insufficient path validation on user-supplied input passed through the 'slug' attribute of the 'get_template' shortcode to the get_template_part() function, as identified under CWE-98. Published on 2026-01-24, it carries 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).

Authenticated attackers with Contributor-level access or higher can exploit this vulnerability over the network. By crafting a malicious 'slug' value, they can include and execute arbitrary files on the server, leading to PHP code execution within those files. This capability allows bypassing access controls, obtaining sensitive data, or achieving code execution, particularly when images or other "safe" file types containing PHP payloads can be uploaded and included.

Advisories reference the vulnerable code at line 144 in administrative-shortcodes.php for both the 0.3.4 tag and trunk versions on the WordPress plugins Trac, the plugin's WordPress.org page, and a Wordfence threat intelligence report detailing the issue.

EU & UK References

Vulnerability details

The Administrative Shortcodes plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.3.4 via the 'slug' attribute of the 'get_template' shortcode. This is due to insufficient path validation on user-supplied input passed to…

more

the get_template_part() function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other "safe" file types can be uploaded and included.

CWE(s)

Related Threats

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.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

LFI in public-facing WordPress plugin directly enables exploitation for RCE via arbitrary file inclusion and web shell deployment.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2024-13408Shared CWE-98
CVE-2026-39387Shared CWE-98
CVE-2026-3425Shared CWE-98
CVE-2026-27383Shared CWE-98
CVE-2024-51319Shared CWE-98
CVE-2025-30845Shared CWE-98
CVE-2025-26985Shared CWE-98
CVE-2025-52732Shared CWE-98
CVE-2025-69078Shared CWE-98
CVE-2026-24538Shared CWE-98

Affected Assets

Wordpress
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly addresses the insufficient path validation on the user-supplied 'slug' attribute passed to get_template_part(), preventing arbitrary file inclusion and PHP code execution.

prevent

Requires identification, reporting, and correction of the LFI flaw in the Administrative Shortcodes plugin up to version 0.3.4, eliminating the vulnerability through timely patching.

prevent

Enforces least privilege to restrict Contributor-level access or higher, limiting the authenticated users able to exploit the vulnerable shortcode.

References