
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-58943 is a Local File Inclusion (LFI) vulnerability in the Agricola WordPress theme developed by axiomthemes, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Agricola theme up to and including 1.1.0, and can be exploited by unauthenticated remote attackers. The vulnerability was reported by security researcher "Bonds" on July 20, 2025, and published by Patchstack on August 19, 2025. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).
The vulnerability stems from improper control of filenames used in PHP include/require statements within the Agricola theme (CWE-98), which allows an attacker to manipulate file path parameters and cause the server to include arbitrary local files. Because no authentication is required and the attack complexity is rated High (suggesting some precondition such as specific server configuration or parameter guessing), an unauthenticated network attacker can craft HTTP requests that pass malicious file paths to the vulnerable include mechanism. This falls under OWASP Top 10 category A3: Injection and is mapped to CAPEC-193 (PHP Remote File Inclusion), though the practical impact here is local file inclusion (Patchstack).
Successful exploitation allows an unauthenticated attacker to read arbitrary local files on the server, including sensitive configuration files such as WordPress wp-config.php, which contains database credentials. This can lead to complete database compromise, exposure of API keys and secrets, and potentially arbitrary PHP code execution if an attacker can include a file containing PHP code (e.g., via log poisoning). Both confidentiality and integrity of the affected WordPress site are at high risk, with availability also potentially impacted (Patchstack).
As of the time of publication, no public proof-of-concept exploit code has been identified, and there is no confirmed evidence of in-the-wild exploitation. The EPSS score is approximately 0.053%, indicating a currently low probability of exploitation in the near term. No threat actor attribution has been made, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack notes that vulnerabilities of this class and severity are frequently used in mass-exploit campaigns targeting WordPress sites at scale (Patchstack).
wp-content/themes/agricola/).include/require statements without proper sanitization.?template=../../../../wp-config.php or similar path traversal payload).wp-config.php exposing database credentials, etc/passwd, or PHP error logs).../, ..%2F, %2e%2e%2f) in query parameters; requests targeting sensitive files like wp-config.php or /etc/passwd.bash, curl, wget) that may indicate successful code execution following log poisoning.As of the Patchstack publication date (August 19, 2025), no official patch from the theme developer (axiomthemes) was available for the Agricola theme. Site administrators should update the theme to any version beyond 1.1.0 if a patched release becomes available, or consider replacing the theme. In the interim, Patchstack has issued a virtual patching/mitigation rule for Patchstack-protected sites to block exploitation attempts. Additional workarounds include deploying a Web Application Firewall (WAF) with rules to detect and block path traversal and LFI patterns, auditing access logs for suspicious file inclusion attempts, and restricting PHP file inclusion via open_basedir server configuration (Patchstack).
Patchstack, which discovered and disclosed the vulnerability through researcher "Bonds," has classified it as high priority and noted that vulnerabilities of this type are commonly leveraged in mass-exploit campaigns against WordPress sites. No additional notable vendor statements, researcher commentary, or significant media coverage beyond the Patchstack advisory have been identified at this time (Patchstack).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."