CVE-2025-34045CWE-22

WeiPHP Path Traversal Arbitrary File Read

High · published June 26, 2025

CVSS v4.0
8.7
EPSS
4%
Percentile
90.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.04197 · 90.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-06-26T15:51Z
EPSS history
Timeline
  • 26 JUN 15:51Z
    WeiPHP Path Traversal Arbitrary File Read
    cvelistv5