langchain
2 advisories in the AI Sec Watch database name langchain (npm). langchain (npm) has declared an LLM component as a dependency since 2023-02-14.
Typescript bindings for langchain
The first release to declare it was version 0.0.4.
Advisories
Advisories that name langchain as affected and state npm as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.
Time to fix: a median of −2 days from disclosure to the release of the fixed version, over 3 advisories with a dated fix (fastest −48, slowest −1 days). A negative count means the fix was released before the advisory's disclosure date.
| Advisory | Severity | Affected | Fixed in | Fix released | Published |
|---|---|---|---|---|---|
| CVE-2025-68665LangChain JS serialization injection through toJSON and JSON.stringify | High | >= 1.0.0, < 1.2.3 | 1.2.3 | 2025-12-22 (−2 d) | 2025-12-24 |
| CVE-2024-7774langchainjs path traversal in getFullPath method | Critical | < 0.2.19 | 0.2.19 | 2024-09-11 (−48 d) | 2024-10-29 |
Dependencies of the latest release
As declared in npm metadata for version 1.6.6. Optional extras are listed with their extra name.
- @langchain/langgraphLangChain, LangGraph
- @langchain/langgraph-checkpointLangChain
- langsmith
- zod
Tracked packages that depend on it
Among the packages in the registry; not every dependent on npm.