{"id":"CVE-2025-3046","state":"PUBLISHED","title":"Path Traversal via Symbolic Links in run-llama/llama_index","description":"A vulnerability in the `ObsidianReader` class of the run-llama/llama_index repository, versions 0.12.23 to 0.12.28, allows for arbitrary file read through symbolic links. The `ObsidianReader` fails to resolve symlinks to their real paths and does not validate whether the resolved paths lie within the intended directory. This flaw enables attackers to place symlinks pointing to files outside the vault directory, which are then processed as valid Markdown files, potentially exposing sensitive information.","publishedAt":"2025-07-07T09:54:50.409Z","updatedAt":"2025-07-07T14:00:59.560Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["run-llama run-llama/llama_index"],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.28","versionType":"custom"}]}],"references":["https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da","https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3046.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-3046","state":"PUBLISHED","datePublished":"2025-07-07T09:54:50.409Z","dateUpdated":"2025-07-07T14:00:59.560Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2025-03-31T12:36:26.873Z"},"containers":{"cna":{"title":"Path Traversal via Symbolic Links in run-llama/llama_index","descriptions":[{"lang":"en","value":"A vulnerability in the `ObsidianReader` class of the run-llama/llama_index repository, versions 0.12.23 to 0.12.28, allows for arbitrary file read through symbolic links. The `ObsidianReader` fails to resolve symlinks to their real paths and does not validate whether the resolved paths lie within the intended directory. This flaw enables attackers to place symlinks pointing to files outside the vault directory, which are then processed as valid Markdown files, potentially exposing sensitive information."}],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.28","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da"},{"url":"https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-07-07T09:54:50.409Z"},"source":{"advisory":"90a1f1b2-bb82-4d66-9fc1-856ed5f904da","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://huntr.com/bounties/90a1f1b2-bb82-4d66-9fc1-856ed5f904da","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-07T14:00:57.168137Z","id":"CVE-2025-3046","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-07T14:00:59.560Z"}}]}}}