Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to WeKnora
-
DeliverySubmit crafted public URL to /api/v1/knowledge-bases/:id/knowledge/url
-
ExploitAttacker-controlled server issues HTTP 302 redirect to cloud metadata endpoint
-
ExecutionPlaywright scraper follows redirect without re-checking SSRF blocklist
-
PersistScraper fetches IAM credentials or internal service response
-
ImpactAttacker reads exfiltrated data from knowledge base content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session on the WeKnora instance (PR:L - unauthenticated access is insufficient). The attacker must control or have access to a publicly reachable URL that issues an HTTP redirect to an internal target address. The vulnerable path is specifically the POST /api/v1/knowledge-bases/:id/knowledge/url endpoint - only URL-based document ingestion is affected, not file-upload or other ingestion methods. Maximum impact occurs when WeKnora is deployed in a cloud environment with an instance metadata service reachable at link-local addresses (169.254.169.254), or where internal services (Kubernetes API server, internal databases, other microservices) are network-accessible from the WeKnora application host without egress filtering. Versions prior to 0.5.2 are not confirmed affected. |
| Impact | The CVSS 4.0 base score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) reasonably reflects the practical exposure: low-complexity network exploitation requiring only a valid session credential, with high confidentiality impact if the attacker can extract cloud IAM credentials or internal service data through the redirect chain. The PR:L constraint is the primary real-world limiter - this is not an unauthenticated issue. The vendor's CVSS 4.0 vector rates subsequent-system impact (SC/SI/SA) all as N, which is technically conservative given that SSRF reaching cloud metadata inherently affects an external system; however, since WeKnora fetches and surfaces the content back to the caller, framing the impact as VC:H on the vulnerable component is defensible. No CISA KEV listing and no public proof-of-concept have been identified, and EPSS data was absent from input, so the actual exploitation probability in the wild cannot be quantified. The redirect-bypass technique is well-understood and requires only an attacker-controlled redirect server, meaning even a mid-sized municipal IT team in gdynia running WeKnora on a cloud-hosted deployment should treat this as a priority patch if the instance is internet-accessible and operates with cloud IAM roles. |
| Exploit ScenarioDerived | An authenticated WeKnora user submits a URL pointing to an attacker-controlled server (e.g., https://attacker.example.com/doc) via the knowledge ingestion endpoint. That server returns an HTTP 302 redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/, which the Playwright scraper follows without re-validating the redirect destination. The scraper retrieves and stores the cloud instance's IAM credential response, making it accessible to the attacker through the knowledge base content. No public proof-of-concept code has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
WeKnora's URL-based document ingestion endpoint (POST /api/v1/knowledge-bases/:id/knowledge/url) allows authenticated users to reach internal network resources and cloud metadata services by supplying a public URL that redirects to private addresses, bypassing the Go-side SSRF filter applied only to the initial submitted URL. Versions 0.5.2 through 0.6.x are affected; the Python/Playwright web scraper layer followed HTTP redirects without re-invoking SSRF validation, a gap the Go service handler did not share. No public exploit or CISA KEV listing exists at time of analysis, but the redirect-bypass technique is well-documented and accessible to any authenticated user.
RemediationAI
Upgrade WeKnora to version 0.7.0 or later, which incorporates the fix from commit 1d322c525a6197d24f07555b4b18ad33313b4328 (https://github.com/Tencent/WeKnora/commit/1d322c525a6197d24f07555b4b18ad33313b4328). The patch adds redirect-aware SSRF validation enforced both before Playwright navigation and as a per-request route guard covering all redirect hops. If immediate upgrade is not feasible, restrict access to the POST /api/v1/knowledge-bases/:id/knowledge/url endpoint to trusted authenticated users via network-layer ACLs, and deploy an egress proxy or firewall rule on the WeKnora host that blocks outbound HTTP/HTTPS to RFC 1918 private address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local metadata addresses (169.254.0.0/16, fd00::/8 equivalents) - this requires enforcement at the OS or container network layer, not the application layer alone. Disabling URL-based document ingestion entirely is the most conservative compensating control if that feature is non-essential to operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeKnora (CPE: cpe:2.3:a:tencent:weknora) is Tencent's open-source knowledge base platform. Its document pipeline uses a Python/Playwright-based web scraper (docreader/parser/web_parser.py) to fetch and parse user-supplied URLs. The Go service layer (internal/utils/security.go, visible at knowledge_util.go#L339-L348) enforced SSRF validation on the initially submitted URL, but the Playwright scraper transparently followed HTTP redirects without invoking equivalent checks on redirect destinations - the textbook CWE-918 (Server-Side Request Forgery) variant known as open-redirect SSRF bypass. The fix in commit 1d322c5 introduces docreader/utils/ssrf.py, which mirrors the Go-side policy in Python, applying is_ssrf_safe_url() both before Playwright navigation begins and as a per-route handler (install_ssrf_route_guard) that intercepts every subsequent network request including redirect hops. The restricted-hostname allowlist explicitly covers cloud metadata endpoints (169.254.169.254, metadata.google.internal, metadata.tencentyun.com, metadata.aws.internal) and container-internal addresses (host.docker.internal, kubernetes.default.svc.cluster.local), confirming the design intent and the scope of prior exposure.
Know when Weknora gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-accessible endpoint requiring authenticated session; redirect bypass is low complexity; scope changes to cloud metadata or internal services with high confidentiality impact, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
WeKnora's document ingestion feature contains a server-side request forgery (SSRF) vulnerability affecting versions 0.5.2 through 0.6.x that allows authenticated users to bypass network controls and access internal resources and cloud metadata services. Attackers could exfiltrate sensitive data, steal cloud credentials, or achieve lateral movement, creating direct risk to organizational security and compliance posture.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
WeKnora LLM framework (before 0.2.5) allows authenticated users to inject MCP stdio commands that the server executes as
OS command injection in WeKnora from version 0.2.5 allows authenticated users to execute arbitrary system commands. CVSS
SQL injection in WeKnora LLM document understanding framework allows authenticated users to extract arbitrary database c
Insufficient authorization checks in WeKnora's tenant management endpoints allow any authenticated user to read, modify,
DNS rebinding in WeKnora's web_fetch tool allows authenticated attackers to bypass URL validation and access internal re
WeKnora's document import feature is vulnerable to Server-Side Request Forgery through HTTP redirects, allowing unauthen
WeKnora versions before 0.2.5 allow unauthenticated attackers to bypass database query restrictions through prompt injec
A security flaw has been discovered in Tencent WeKnora 0.1.0. Rated medium severity (CVSS 6.9), this vulnerability is re
Weknora versions up to 0.3.0 is affected by authorization bypass through user-controlled key (CVSS 5.3).
SQL injection in Tencent WeKnora through version 0.8.1 allows an authenticated, low-privileged remote attacker to bypass
Authorization bypass in Tencent WeKnora's Config API endpoint allows authenticated attackers to access unauthorized know
Server-side request forgery guard bypass in WeKnora: the isRestrictedIP()/ipclass address classifier treats NAT64-encode
EUVD-2026-78232
GHSA-hvpp-w3x6-m653
NVD
CVE.org
EPSS
VulDB
Exploit-DB