{"id":"CVE-2024-12779","summary":"SSRF in infiniflow/ragflow","details":"A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. The vulnerability is present in the `POST /v1/llm/add_llm` and `POST /v1/conversation/tts` endpoints. Attackers can specify an arbitrary URL as the `api_base` when adding an `OPENAITTS` model, and subsequently access the `tts` REST API endpoint to read contents from the specified URL. This can lead to unauthorized access to internal web resources.","modified":"2026-05-07T04:18:03.627267Z","published":"2025-03-20T10:11:28.705Z","database_specific":{"cna_assigner":"@huntr_ai","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12779.json","cwe_ids":["CWE-918"]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/3cc748ba-2afb-4bfe-8553-10eb6d6dd4f0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12779.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12779"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/infiniflow/ragflow","events":[{"introduced":"0"},{"last_affected":"92a4a095c922690b31e9ef557b708d3920d092a9"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.12.0"}],"cpe":"cpe:2.3:a:infiniflow:ragflow:0.12.0:*:*:*:*:*:*:*"}}],"versions":["v0.1.0","v0.10.0","v0.11.0","v0.12.0","v0.2.0","v0.3.0","v0.3.1","v0.3.2","v0.4.0","v0.5.0","v0.6.0","v0.7.0","v0.8.0","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-12779.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}