CVE-2025-58954
Deferred Deferred - Pending Action
Unauthenticated Local File Inclusion in HomeRoofer

Publication date: 2026-06-17

Last updated on: 2026-06-17

Assigner: Patchstack

Description
Unauthenticated Local File Inclusion in HomeRoofer <= 2.11.0 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 1 associated CPE
Vendor Product Version / Range
patchstack homeroofer to 2.12.0 (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-2025-58954 is a Local File Inclusion (LFI) vulnerability found in the WordPress HomeRoofer Theme versions 2.11.0 and below. This flaw allows an unauthenticated attacker to include local files on the target website.

Exploiting this vulnerability could expose sensitive data such as database credentials and potentially lead to a complete database takeover depending on the server configuration.

The vulnerability has a high severity score of 8.1 and is expected to be targeted in mass-exploit campaigns affecting many websites.

Impact Analysis

This vulnerability can have severe impacts including unauthorized access to sensitive information like database credentials.

It may lead to a complete database takeover, compromising the integrity, confidentiality, and availability of your website's data.

Because it can be exploited without authentication, it poses a high risk to any affected website regardless of size or popularity.

Mitigation Strategies

Immediate action is recommended to mitigate the CVE-2025-58954 vulnerability in the HomeRoofer WordPress theme versions 2.11.0 and below.

  • Update the HomeRoofer theme to version 2.12.0 or later, which resolves the Local File Inclusion vulnerability.
  • Apply the mitigation rule provided by Patchstack to temporarily block attacks until the update can be applied.
Compliance Impact

This vulnerability allows an unauthenticated attacker to include local files on the target website, potentially exposing sensitive data such as database credentials and leading to a complete database takeover depending on the server configuration.

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

Therefore, exploitation of this vulnerability may result in violations of data protection requirements, increasing the risk of regulatory penalties and reputational damage.

Detection Guidance

The vulnerability CVE-2025-58954 affects the WordPress HomeRoofer Theme versions 2.11.0 and below, allowing unauthenticated Local File Inclusion (LFI). Detection typically involves identifying attempts to exploit LFI by monitoring web requests for suspicious parameters that include local file paths.

While no specific detection commands are provided in the available resources, common approaches include:

  • Monitoring web server logs for requests containing suspicious patterns such as "../" sequences or attempts to access sensitive files like "/etc/passwd".
  • Using tools like grep to search access logs for LFI indicators, for example: grep -iE "(\.{2}/|etc/passwd|boot.ini)" /var/log/apache2/access.log
  • Employing web application firewalls (WAF) with rules designed to detect and block LFI attempts, such as the mitigation rule provided by Patchstack until the theme is updated.

Immediate updating of the HomeRoofer theme to version 2.12.0 or later is recommended to resolve the vulnerability.

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