Critical
Security advisory
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15148
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:04 UTC · Revision 1
Source evidence
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
osv:CVE-2020-15148
Complete source record
{
"id": "696aafa8933636386ad0a2728d68df7a35805a387304514afd71115f7200fab6",
"url": "https://osv.dev/vulnerability/CVE-2020-15148",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15148",
"summary": "Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.",
"evidence": "osv:CVE-2020-15148",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15148",
"aliases": [
"CVE-2020-15148",
"GHSA-699q-wcff-g9mj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yiisoft/yii2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6e694ee249148fff06e5d68f7117d33218b8858c"
},
{
"fixed": "9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.38"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.0.37",
"2.0.36",
"2.0.35",
"2.0.34",
"2.0.33",
"2.0.32",
"2.0.31",
"2.0.30",
"2.0.29",
"2.0.28",
"2.0.27",
"2.0.26",
"2.0.25",
"2.0.24",
"2.0.23",
"2.0.22",
"2.0.21",
"2.0.20",
"2.0.19",
"2.0.18",
"2.0.17",
"2.0.16.1",
"2.0.16",
"2.0.12",
"2.0.13.1",
"2.0.14.2",
"2.0.14.1",
"2.0.14",
"2.0.13",
"2.0.11.2",
"2.0.11.1",
"2.0.11",
"2.0.10",
"2.0.9",
"2.0.8",
"2.0.7",
"2.0.6",
"2.0.4",
"2.0.3",
"2.0.2",
"2.0.0-rc",
"2.0.0-beta",
"2.0.0-alpha"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15148.json"
}
}
],
"modified": "2026-10-20T10:52:47.544399008Z",
"provider": "osv",
"references": [
"https://github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj",
"https://github.com/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15148",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383826,
"published_at": "2020-09-15T19:15:12.963+00:00"
}