CVE-2025-2690
Last modified
CVE-2025-2690 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yiiframework | Yii | >= 2.0.0, <= 2.0.39 |
References
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.mdExploit, Third Party Advisory
- https://vuldb.com/?ctiid.300711Permissions Required, VDB Entry
- https://vuldb.com/?id.300711Permissions Required, VDB Entry
- https://vuldb.com/?submit.521718Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-2690?
How severe is CVE-2025-2690?
How do I fix CVE-2025-2690?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-26894Improper Control of Filename for Include/Require Statement i…7.5
- CVE-2025-26895Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-26896Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-26897Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-26898Improper Neutralization of Special Elements used in an SQL C…9.3
- CVE-2025-26899Cross-Site Request Forgery (CSRF) vulnerability in Recapture…6.5
- CVE-2025-26900Deserialization of Untrusted Data vulnerability in flexmls F…9.8
- CVE-2025-26901Missing Authorization vulnerability in Brizy Brizy Pro allow…8.8
- CVE-2025-26902Cross-Site Request Forgery (CSRF) vulnerability in Brizy Bri…8.8
- CVE-2025-26903Cross-Site Request Forgery (CSRF) vulnerability in RealMag77…4.3
- CVE-2025-26904Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-26905Improper Limitation of a Pathname to a Restricted Directory …7.5
Are you affected by CVE-2025-2690?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
