CVE-2021-44350Thinkphp
Critical 9.8 No auth needed
Follow: this CVE · Thinkphp · Thinkphp We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Dec 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php.
What to do
- Apply the vendor's security update for Thinkphp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | topthink/framework |
≥ 5.0 ≤ 5.1.22 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q868-c4vw-qjx3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| thinkphp | thinkphp | ≥ 5.0.0 ≤ 5.1.22 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory