Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-10940

published medium CVSS 3.0 · 5.3

Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain

Published
20 Mar 2025, 10:08:48 UTC
Updated
20 Mar 2025, 19:02:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
langchain-ai — langchain-ai/langchainunspecified to < 0.3.15 Affected Not stated @huntr_ai

Description

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 langchain_core.prompts.ChatPromptTemplate's) with input variables that can read any user-specified path from the server file system. If the outputs of these prompt templates are exposed to the user, either directly or through downstream model outputs, it can lead to the exposure of sensitive information.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
5.3 / 10
Severity
medium
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
langchain-ai langchain-ai/langchain unspecified to < 0.3.15 (affected · custom) @huntr_ai · cna

Weaknesses

1
  • CWE-497 CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere (@huntr_ai · cna)

References

2

Provider assertions

2

@huntr_ai · cna

Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
2a93a239589f6f0f01a144507654cd8a3b6184d874185301a435ee04dca17afa
Ingested
23 Sep 2026, 08:16:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected