← Vulnerability feed

Vulnerability record · CVE-2022-25481 · published 21 March 2022

CVE-2022-25481: Thinkphp exposure of resource to wrong sphere vulnerability

Thinkphp · Thinkphp

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.

7.5 CVSS 3.1 High EPSS 4.7% · top 8.4% CWE-668 · Exposure of resource to wrong sphereCWE-284 · Improper access control
7.5CVSS 3.1 base score, v2 5.0
4.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-25481 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2019-9082ThinkPHP invokefunction parameter allows remote command executionThinkPHP before 3.2.4, and products built on it such as Open Source BMS v1.1.1, fails to properly restrict the invokefunction route, letting a crafte…KEVEPSS 97%analysed9.8CVE-2025-63888Thinkphp php remote file inclusion vulnerabilityThe read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability.EPSS 0.57%9.8CVE-2025-50707Thinkphp code injection vulnerabilityAn issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php componentEPSS 1.0%9.8CVE-2025-50706Thinkphp code injection vulnerabilityAn issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck functionEPSS 1.0%9.8CVE-2024-48112Thinkphp deserialization of untrusted data vulnerabilityA deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.EPSS 0.89%9.8CVE-2024-44902Thinkphp deserialization of untrusted data vulnerabilityA deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.EPSS 4.2%9.8CVE-2022-45982Thinkphp deserialization of untrusted data vulnerabilitythinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a c…EPSS 1.2%9.8CVE-2022-47945Thinkphp path traversal vulnerabilityThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). …EPSS 28%

Source: NIST National Vulnerability Database (record CVE-2022-25481), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.