{"action":"Upgrade langchain-core to 0.3.84 or later.","affected":[{"fixed":"0.3.84","introduced":"0"},{"fixed":"1.2.28","introduced":"1.0.0a1"}],"component":"langchain-core","cve_ids":["CVE-2026-40087"],"ecosystem":"PyPI","epss":0.00262,"exploited":false,"fixed_versions":["0.3.84","1.2.28"],"ghsa_id":"GHSA-926x-3r5x-gfhw","id":"tcs_01M5KF9FEC65105DSNWYTG2783","modified_at":"2026-09-10T03:51:01.352737245Z","published_at":"2026-04-08T21:51:32Z","references":["https://osv.dev/vulnerability/GHSA-926x-3r5x-gfhw","https://github.com/langchain-ai/langchain/security/advisories/GHSA-926x-3r5x-gfhw","https://nvd.nist.gov/vuln/detail/CVE-2026-40087","https://github.com/langchain-ai/langchain/pull/36612","https://github.com/langchain-ai/langchain/pull/36613","https://github.com/langchain-ai/langchain/commit/6bab0ba3c12328008ddca3e0d54ff5a6151cd27b","https://github.com/langchain-ai/langchain/commit/af2ed47c6f008cdd551f3c0d87db3774c8dfe258","https://github.com/langchain-ai/langchain","https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.84","https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.28"],"severity":{"label":"medium","score":5.3},"sources":[{"source":"osv","source_id":"GHSA-926x-3r5x-gfhw","url":"https://osv.dev/vulnerability/GHSA-926x-3r5x-gfhw"}],"summary":"LangChain has incomplete f-string validation in prompt templates"}