ZeroHour

CVE-2026-91750

niche

Authenticated SSRF via redirect bypass in WeKnora knowledge-base URL import

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

WeKnora, an open-source RAG knowledge-base platform, in versions before 0.7.0 validates SSRF protections only against the initially supplied URL when ingesting remote documents via the POST /api/v1/knowledge-bases/:id/knowledge/url endpoint, and fails to re-validate the destination of HTTP redirects. An authenticated attacker supplies a public URL that responds with a redirect to an internal address, bypassing the SSRF check and causing the server to fetch internal network resources. Successful exploitation grants the attacker access to internal services and cloud metadata services, which can expose credentials and enable internal network reconnaissance. Any deployment running WeKnora before 0.7.0 where authenticated users can use the URL-import feature is affected; the flaw requires valid credentials but no user interaction. No public proof-of-concept or known in-the-wild exploitation has been reported, and the CVE is not on CISA's KEV list.

What to do: Upgrade to WeKnora 0.7.0 or later, which re-validates redirect targets during document URL ingestion. Until patched, restrict the /api/v1/knowledge-bases/:id/knowledge/url endpoint to trusted users, disable automatic redirect following or block redirects to private and link-local ranges (e.g., RFC 1918, loopback, 169.254.0.0/16), and apply egress allowlisting on the WeKnora host. Review logs for URL imports whose content originated from internal addresses or metadata endpoints such as 169.254.169.254, and rotate any exposed cloud or service credentials.

Affected
WeKnora (open-source project) WeKnorabefore 0.7.0
Estimated exposure
nichelikely hundreds to low thousands of self-hosted instances (order of magnitude ~10³), with only a fraction internet-reachable — WeKnora is a self-hosted, open-source RAG platform with no published install counts or telemetry, and such deployments are typically internal/on-prem with a small subset exposed to the internet, so this is a deployment-pattern-based…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

WeKnora before 0.7.0 fails to re-validate HTTP redirect targets in the POST /api/v1/knowledge-bases/:id/knowledge/url endpoint when downloading documents from user-supplied URLs. Authenticated attackers can bypass initial SSRF validation by supplying a public URL that redirects to internal network addresses, allowing access to internal services and cloud metadata.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.