Critical
Security advisory
thinkphp 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 crafted payload.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-45982
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:42 UTC · Revision 1
Source evidence
thinkphp 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 crafted payload.
osv:CVE-2022-45982
Complete source record
{
"id": "cf1a2f0137023792b412efd08a753e9cf6c8ee766c83a202c99a81cd2ca59334",
"url": "https://osv.dev/vulnerability/CVE-2022-45982",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-45982",
"summary": "thinkphp 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 crafted payload.",
"evidence": "osv:CVE-2022-45982",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-45982",
"aliases": [
"CVE-2022-45982",
"GHSA-j2h2-g882-x9j2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/top-think/framework",
"type": "GIT",
"events": [
{
"introduced": "79c555aab0313d1a33ddcdb3c395f2c47f37f597"
},
{
"last_affected": "126d5b2cbacb73d6e2a85cbc7a2c6ee59d0b3fa6"
},
{
"introduced": "e563b6c9c17913c7487c73992cf6a225cd41b35a"
},
{
"last_affected": "e563b6c9c17913c7487c73992cf6a225cd41b35a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"last_affected": "6.0.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:thinkphp:thinkphp:6.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1.0"
},
{
"last_affected": "6.1.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"6.1.0",
"v6.1.0",
"v6.0.13",
"v6.0.12",
"v6.0.11",
"v6.0.10",
"v6.0.9",
"v6.0.8",
"v6.0.7",
"v6.0.6",
"v6.0.5",
"v6.0.4",
"v6.0.3",
"v6.0.2",
"v6.0.1",
"v6.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45982.json"
}
}
],
"modified": "2026-10-28T02:30:28.768844390Z",
"provider": "osv",
"references": [
"https://gist.github.com/Dar1in9s/aa87df679057db3bbdade360d77f8cca",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45982.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-45982"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45982.json"
}
},
"related_cves": [
{
"value": "CVE-2022-45982",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495492,
"published_at": "2023-02-08T00:00:00+00:00"
}