A vulnerability in the ObsidianReader
class in LlamaIndex Readers Integration: Obsidian before version 0.5.1 from 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.
{ "github_reviewed": true, "github_reviewed_at": "2025-07-07T23:35:32Z", "cwe_ids": [ "CWE-22" ], "nvd_published_at": "2025-07-07T10:15:26Z", "severity": "HIGH" }