# CVE-2020-25540: ThinkAdmin directory traversal vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 75.3%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2020-09-14T12:22:40.000Z
- Modified: 2026-06-17T03:06:53.580Z
- Also known as: GHSA-2qm5-r82g-5hcx
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

ThinkAdmin v6 is affected by a directory traversal vulnerability. An unauthorized attacker can read arbitrarily file on a remote server via GET request encode parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zoujingli/thinkadmin (Packagist): 6.0
- thinkadmin thinkadmin: 6.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/zoujingli/ThinkAdmin/issues/244> (exploit, third-party-advisory, web)
- <https://wtfsec.org/posts/thinkadmin-v6-%E5%88%97%E7%9B%AE%E5%BD%95-%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96/> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/159177/ThinkAdmin-6-Arbitrary-File-Read.html> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25540> (advisory)
- <https://github.com/zoujingli/ThinkAdmin/commit/ff2ab47cfabd4784effbf72a2a386c5d25c43a9a> (web)
- <https://github.com/zoujingli/ThinkAdmin> (package)
- <https://wtfsec.org/posts/thinkadmin-v6-%E5%88%97%E7%9B%AE%E5%BD%95-%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96> (web)

## Sources

- CVE List: [CVE-2020-25540](https://www.cve.org/CVERecord?id=CVE-2020-25540), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2qm5-r82g-5hcx](https://github.com/advisories/GHSA-2qm5-r82g-5hcx), CC-BY-4.0, modified 2025-05-15
- NVD: [CVE-2020-25540](https://nvd.nist.gov/vuln/detail/CVE-2020-25540), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25540 · Whole record: https://cve.day/CVE-2020-25540.json · Rebuilt by cve.day 2026-11-25T22:57:54.684Z
