CVE-2025-2689Public exploitNetwork attack vector

Command execution via attacker-controlled sort callback

Published Mar 24, 2025 · Updated Mar 24, 2025

Deserialization in Yii 2 2.0.45 and earlier allows remote authenticated users to execute commands through a crafted PHP object graph. SortableIterator::getIterator passes its deserialized sort property to uasort as a callback, allowing a crafted callable to dispatch a command. Exploitation requires an application-defined entry point that unserializes attacker-controlled data and then iterates the crafted object.

CVSS severity9.8
Critical
EPSS probability0.61%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Deserialization in Yii 2 2.0.45 and earlier allows remote authenticated users to execute commands through a crafted PHP object graph. SortableIterator::getIterator passes its deserialized sort property to uasort as a callback, allowing a crafted callable to dispatch a command. Exploitation requires an application-defined entry point that unserializes attacker-controlled data and then iterates the crafted object.

The record

CVE
CVE-2025-2689
Published
Mar 24, 2025
Updated
Mar 24, 2025
Vendor
Yiisoft
Product
Yii 2
Classifications
CWE-20, CWE-502, T1059, T1190
Attack vector
network
Privileges
authenticated

Timeline

How it unfolded

  1. Mar 24, 2025CVE publishedPublication date reported by the CVE source.
  2. Mar 24, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2.0.0
  2. Affected versionversion=2.0.1
  3. Affected versionversion=2.0.10
  4. Affected versionversion=2.0.11
  5. Affected versionversion=2.0.12
  6. Affected versionversion=2.0.13
  7. Affected versionversion=2.0.14
  8. Affected versionversion=2.0.15
  9. Affected versionversion=2.0.16
  10. Affected versionversion=2.0.17
  11. Affected versionversion=2.0.18
  12. Affected versionversion=2.0.19
  13. Affected versionversion=2.0.2
  14. Affected versionversion=2.0.20
  15. Affected versionversion=2.0.21
  16. Affected versionversion=2.0.22
  17. Affected versionversion=2.0.23
  18. Affected versionversion=2.0.24
  19. Affected versionversion=2.0.25
  20. Affected versionversion=2.0.26
  21. Affected versionversion=2.0.27
  22. Affected versionversion=2.0.28
  23. Affected versionversion=2.0.29
  24. Affected versionversion=2.0.3
  25. Affected versionversion=2.0.30
  26. Affected versionversion=2.0.31
  27. Affected versionversion=2.0.32
  28. Affected versionversion=2.0.33
  29. Affected versionversion=2.0.34
  30. Affected versionversion=2.0.35
  31. Affected versionversion=2.0.36
  32. Affected versionversion=2.0.37
  33. Affected versionversion=2.0.38
  34. Affected versionversion=2.0.39
  35. Affected versionversion=2.0.4
  36. Affected versionversion=2.0.40
  37. Affected versionversion=2.0.41
  38. Affected versionversion=2.0.42
  39. Affected versionversion=2.0.43
  40. Affected versionversion=2.0.44
  41. Affected versionversion=2.0.45
  42. Affected versionversion=2.0.5
  43. Affected versionversion=2.0.6
  44. Affected versionversion=2.0.7
  45. Affected versionversion=2.0.8
  46. Affected versionversion=2.0.9

What conditions does exploitation require?

Attack vectornetwork
Required privilegesauthenticated

What is affected?

Yiisoft · Yii 2version=2.0.0; version=2.0.1; version=2.0.10; version=2.0.11; version=2.0.12; version=2.0.13; version=2.0.14; version=2.0.15; version=2.0.16; version=2.0.17; version=2.0.18; version=2.0.19; version=2.0.2; version=2.0.20; version=2.0.21; version=2.0.22; version=2.0.23; version=2.0.24; version=2.0.25; version=2.0.26; version=2.0.27; version=2.0.28; version=2.0.29; version=2.0.3; version=2.0.30; version=2.0.31; version=2.0.32; version=2.0.33; version=2.0.34; version=2.0.35; version=2.0.36; version=2.0.37; version=2.0.38; version=2.0.39; version=2.0.4; version=2.0.40; version=2.0.41; version=2.0.42; version=2.0.43; version=2.0.44; version=2.0.45; version=2.0.5; version=2.0.6; version=2.0.7; version=2.0.8; version=2.0.9

Published CVSS scores

9.8NIST NVDCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
6.5VulDBAV:N/AC:L/Au:S/C:P/I:P/A:P
5.3VulDBCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
6.3VulDBCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-20Improper Input Validation
CWE-502Deserialization of Untrusted Data
T1059Command and Scripting Interpreter
T1190Exploit Public-Facing Application

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo