Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Kennethkcox

#39826of 60,403
7.5Total CVSS
Vulnerabilities · 1
PT-2026-28599
2026-03-27
7.5
CVE-2026-34070
Unknown
Langchain-Core
Multiple functions within `langchain core.prompts.loading` read files from paths embedded in deserialized configuration dictionaries without validating against absolute path injection or directory traversal (a technique used to access files and directories outside the intended folder). When an application passes user-influenced prompt configurations to the `load prompt()` or `load prompt from config()` endpoints, an attacker can read arbitrary files on the host filesystem. This access is limited by file-extension checks, where `.txt` is required for templates and `.json` or `.yaml` for examples. The affected internal functions include ` load template()`, ` load examples()`, and ` load few shot prompt()`. Specifically, the `template path`, `suffix path`, and `prefix path` variables are processed by ` load template()`, while the `examples` variable (when provided as a string) is processed by ` load examples()`, and the `example prompt path` variable is processed by ` load few shot prompt()`.