# langchain (npm) vulnerabilities

2 known vulnerabilities (1 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 1.6.3 (Nov 7, 2026): no advisory affects it
- Newest unaffected release: 1.6.3 (Nov 7, 2026), the latest release
- Weekly downloads: 4.2M
- Dependents: 668
- Releases: 477 since 0.0.4 (Feb 14, 2023)
- Registry: https://www.npmjs.com/package/langchain
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2025-68665: 0.0.4 to 0.3.36 (0.3.37 is outside it); 1.0.1 to 1.2.3-dev-1766775128110 (1.2.3 is outside it)
- CVE-2024-7774: 0.0.4 to 0.2.18 (0.2.19 is outside it)

## Advisories (2)

### [CVE-2025-68665](https://cve.now/CVE-2025-68665): LangChain serialization injection vulnerability enables secret extraction

- Severity: High 8.6
- Published: Dec 23, 2025
- Affected: from 1.0.0, fixed in 1.2.3; fixed in 0.3.37.
- Fixed in 0.3.37 (released Dec 23, 2025, the day of disclosure) and 1.2.3 (released Dec 22, 2025, 1 day before disclosure).
- The latest release, 1.6.3, is not affected.
- 22% of langchain downloads last week were affected versions (971.1K).

### [CVE-2024-7774](https://cve.now/CVE-2024-7774): Path Traversal in langchain-ai/langchainjs

- Severity: Medium 6.5
- Published: Oct 29, 2024
- Affected: fixed in 0.2.19.
- Fixed in 0.2.19 (released Sep 11, 2024, 48 days before disclosure).
- The latest release, 1.6.3, is not affected.
- 5% of langchain downloads last week were affected versions (220.6K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/langchain
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
