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-28021: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in ThemeREX Craftis

0
Unknown
VulnerabilityCVE-2026-28021cvecve-2026-28021
Published: Thu Mar 05 2026 (03/05/2026, 05:54:10 UTC)
Source: CVE Database V5
Vendor/Project: ThemeREX
Product: Craftis

Description

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

AI-Powered Analysis

AILast updated: 03/05/2026, 07:34:13 UTC

Technical Analysis

CVE-2026-28021 is a Local File Inclusion (LFI) vulnerability found in the ThemeREX Craftis WordPress theme versions up to 1.2.8. The vulnerability stems from improper control over the filename parameter used in PHP include or require statements, allowing an attacker to manipulate the input to include arbitrary local files on the server. This can lead to unauthorized disclosure of sensitive information such as configuration files, source code, or credentials stored on the server. In some cases, LFI can be leveraged to execute arbitrary code if combined with other vulnerabilities or if the attacker can upload malicious files. The flaw exists due to insufficient input validation or sanitization in the theme’s PHP code, which fails to restrict or verify the file paths before inclusion. Although no public exploits are currently known, the vulnerability is publicly disclosed and documented in the CVE database, increasing the risk of future exploitation. The affected product, Craftis, is a WordPress theme by ThemeREX, commonly used in various websites, making the attack surface significant. The absence of a CVSS score requires an assessment based on the nature of the vulnerability, which indicates a high risk due to the potential for sensitive data exposure and possible code execution without authentication or user interaction.

Potential Impact

The impact of CVE-2026-28021 can be severe for organizations using the affected Craftis theme. Successful exploitation can lead to unauthorized access to sensitive files such as configuration files, database credentials, or application source code, compromising confidentiality. Attackers may also leverage this vulnerability to execute arbitrary code or pivot to other parts of the network, affecting integrity and availability. This can result in data breaches, website defacement, service disruption, or further malware deployment. Organizations hosting critical or sensitive information on vulnerable websites are at higher risk. The vulnerability also undermines trust in the affected web properties and can lead to reputational damage and regulatory penalties if sensitive data is exposed. Since the vulnerability does not require authentication or user interaction, the attack surface is broad, increasing the likelihood of exploitation once public exploits emerge.

Mitigation Recommendations

To mitigate CVE-2026-28021, organizations should immediately check if they are using the ThemeREX Craftis theme version 1.2.8 or earlier and plan to update to a patched version once released by the vendor. In the absence of an official patch, manual code review and remediation should be performed to ensure that all include/require statements validate and sanitize input parameters rigorously. Implement strict whitelisting of allowable file paths and disallow user-controlled input from directly influencing file inclusion. Employ web application firewalls (WAFs) with rules to detect and block LFI attack patterns. Regularly audit and monitor web server logs for suspicious file inclusion attempts. Additionally, restrict file permissions on the server to limit access to sensitive files and consider isolating the web server environment to reduce the blast radius of potential exploitation. Educate development teams on secure coding practices to prevent similar vulnerabilities in the future.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

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

Threat ID: 69a9205ad1a09e29cbe69b2a

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

Last enriched: 3/5/2026, 7:34:13 AM

Last updated: 3/5/2026, 3:04:38 PM

Views: 7

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