CVE-2026-1257 Details
Description
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 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.
A local file inclusion vulnerability has been identified in the Administrative Shortcodes plugin for WordPress, affecting all versions through 0.3.4. The issue arises from inadequate path validation on user-supplied input in the 'slug' attribute of the 'get_template' shortcode, which is passed to the get_template_part() function. This vulnerability allows authenticated attackers with Contributor-level access and above to include and execute arbitrary files on the server. Exploitation could lead to executing PHP code from the included files, bypassing access controls, accessing sensitive data, or executing code in scenarios where 'safe' file types like images can be uploaded and included.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 24, 2026CISA-ADP
Assessed Jan 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Administrative Shortcodes | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 24, 2026 | New CVE Received | [email protected] |
Volerion