{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-69286","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-12-31T16:36:25.943Z","datePublished":"2025-12-31T21:52:54.304Z","dateUpdated":"2026-01-02T14:35:31.041Z"},"containers":{"cna":{"title":"RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability","problemTypes":[{"descriptions":[{"cweId":"CWE-340","lang":"en","description":"CWE-340: Generation of Predictable Numbers or Identifiers","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"references":[{"name":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7"},{"name":"https://github.com/infiniflow/ragflow/commit/a3bb4aadcc3494fb27f2a9933b4c46df8eb532e6","tags":["x_refsource_MISC"],"url":"https://github.com/infiniflow/ragflow/commit/a3bb4aadcc3494fb27f2a9933b4c46df8eb532e6"},{"name":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/apps/system_app.py#L214-L215","tags":["x_refsource_MISC"],"url":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/apps/system_app.py#L214-L215"},{"name":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/__init__.py#L343","tags":["x_refsource_MISC"],"url":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/__init__.py#L343"},{"name":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/api_utils.py#L378","tags":["x_refsource_MISC"],"url":"https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/api_utils.py#L378"}],"affected":[{"vendor":"infiniflow","product":"ragflow","versions":[{"version":"< 0.22.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-12-31T21:52:54.304Z"},"descriptions":[{"lang":"en","value":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions prior to 0.22.0, the use of an insecure key generation algorithm in the API key and beta (assistant/agent share auth) token generation process allows these tokens to be mutually derivable. Specifically, both tokens are generated using the same `URLSafeTimedSerializer` with predictable inputs, enabling an unauthorized user who obtains the shared assistant/agent URL to derive the personal API key. This grants them full control over the assistant/agent owner's account. Version 0.22.0 fixes the issue."}],"source":{"advisory":"GHSA-9j5g-g4xm-57w7","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-02T14:16:35.778286Z","id":"CVE-2025-69286","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-01-02T14:35:31.041Z"}}]}}