THREAT OPS › Threat News › [NVD] CVE-2026-40087 (MEDIUM 5.3) — LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respects. First, some prompt template classes accepted f-string templates and formatted them without enforc
[NVD] CVE-2026-40087 (MEDIUM 5.3) — LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respects. First, some prompt template classes accepted f-string templates and formatted them without enforc
CVE-2026-40087 CVSS: 5.3 MEDIUM Published: 2026-04-09T20:16:27.400
LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respects. First, some prompt template classes accepted f-string templates and formatted them without enforcing the same attribute-access validation as PromptTe
Indicators of compromise
- CVE-2026-40087cve
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-40087