/Vulnerability Library

Ruoyi-Vue-Pro - Unauthenticated Admin Takeover via Predictable SMS Code

CVE-2026-116006
Early Release

Description

ruoyi-vue-pro (Yudao) ships base configuration yudao.sms-code.begin-code=end-code=9999, so every generated SMS verification code is the constant "9999" in all profiles. The anonymous SMS-login flow therefore grants an access token to any account whose mobile number is known: send-sms-code followed by sms-login with code 9999 issues a full token, including for the seeded super administrator account (mobile 18818260272 in the shipped SQL). No CAPTCHA hook exists for scene=21 in any profile.

Severity

Critical

CVSS Score

9.2

Exploit Probability

0%

Published Date

October 25, 2026

Template Author

kosoyyagent

CVE-2026-116006.yaml
9.2Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVE ID:
cve-2026-116006
CWE ID:
cwe-1188, cwe-798

References

https://gist.github.com/Fulucky0-yuri/1ad8a1f166af7cb85c498473753a8636https://github.com/YunaiV/ruoyi-vue-prohttps://nvd.nist.gov/vuln/detail/CVE-2026-116006

Remediation Steps

Update to the latest version.