CVE-2026-40731
Deferred Deferred - Pending Action
Unauthenticated Local File Inclusion in ChapterOne

Publication date: 2026-06-17

Last updated on: 2026-06-17

Assigner: Patchstack

Description
Unauthenticated Local File Inclusion in ChapterOne <= 1.7 versions.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-17
Last Modified
2026-06-17
Generated
2026-06-17
AI Q&A
2026-06-17
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
chapterone chapterone to 1.7 (inc)
patchstack chapterone to 1.8 (exc)
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 Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-40731 is a Local File Inclusion (LFI) vulnerability found in the WordPress ChapterOne Theme versions 1.7 and below. This flaw allows attackers to include local files from the target website without needing to authenticate. By exploiting this vulnerability, attackers can access sensitive files on the server, such as database credentials.

Impact Analysis

Exploiting this vulnerability can lead to severe consequences including exposure of sensitive data like database credentials and potentially a complete takeover of the website's database. The vulnerability has a high severity score (CVSS 8.1) and can be exploited remotely without authentication, making it a significant risk for websites using the affected theme versions.

Detection Guidance

The vulnerability is a Local File Inclusion (LFI) flaw in the WordPress ChapterOne Theme versions 1.7 and below, which allows attackers to include local files without authentication.

To detect this vulnerability on your system or network, you can look for suspicious HTTP requests attempting to include local files via the theme. This often involves requests with parameters that reference local file paths.

While specific commands are not provided in the resources, common detection methods include monitoring web server logs for unusual URL patterns or using web vulnerability scanners that detect LFI issues.

Example commands to search web server logs for potential LFI attempts might include:

  • grep -i 'chapterone' /var/log/apache2/access.log | grep -E '(\.|%2e){2,}'
  • grep -i 'include' /var/log/apache2/access.log
  • Using tools like curl or wget to test for LFI by sending crafted requests to the vulnerable parameters.
Mitigation Strategies

Immediate mitigation steps include updating the WordPress ChapterOne Theme to version 1.8 or later, which contains the patch for this vulnerability.

If updating immediately is not possible, applying mitigation rules provided by Patchstack to block attacks targeting this vulnerability is advised.

These mitigation rules help prevent exploitation attempts until the theme can be updated.

Compliance Impact

The vulnerability allows attackers to include local files on the target website, potentially exposing sensitive data such as database credentials and enabling a complete database takeover.

Exposure of sensitive data due to this vulnerability could lead to non-compliance with data protection regulations like GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access.

Therefore, if exploited, this vulnerability could result in violations of these standards by compromising confidentiality, integrity, and availability of protected data.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40731. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart