CVE-2026-1257
Last modified
CVE-2026-1257 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-1257?
How severe is CVE-2026-1257?
How do I fix CVE-2026-1257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12566The docker_pull module uses the realm parameter from a Docke…3.1
- CVE-2026-12567The github_workflows module constructs local directory paths…2.2
- CVE-2026-125672A flaw was found in cockpit-storaged. A Tang keyserver addre…6.6
- CVE-2026-12568The postman_download module uses the workspace name field fr…6.5
- CVE-2026-125680Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-12569A critical remote code execution (RCE) vulnerability has bee…9.8
- CVE-2026-12570A vulnerability in keras-team/keras versions <= 3.15.0 allow…5.5
- CVE-2026-125703A flaw was found in the GStreamer gst-plugins-bad MXF plugin…6.5
- CVE-2026-125704A use-after-free flaw was found in GStreamer core buffer val…7.5
- CVE-2026-125706A flaw was found in GStreamer's gst-plugins-bad MPEG Program…6.5
- CVE-2026-125707A flaw was found in GStreamer's MXF demuxer. When an applica…7.1
- CVE-2026-125708Improper Neutralization of Input During Web Page Generation …6.5
Are you affected by CVE-2026-1257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
