# CVE-2025-2689: yiisoft Yii2 SortableIterator.php getIterator deserialization

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA: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): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-24T07:00:07.140Z
- Modified: 2026-06-17T09:07:26.990Z
- Also known as: GHSA-88m2-j94x-v4fx
- Weaknesses: CWE-20, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in yiisoft Yii2 up to 2.0.45. Affected by this issue is the function getIterator of the file symfony\finder\Iterator\SortableIterator.php. The manipulation leads to deserialization. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- yiisoft Yii2: 2.0.0; 2.0.1; 2.0.2; 2.0.3; 2.0.4; 2.0.5; 2.0.6; 2.0.7; 2.0.8; 2.0.9; 2.0.10; 2.0.11; and 34 more
- yiisoft/yii2-dev (Packagist): up to 2.0.45
- yiiframework yii: from 2.0.0 up to 2.0.45

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2.md> (exploit, third-party-advisory, web)
- <https://vuldb.com/?id.300710> (press/media-coverage, technical-description, vdb-entry, web)
- <https://vuldb.com/?ctiid.300710> (permissions-required, press/media-coverage, signature, vdb-entry, web)
- <https://vuldb.com/?submit.521709> (press/media-coverage, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2689> (advisory)
- <https://github.com/yiisoft/yii2> (package)

## Sources

- CVE List: [CVE-2025-2689](https://www.cve.org/CVERecord?id=CVE-2025-2689), CVE Terms of Use, modified 2025-03-24
- GitHub Advisory Database: [GHSA-88m2-j94x-v4fx](https://github.com/advisories/GHSA-88m2-j94x-v4fx), CC-BY-4.0, modified 2025-03-24
- NVD: [CVE-2025-2689](https://nvd.nist.gov/vuln/detail/CVE-2025-2689), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2689 · Whole record: https://cve.day/CVE-2025-2689.json · Rebuilt by cve.day 2026-11-25T22:58:55.449Z
