Read the docs
TI-2025-02355 Aliases CVE-2025-2690GHSA-97q7-cqc5-x5gj

yiisoft Yii2 MockClass.php generate deserialization

Priority MEDIUM 57CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\src\Framework\MockObject\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00677 52nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
YiiframeworkYii22.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; 2.0.12; 2.0.13; 2.0.14; 2.0.15; 2.0.16; 2.0.17; 2.0.18; 2.0.19; 2.0.20; 2.0.21; 2.0.22; 2.0.23; 2.0.24; 2.0.25; 2.0.26; 2.0.27; 2.0.28; 2.0.29; 2.0.30; 2.0.31; 2.0.32; 2.0.33; 2.0.34; 2.0.35; 2.0.36; 2.0.37; 2.0.38; 2.0.39—No fix listedCNA
  • Yii2 VendorYiiframework Affected 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; 2.0.12; 2.0.13; 2.0.14; 2.0.15; 2.0.16; 2.0.17; 2.0.18; 2.0.19; 2.0.20; 2.0.21; 2.0.22; 2.0.23; 2.0.24; 2.0.25; 2.0.26; 2.0.27; 2.0.28; 2.0.29; 2.0.30; 2.0.31; 2.0.32; 2.0.33; 2.0.34; 2.0.35; 2.0.36; 2.0.37; 2.0.38; 2.0.39 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*2.0.0 – 2.0.39VulnerableYiiframework
  • cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* Versions 2.0.0 – 2.0.39 Vulnerable ·Yiiframework

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-2690
  2. 2026-10-03 Alias added: GHSA-97q7-cqc5-x5gj
  3. 2026-10-06 EPSS moved to the 50th–90th percentile

References

  • TI-2024-38344 Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class… KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-11920 Unsafe deserialization in Yii 2 CVSS 3.1CRITICAL 10.0
  • TI-2024-04634 Unsafe Reflection in base Component class in yiisoft/yii2 CVSS 3.1CRITICAL 9.1
  • TI-2025-02354 yiisoft Yii2 SortableIterator.php getIterator deserialization CVSS 4.0MEDIUM 5.3
  • TI-2023-11755 SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows… CVSS 3.1CRITICAL 9.8
  • TI-2015-04601 web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local… CVSS 3.1CRITICAL 9.8
See all 18 →

Sources