# CVE-2025-34045: WeiPHP - Path Traversal

> Live exploitation tracking for CVE-2025-34045 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2025-34045

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 8.7
- **Public exploit available:** Yes
- **Affected products:** Shenzhen Yuanmengyun Technology Co., Ltd. WeiPHP
- **Weaknesses:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))
- **Tags:** php, web_application

## Description

A path traversal vulnerability exists in WeiPHP 5.0, an open source WeChat public account platform development framework by Shenzhen Yuanmengyun Technology Co., Ltd. The flaw occurs in the picUrl parameter of the /public/index.php/material/Material/_download_imgage endpoint, where insufficient input validation allows unauthenticated remote attackers to perform directory traversal via crafted POST requests. This enables arbitrary file read on the server, potentially exposing sensitive information such as configuration files and source code. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.

## CrowdSec analysis

[CVE-2025-34045](https://euvd.enisa.europa.eu/vulnerability/CVE-2025-34045) is a high-severity path traversal vulnerability in WeiPHP 5.0, allowing unauthenticated remote attackers to read arbitrary files on the server by exploiting insufficient validation of the picUrl parameter in the /public/index.php/material/Material/_download_imgage endpoint. This flaw can be leveraged to access sensitive information such as configuration files and source code, potentially leading to further compromise of the affected system. Evidence of active exploitation has been observed, highlighting the urgency of addressing this vulnerability.

CrowdSec has been tracking this vulnerability and its exploits since 15th of April 2026.

According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2025-34045 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting.
Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2025-34045 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2025-34045 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.

Attackers exploit the `/public/index.php/material/Material/_download_imgage` endpoint by manipulating the `picUrl` parameter to perform path traversal and read sensitive files such as `config/database.php`. This technique allows unauthenticated access to arbitrary files on vulnerable WeiPHP 5.0 installations.

## Timeline

- 2025-06-26: CVE Published. CVE-2025-34045 is published to NVD.
- 2026-04-15: Rule Released. CrowdSec releases a rule to detect CVE-2025-34045 exploitation attempts against the CrowdSec Network.
- 2026-04-20: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2025-34045 for the first time.

## References

- https://vulncheck.com/advisories/weiphp-path-traversal-file-read
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34045.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2025-34045) follows observed exploitation activity for CVE-2025-34045. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
