CVE-2026-1257: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in shazdeh Administrative Shortcodes
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.
AI Analysis
Technical Summary
CVE-2026-1257 is a Local File Inclusion vulnerability in the shazdeh Administrative Shortcodes WordPress plugin affecting all versions up to 0.3.4. The vulnerability is due to improper control of the filename used in an include/require statement, specifically through the 'slug' attribute of the 'get_template' shortcode. Insufficient path validation allows authenticated users with Contributor-level privileges or higher to include arbitrary files via the get_template_part() function, enabling execution of arbitrary PHP code. This can compromise confidentiality, integrity, and availability of the affected system.
Potential Impact
Successful exploitation allows authenticated attackers with low privileges (Contributor-level) to execute arbitrary PHP code on the server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise including code execution. The CVSS score of 7.5 (High) reflects the significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access and above to trusted users only. Monitor for plugin updates from the vendor and apply them promptly once released.
CVE-2026-1257: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in shazdeh Administrative Shortcodes
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-1257 is a Local File Inclusion vulnerability in the shazdeh Administrative Shortcodes WordPress plugin affecting all versions up to 0.3.4. The vulnerability is due to improper control of the filename used in an include/require statement, specifically through the 'slug' attribute of the 'get_template' shortcode. Insufficient path validation allows authenticated users with Contributor-level privileges or higher to include arbitrary files via the get_template_part() function, enabling execution of arbitrary PHP code. This can compromise confidentiality, integrity, and availability of the affected system.
Potential Impact
Successful exploitation allows authenticated attackers with low privileges (Contributor-level) to execute arbitrary PHP code on the server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise including code execution. The CVSS score of 7.5 (High) reflects the significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access and above to trusted users only. Monitor for plugin updates from the vendor and apply them promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-01-20T19:59:34.956Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 697476614623b1157ca73aa2
Added to database: 1/24/2026, 7:36:01 AM
Last enriched: 4/9/2026, 9:56:26 PM
Last updated: 5/10/2026, 9:21:41 AM
Views: 121
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.