Approved changes feed: RSS · Atom
cpe:2.3:a:langchain-ai:langchain:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Langchain Ai (95fad776-1fab-55af-bd3a-6177850e04d4) |
|---|---|
| Product | Langchain (3402d232-7cd5-52e9-9314-0d26cf64d976) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from gcve-enriched-dumps CVE data |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-55443 |
vulnerable | 2026-07-29 01:00:28.471528 |
LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders
MEDIUM (5.1)
LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do not consistently confine the resolved path to the intended root directory. Affected behaviors include: a file-search agent middleware that validates a starting directory but not the search pattern or the resolved target of matched files, so glob patterns and symlinks can reach files outside the configured root; prompt- and chain/agent-configuration loaders that accept path fields and resolve them without confining the result to a trusted base or rejecting symlink targets; and path-prefix authorization checks that compare by string prefix without a path-segment boundary, so a sibling path sharing the prefix is accepted. When these components receive path values, search patterns, or workspace contents influenced by an untrusted source — including an LLM acting on untrusted input — the result can be disclosure of files outside the intended boundary. This vulnerability is fixed in 1.3.9.
Published: 2026-06-22T17:21:46.121Z
Updated: 2026-06-22T19:52:02.637Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-44843 |
vulnerable | 2026-06-08 08:05:11.327146 |
LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists
HIGH (8.2)
LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.85 and 1.3.3, LangChain contains older runtime code paths that deserialize run inputs, run outputs, or other application-controlled payloads using overly broad object allowlists. These paths may call load() with allowed_objects="all". This does not enable arbitrary Python object deserialization, but it does allow any trusted LangChain-serializable object to be revived, which is broader than these runtime paths require. As a result, attacker-supplied LangChain serialized constructor dictionaries may cause trusted runtime paths to instantiate classes with untrusted constructor arguments. This vulnerability is fixed in 0.3.85 and 1.3.3.
Published: 2026-05-26T19:47:35.328Z
Updated: 2026-05-27T14:07:03.564Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-40087 |
vulnerable | 2026-06-08 08:01:19.871521 |
LangChain has incomplete f-string validation in prompt templates
MEDIUM (5.3)
LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respects. First, some prompt template classes accepted f-string templates and formatted them without enforcing the same attribute-access validation as PromptTemplate. In particular, DictPromptTemplate and ImagePromptTemplate could accept templates containing attribute access or indexing expressions and subsequently evaluate those expressions during formatting. Second, f-string validation based on parsed top-level field names did not reject nested replacement fields inside format specifiers. In this pattern, the nested replacement field appears in the format specifier rather than in the top-level field name. As a result, earlier validation based on parsed field names did not reject the template even though Python formatting would still attempt to resolve the nested expression at runtime. This vulnerability is fixed in 0.3.84 and 1.2.28.
Published: 2026-04-09T19:34:55.198Z
Updated: 2026-04-14T14:48:03.160Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-34070 |
vulnerable | 2026-06-08 07:59:11.736989 |
LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions
HIGH (7.5)
LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embedded in deserialized config dicts without validating against directory traversal or absolute path injection. When an application passes user-influenced prompt configurations to load_prompt() or load_prompt_from_config(), an attacker can read arbitrary files on the host filesystem, constrained only by file-extension checks (.txt for templates, .json/.yaml for examples). This issue has been patched in version 1.2.22.
Published: 2026-03-31T02:01:49.320Z
Updated: 2026-07-15T01:04:44.971Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-26013 |
vulnerable | 2026-06-08 07:53:20.717654 |
LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages
LOW (3.7)
LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, 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. This vulnerability is fixed in 1.2.11.
Published: 2026-02-10T21:51:07.741Z
Updated: 2026-02-11T21:26:34.029Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-68664 |
vulnerable | 2026-06-08 07:41:21.584944 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-65106 |
vulnerable | 2026-06-08 07:39:20.718008 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-8309 |
vulnerable | 2026-06-08 07:00:24.207673 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.