CVE-2026-28021
Received Received - Intake
Local File Inclusion in Craftis ≀ 1.2.8 Enables Code Execution

Publication date: 2026-03-05

Last updated on: 2026-03-06

Assigner: Patchstack

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-05
Last Modified
2026-03-06
Generated
2026-05-07
AI Q&A
2026-03-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
themerex craftis to 1.2.8 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-28021 is a Local File Inclusion (LFI) vulnerability in the WordPress Craftis Theme versions up to and including 1.2.8.

This vulnerability allows unauthenticated attackers to include and display local files from the target website by exploiting improper control of filename for include/require statements in PHP.

As a result, attackers can potentially access sensitive information stored on the server.


How can this vulnerability impact me? :

Exploitation of this vulnerability can lead to exposure of sensitive information such as database credentials.

Depending on the website’s configuration, an attacker could achieve a complete database takeover.

Since the vulnerability requires no authentication to exploit, it poses a high risk to affected websites.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability allows unauthenticated attackers to include and display local files via the WordPress Craftis Theme up to version 1.2.8. Detection typically involves checking for attempts to exploit Local File Inclusion (LFI) by monitoring web server logs for suspicious requests that include file path traversal patterns or attempts to include local files.'}, {'type': 'paragraph', 'content': 'Common detection commands or methods include:'}, {'type': 'list_item', 'content': "Using grep to search web server access logs for suspicious parameters, e.g., grep -i 'include' /var/log/apache2/access.log"}, {'type': 'list_item', 'content': "Looking for URL patterns with directory traversal sequences such as '../' or attempts to include sensitive files like /etc/passwd."}, {'type': 'list_item', 'content': 'Using intrusion detection systems (IDS) or web application firewalls (WAF) with rules to detect LFI attempts.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

Since no official patch is currently available for this vulnerability, immediate mitigation involves applying available protective measures to block exploitation attempts.

  • Implement the mitigation rule released by Patchstack that blocks attacks exploiting this Local File Inclusion vulnerability.
  • Restrict access to the vulnerable WordPress Craftis Theme by limiting permissions or disabling it if possible.
  • Monitor web server logs for suspicious activity and block IP addresses attempting exploitation.
  • Use a Web Application Firewall (WAF) configured to detect and block LFI attack patterns.

These steps help protect affected websites until an official patch is developed, tested, and safely applied.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart