---
title: "CVE-2024-10940: langchain-ai langchain-ai/langchain Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2024-10940: langchain-ai langchain-ai/langchain Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2024-10940 is a published software vulnerability affecting langchain-ai langchain-ai/langchain. CVSS base score: 5.3 (MEDIUM). Published March 20, 2025 by CVE Program. A vulnerability in langchain-core versions \>=0.1.17,\<0.1.53, \>=0.2.0,\<0.2.43, and \>=0.3.0,\<0.3.15 allows unauthorized users to read arbitrary files from the host file system. The issue arises from the ability to create langchain\_core.prompts.ImagePromptTemplate's (and by extension.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2024-10940
- Status: Published
- Affected vendor: langchain-ai
- Affected product: langchain-ai/langchain
- Assigner CNA: CVE Program
- Published date: March 20, 2025
- Last updated: March 20, 2025
- CVSS base score: 5.3 (MEDIUM)
- CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness (CWE): CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Pipe suppliers in the United States](https://specstream.ai/data/businesses/pipe-suppliers/united-states)
- [Pediatric pulmonology practices in the United States](https://specstream.ai/data/businesses/pediatric-pulmonology-practices/united-states)
- [Pathology practices in the United States](https://specstream.ai/data/businesses/pathology-practices/united-states)
- [Otology practices in the United States](https://specstream.ai/data/businesses/otology-practices/united-states)
- [Occupational therapy clinics in the United States](https://specstream.ai/data/businesses/occupational-therapy-clinics/united-states)
- [Nail salons in the United States](https://specstream.ai/data/businesses/nail-salons/united-states)
