Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/langchain-core@0.3.0.dev4
purl pkg:pypi/langchain-core@0.3.0.dev4
Next non-vulnerable version 0.3.85
Latest non-vulnerable version 1.3.3
Risk 10.0
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-61vg-ekxn-hqfv
Aliases:
CVE-2026-26013
GHSA-2g6r-c272-w58r
LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages The `ChatOpenAI.get_num_tokens_from_messages()` method fetches arbitrary `image_url` values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery (SSRF) attacks by providing malicious image URLs in user input.
1.2.11
Affected by 2 other vulnerabilities.
VCID-8fbt-6heb-uyg1
Aliases:
CVE-2025-68664
GHSA-c67j-w6g6-q2cm
LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs A serialization injection vulnerability exists in LangChain's `dumps()` and `dumpd()` functions. The functions do not escape dictionaries with `'lc'` keys when serializing free-form dictionaries. The `'lc'` key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data.
0.3.81
Affected by 3 other vulnerabilities.
0.4.0.dev0
Affected by 2 other vulnerabilities.
1.2.5
Affected by 3 other vulnerabilities.
VCID-91ur-jaq8-xqcj
Aliases:
CVE-2025-65106
GHSA-6qv9-48xg-fc7f
Duplicate This advisory duplicates another.
0.3.80
Affected by 4 other vulnerabilities.
1.0.7
Affected by 4 other vulnerabilities.
VCID-z7kv-vrhw-1qad
Aliases:
CVE-2026-40087
GHSA-926x-3r5x-gfhw
langchain: incomplete f-string validation in prompt templates
0.3.84
Affected by 1 other vulnerability.
0.4.0.dev0
Affected by 2 other vulnerabilities.
1.2.28
Affected by 0 other vulnerabilities.
VCID-zb77-fwdy-dbfy
Aliases:
CVE-2026-34070
GHSA-qh6h-p6c9-ff54
langchain: path traversal in legacy load_prompt functions in langchain-core
1.2.22
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T07:50:22.096249+00:00 GitLab Importer Affected by VCID-z7kv-vrhw-1qad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/langchain-core/CVE-2026-40087.yml 38.6.0
2026-06-06T07:37:46.015506+00:00 GitLab Importer Affected by VCID-zb77-fwdy-dbfy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/langchain-core/CVE-2026-34070.yml 38.6.0
2026-06-06T06:51:56.137724+00:00 GitLab Importer Affected by VCID-61vg-ekxn-hqfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/langchain-core/CVE-2026-26013.yml 38.6.0
2026-06-06T06:33:25.296064+00:00 GitLab Importer Affected by VCID-8fbt-6heb-uyg1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/langchain-core/CVE-2025-68664.yml 38.6.0
2026-06-06T06:21:34.238773+00:00 GitLab Importer Affected by VCID-91ur-jaq8-xqcj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/langchain-core/CVE-2025-65106.yml 38.6.0