{
  "id": "CVE-2026-45401",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45401",
  "published_at": "2026-05-15T20:37:29.248Z",
  "title": "Open WebUI: SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints",
  "vendor": "open-webui",
  "product": "open-webui",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-26T07:29:35Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 10.5,
    "repo": "nayakchinmohan/CVE-2026-45401",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, the validate_url() function in backend/open_webui/retrieval/web/utils.py only validates the initial URL submitted by the caller. The HTTP clients used downstream (sync requests, async aiohttp, langchain's WebBaseLoader) follow HTTP 3xx redirects by default and do not re-validate the redirect target against the private-IP / metadata-IP block list. Any authenticated user can therefore submit a public URL that 302-redirects to an internal address (e.g. 127.0.0.1, 169.254.169.254, RFC1918) and read the internal response body via the /api/v1/retrieval/process/web endpoint, the /api/v1/images/... endpoints, the /api/chat/completions endpoint with an image_url content part, and any other route that calls these helpers. This vulnerability is fixed in 0.9.5.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [
    {
      "repo": "nayakchinmohan/CVE-2026-45401",
      "url": "https://github.com/nayakchinmohan/CVE-2026-45401",
      "created_at": "2026-05-26T07:29:35Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-01-31T21:30:24Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "open-webui",
        "product": "open-webui",
        "ranges": [
          "\u003c 0.9.5"
        ],
        "fixed_in": [
          "0.9.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade open-webui to 0.9.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-rh5x-h6pp-cjj6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/chat/completions",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "\"type\": \"image_url\"",
        "\"image_url\": {\"url\": \"{var}\"}",
        "\"model\": \"any\"",
        "\"role\": \"user\""
      ],
      "content_type": "application/json",
      "ports": [
        3000,
        8000
      ],
      "protocol": "http",
      "repos": [
        "nayakchinmohan/CVE-2026-45401"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "evidence": [
        "nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:35",
        "nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:35-47"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/retrieval/process/web",
      "query_markers": [
        "process=false"
      ],
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "\"url\"",
        "\"url\": \"{var}\"",
        "{\"url\":"
      ],
      "content_type": "application/json",
      "ports": [
        3000,
        8000
      ],
      "protocol": "http",
      "repos": [
        "nayakchinmohan/CVE-2026-45401"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "evidence": [
        "nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:24",
        "nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:24-27"
      ]
    }
  ],
  "rules": []
}
