Live threats

All CVEs / Thinkphp

CVE-2022-25481Thinkphp

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.7%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Mar 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668, CWE-284
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode.

Original NVD text.

What to do

  1. Apply the vendor's security update for Thinkphp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist topthink/framework ≤ 5.0.24 no fixed version —

Per OSV / GitHub Advisories (GHSA-69wp-xwm7-69wm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thinkphpthinkphp5.0.24

Official sources

References

Links published by the sources. Open them with care.