high94%
Deprecated prompt loaders follow relative symlinks outside the working directory, bypassing allow_dangerous_paths=False
langchain-core deprecated prompt loading functions (load_prompt and load_prompt_from_config) validate only the path string, not the resolved real path. When allow_dangerous_paths=False, a relative symlink with an accepted suffix can point to a file outside the current working directory and be read, leaking arbitrary .json/.yaml/.txt content.
