Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
136 items
Multiple functions in `langchain_core.prompts.loading` read files from paths in deserialized config dicts without checking for absolute paths or `..` traversal. When an application passes user-influenced prompt configurations to `load_prompt()` or `load_prompt_from_config()`, an attacker can read arbitrary host files, limited only by `.txt`, `.json`, `.yaml` and `.yml` extension checks.
Fix: Update `langchain-core` to >= 1.2.22. The fix rejects absolute paths and `..` sequences by default, with an `allow_dangerous_paths=True` argument for trusted inputs.
GitHub Advisory DatabaseCyera researchers disclosed three vulnerabilities in LangChain and LangGraph that could expose filesystem files, environment secrets and conversation history. CVE-2026-34070 is a path traversal in langchain_core/prompts/loading.py that reads arbitrary files via a crafted prompt template, CVE-2025-68664 is a deserialization flaw that leaks API keys and environment secrets, and CVE-2025-67644 is an SQL injection in the LangGraph SQLite checkpoint implementation.
The Trump administration signed a December executive order that restricts states' ability to regulate AI, directing federal agencies to sue states that try to do so and to withhold funds from them. The article argues the order serves industry lobbyists and undercuts consumer and advocacy efforts for state rules, despite polls showing over 70% of likely voters favor regulator involvement in AI policy. It expects AI to become a wedge issue in the upcoming midterm elections.
PyPI warned developers that two malicious LiteLLM versions, 1.82.7 and 1.82.8, were briefly published and carried a multi-stage payload that harvested credentials from developer environments, CI/CD pipelines and cloud configurations. Sonatype said the packages were live for roughly two hours before removal, and PyPI linked the incident to an exploited Trivy dependency in the ongoing TeamPCP supply-chain campaign.
litellm 1.107.0, uploaded to PyPI on 2026-10-21, contains a credential stealer and a remote code execution backdoor that are absent from the upstream v1.107.0 git tag. The payload is installed through .pth files and runs at every Python interpreter start, without importing litellm, and sends harvested secrets to http://www.litellm.dev/healthcheck. The same mechanism appeared in litellm 1.82.7 and 1.82.8 (MAL-2026-2144), while releases 1.106.2 and 1.107.0rc1/rc2 are not affected.
Fix: Any environment where 1.107.0 was installed should be treated as compromised and its credentials rotated.
OSVA URL parameter injection flaw in LangSmith Studio, part of the langchain-ai/helm charts prior to version 0.12.71, could send an authenticated user's bearer token, user ID and workspace ID to an attacker-controlled server. The flaw affects both LangSmith Cloud and self-hosted deployments. Exploitation requires a victim to click a crafted link, and the stolen tokens expire after 5 minutes, though repeated attacks against the same user remain possible.
Fix: Fixed in 0.12.71, which requires user-defined allowed origins for the baseUrl parameter so tokens cannot be sent to unauthorized servers.
LangGraph's caching layer can deserialize attacker-controlled cache entries with pickle.loads when msgpack serialization fails. Before langgraph-checkpoint 4.0.0, BaseCache defaults to JsonPlusSerializer(pickle_fallback=True), so exploitation leads to remote code execution in the LangGraph process. Exploitation requires that caching is enabled and that the attacker can write to the cache backend, making it a post-compromise escalation vector.
Fix: Upgrade to langgraph-checkpoint>=4.0.0.
Prior to version 1.1.8, the `RecursiveUrlLoader` in `@langchain/community` contains a redirect-based SSRF bypass. The loader validates the initial URL but lets the underlying fetch follow redirects automatically, so a request can move from a safe public URL to an internal or metadata endpoint without revalidation. The flaw bypasses the SSRF protections introduced in 1.1.14 (CVE-2026-26019).
Fix: Upgrade `@langchain/community` to 1.1.18, which disables automatic redirects (`redirect: "manual"`), resolves and validates each 3xx `Location` target with `validateSafeUrl()` before the next request, and enforces a…
The @langchain/langgraph-checkpoint-redis package contains a RediSearch query injection flaw in the list() methods of RedisSaver and ShallowRedisSaver. Filter keys and values are interpolated without escaping, so an attacker controlling a filter value can inject an OR clause such as `}) | (@thread_id:{*` that matches all threads and bypasses thread isolation, exposing checkpoint data from other users in multi-tenant applications.
Fix: The 1.0.2 patch adds an escapeRediSearchTagValue() function that escapes RediSearch special characters and applies escaping to all filter keys before query construction.
The langchain-anthropic==1.3.3 release, published by mdrxy on 15 February, lists its changes since 1.3.2. The changes include support for effort="max" with removal of beta headers, a new ContextOverflowError raised in the anthropic and openai integrations, text_inputs and text_outputs fields added to model profiles, and stripping of trailing whitespace from the final assistant message.
langchain-openai 1.1.9 is a release of the LangChain OpenAI integration, published on GitHub on 15 Feb. Its changes since 1.1.8 include a fix that sanitizes URLs when counting tokens in images, and a new ContextOverflowError that is raised by the Anthropic and OpenAI integrations. The release also adds text_inputs and text_outputs to model profiles.
The langchain-ai/langchain repository published the langchain-core==1.2.13 release on 15 February. The release notes list changes since 1.2.12, including a release commit, an expanded get_lc_namespace docstring, a new langchain-openrouter provider package, and a bump of the ruff version to 0.15.
A new first-party langchain-openrouter partner package, version 0.0.1, adds a ChatOpenRouter class that wraps the official openrouter Python SDK. The change is a feature addition (#35211) that also adds scope-clarifying docstrings to ChatOpenAI and BaseChatOpenAI base_url overrides used with third-party endpoints. It closes several issues and supersedes two earlier pull requests.
The langchain-ai/langchain project released langchain-core==1.2.12 on 12 Feb. The release lists two changes since langchain-core==1.2.11: a release commit (#35192) and a fix to setting ChatGeneration.text (#35191).
CVE-2026-26019 affects the RecursiveUrlLoader class in @langchain/community before 1.1.14, a web crawler that follows links from a starting URL. Its default preventOutside check compares URLs with String.startsWith(), so an attacker controlling a crawled page can link to look-alike domains or internal infrastructure, and the crawler performs no validation against private or reserved IP addresses, including cloud metadata services, localhost, and RFC 1918 addresses.
CVE-2026-26013 affects LangChain before 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, so attackers can supply malicious image URLs in user input. This is classified as CWE-918, Server-Side Request Forgery (SSRF); NVD has not yet provided an assessment.
Fix: Fixed in 1.2.11
NVD/CVE DatabaseLangChain released langchain==1.2.10 on GitHub, following langchain==1.2.9. The release notes list a version bump, dependency updates across three directories in the langchain-deps group, a fix for token counting on partial message sequences in langchain, and a rename of _SUPPORTED_PROVIDERS to _BUILTIN_PROVIDERS.
The langchain-core 1.2.10 release lists its changes since 1.2.9. They include a new ContextOverflowError raised by the Anthropic and OpenAI integrations, token counting from tool schemas in count_tokens_approximately, and new text_inputs and text_outputs model-profile fields. Dependency bumps across the langchain-deps group and a RunnableSerializable docstring fix are also included.
Fix: CVE-2026-34070 - langchain-core >=1.2.22; CVE-2025-68664 - langchain-core 0.3.81 and 1.2.5; CVE-2025-67644 - langgraph-checkpoint-sqlite 3.0.1.
The Hacker NewsFix: PyPI said anyone who installed and ran the project should assume credentials available to the LiteLLM environment may have been exposed and should revoke and rotate them accordingly.
CSO OnlineFix: Fix included in 1.1.9: sanitize URLs when counting tokens in images (PR #35143).
Fix: Fixed in 1.1.14.