Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-28125: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in AncoraThemes Midi

0
High
VulnerabilityCVE-2026-28125cvecve-2026-28125
Published: Thu Mar 05 2026 (03/05/2026, 05:54:30 UTC)
Source: CVE Database V5
Vendor/Project: AncoraThemes
Product: Midi

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Midi midi allows PHP Local File Inclusion.This issue affects Midi: from n/a through <= 1.14.

AI-Powered Analysis

AILast updated: 03/05/2026, 06:34:53 UTC

Technical Analysis

CVE-2026-28125 is a Local File Inclusion (LFI) vulnerability found in the AncoraThemes Midi WordPress theme, affecting versions up to 1.14. The vulnerability arises from improper control over the filename used in PHP include or require statements, allowing an attacker to manipulate the input to include arbitrary files from the server. This can lead to disclosure of sensitive files such as configuration files, password files, or source code, and in some cases, may enable remote code execution if combined with other vulnerabilities or misconfigurations. The issue is rooted in insufficient validation and sanitization of user-supplied input that controls the file path. Since the vulnerability does not require authentication or user interaction, it can be exploited remotely by an unauthenticated attacker. No public exploit code is currently known, but the vulnerability is publicly disclosed and assigned CVE-2026-28125. The lack of an official patch at the time of disclosure increases the risk for organizations using this theme. AncoraThemes Midi is a popular WordPress theme, and WordPress powers a significant portion of websites globally, making this a relevant threat to many web servers. The vulnerability's exploitation could lead to data leakage, website defacement, or full server compromise depending on the environment and additional security controls in place.

Potential Impact

The impact of CVE-2026-28125 can be severe for organizations running vulnerable versions of the AncoraThemes Midi theme. Exploitation can lead to unauthorized disclosure of sensitive information such as database credentials, configuration files, or user data, compromising confidentiality. In some scenarios, attackers may achieve remote code execution, leading to full system compromise, data tampering, or persistent backdoors, affecting integrity and availability. Websites compromised through this vulnerability may be defaced or used as a platform for further attacks such as phishing or malware distribution, damaging organizational reputation. Since WordPress is widely used for business, e-commerce, and content management, the vulnerability poses a risk to a broad range of sectors including finance, healthcare, education, and government. The ease of exploitation without authentication increases the likelihood of automated scanning and exploitation attempts, potentially leading to widespread impact if not mitigated promptly.

Mitigation Recommendations

To mitigate CVE-2026-28125, organizations should immediately update the AncoraThemes Midi theme to a patched version once available. In the absence of an official patch, administrators should implement strict input validation and sanitization on all parameters controlling file inclusion paths, ensuring only intended files can be included. Employing a whitelist approach for allowable file paths or names is recommended. Web application firewalls (WAFs) should be configured to detect and block suspicious requests attempting directory traversal or unusual file inclusion patterns. Restrict PHP configuration settings such as disabling allow_url_include and setting open_basedir to limit accessible directories. Regularly audit and monitor web server and application logs for anomalous file inclusion attempts. Additionally, consider isolating the web server environment and applying the principle of least privilege to minimize potential damage from exploitation. Backup website data and configurations regularly to enable quick recovery if compromise occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2026-02-25T12:14:12.838Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69a9206ad1a09e29cbe6cfba

Added to database: 3/5/2026, 6:19:22 AM

Last enriched: 3/5/2026, 6:34:53 AM

Last updated: 3/5/2026, 2:58:54 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses