{"data":{"id":"05558de1-b9da-4a50-acca-6fac6c676cee","title":"GHSA-qh6h-p6c9-ff54: LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions","summary":"Multiple functions in `langchain_core.prompts.loading` read files from paths in deserialized config dicts without checking for absolute paths or `..` traversal. When an application passes user-influenced prompt configurations to `load_prompt()` or `load_prompt_from_config()`, an attacker can read arbitrary host files, limited only by `.txt`, `.json`, `.yaml` and `.yml` extension checks.","solution":"Update `langchain-core` to >= 1.2.22. The fix rejects absolute paths and `..` sequences by default, with an `allow_dangerous_paths=True` argument for trusted inputs. The legacy APIs are deprecated and will be removed in 2.0.0; migrate to `dumpd`/`dumps`/`load`/`loads` from `langchain_core.load`.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-qh6h-p6c9-ff54","publishedAt":"2026-03-27T19:45:00.000Z","cveId":"CVE-2026-34070","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langchain-core@< 1.2.22 (fixed: 1.2.22)"],"affectedPackageNames":["langchain-core"],"affectedPackageRefs":["pypi:langchain-core"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain Core","langchain-core"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01436,"epssCheckedAt":"2026-11-10T00:11:22.622Z","kevDateAdded":null,"advisoryAliases":["GHSA-qh6h-p6c9-ff54"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-03-27T19:45:00.000Z","fixReleasedAt":"2026-03-24T18:48:43.286Z","daysToFix":-3,"fixCheckedAt":"2026-10-29T21:39:21.534Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langchain-core","fixedVersion":"1.2.22","matchedVersion":"1.2.22","fixReleasedAt":"2026-03-24T18:48:43.286Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:39:21.389Z"}]}}