CVE-2022-25481
MediumPublic exploitExposure of Resource to Wrong Sphere in ThinkPHP Framework
Published Mar 22, 2022 · Updated Aug 12, 2026 · Also known as GHSA-69wp-xwm7-69wm
Key Facts
Routine patching- CVE-2022-25481 is a medium-severity vulnerability (CVSS 4.0 v3.1) affecting Thinkphp, topthink/framework (composer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 4.7% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
CVSS v3.1
4.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS (30-day exploit likelihood)
4.7%
Higher than 91.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-25481 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ThinkphpThinkphp | 5.0.24 | n/a |
| topthink/frameworkcomposer | See advisory | n/a |
Timeline
Publicly disclosed
Mar 22, 2022
Last updated
Aug 12, 2026
Weakness Type
- CWE-284 Improper Access Control
- CWE-668 Exposure of Resource to Wrong Sphere
References
FAQ
Common Questions.
ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter.
Affected: Thinkphp versions 5.0.24; topthink/framework (composer). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2022-25481 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo