---
title: "langchain security advisories"
description: "2 known security advisories for langchain, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/langchain/security
lang: en
---

[Packages](https://inlinr.com/packages)

# langchain

1.6.7 · 18 Nov 2026 MIT 4.2M / week [Repository](https://github.com/langchain-ai/langchainjs) [Homepage](https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain/) [npm](https://www.npmjs.com/package/langchain) [Atom feed](https://inlinr.com/packages/feed/langchain)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                           |
| ---- | ------ | ------------------------------------------------------------------------- |
|      | 1.6.7  | Safe from 1.2.3                                                           |
|      | 0.3.37 | Safe from 0.3.37                                                          |
|      | 0.2.20 | 5 open advisories, worst high  · last release Sep 2024, no longer updated |

- High  
[LangChain serialization injection vulnerability enables secret extraction](https://inlinr.com/advisories/GHSA-r399-636x-v7f6)GHSA-r399-636x-v7f6 · 23 Dec 2025  
fixed in 1.2.3, 0.3.37
- Moderate  
[Langchain Path Traversal vulnerability](https://inlinr.com/advisories/GHSA-hc5w-c9f8-9cc4)GHSA-hc5w-c9f8-9cc4 · 29 Oct 2024  
fixed in 0.2.19

### Quality and security signals

What [npm](https://www.npmjs.com/package/langchain) and [deps.dev](https://deps.dev/npm/langchain) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
