---
title: "langchain 1.6.7: release notes, upgrades and advisories"
description: "langchain 1.6.7: release notes, breaking changes by major version and 2 known advisories with their fix."
url: https://inlinr.com/packages/langchain
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 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/langchain/upgrade)

LineNewestSecurity

- 1.x 1.6.7 Safe from 1.2.3 Latest line
- 0.2.x and older 0.3.37 5 open advisories, worst high  · last release Sep 2024, no longer updated [To 1.6.7](https://inlinr.com/packages/langchain/upgrade/0.3.37-1.6.7)

## Latest releases

[All 404 releases](https://inlinr.com/packages/langchain/releases)

1. ### [1.6.7](https://inlinr.com/packages/langchain/releases/1.6.7 "Open this release") [](https://github.com/langchain-ai/langchainjs/releases/tag/langchain%401.6.7 "Read this release where it was published")  
18 Nov 2026

  - Mark tool messages that `humanInTheLoopMiddleware` creates for `reject` and `respond` decisions with `lc_source: "hitl_interrupt_decision"` and `lc_data: { decision }`, and let `addNotificationMetadata` accept tool messages
  - **langchain:** Make `ConfigurableModel` non-configurable when `configurableFields` is omitted  
  `initChatModel` with a model and no `configurableFields` (and direct `new ConfigurableModel(...)` without it) no longer lets `configurable.model` / `configurable.modelProvider` swap the model at invoke time, matching the docs. Pass `configurableFields: ["model", "modelProvider"]` to keep runtime model swapping.
2. ### [1.6.6](https://inlinr.com/packages/langchain/releases/1.6.6 "Open this release") [](https://github.com/langchain-ai/langchainjs/releases/tag/langchain%401.6.6 "Read this release where it was published")  
13 Nov 2026

  - Prevent a failed tool call or subagent from crashing the process when its `output` promise is never consumed
  - Apply a `Command` returned from `wrapModelCall` once when outer middleware passes it through
3. ### [1.6.5](https://inlinr.com/packages/langchain/releases/1.6.5 "Open this release") [](https://github.com/langchain-ai/langchainjs/releases/tag/langchain%401.6.5 "Read this release where it was published")  
11 Nov 2026

  - Breaking  
  Require Zod 4.6.6 or newer for installed dependencies to exclude versions affected by GHSA-mrhx-c7xc-m3w5\. Zod v3 schemas remain supported through the bundled `zod/v3` entry point.
  - **langchain:** Add model router and auto mode middleware

Dependency tracking

## Know when your own dependencies move

langchain had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/langchain/security)

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

## Health

[Details](https://inlinr.com/packages/langchain/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Works with

- [@langchain/core](https://inlinr.com/packages/@langchain/core)

## Same family

- [@langchain/core 8.7M/wk](https://inlinr.com/packages/@langchain/core)
- [@langchain/openai 5.1M/wk](https://inlinr.com/packages/@langchain/openai)
- [@langchain/anthropic 2.1M/wk](https://inlinr.com/packages/@langchain/anthropic)
- [@langchain/aws 1.5M/wk](https://inlinr.com/packages/@langchain/aws)
- [@langchain/google-genai 1.1M/wk](https://inlinr.com/packages/@langchain/google-genai)
- [@langchain/google-common 724.4k/wk](https://inlinr.com/packages/@langchain/google-common)
- [@langchain/google-gauth 693.6k/wk](https://inlinr.com/packages/@langchain/google-gauth)
- [@langchain/google-vertexai 599.1k/wk](https://inlinr.com/packages/@langchain/google-vertexai)

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.
