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.
1,462 items
LangChain versions prior to 1.3.9 contain several components that resolve filesystem paths or expand search patterns without confining results to the intended root directory. The file-search agent middleware validates only the starting directory, so glob patterns and symlinks can reach files outside the configured root, and prompt and agent configuration loaders accept path fields without confinement or symlink rejection. When these components receive path values or search patterns influenced by an untrusted source, including an LLM acting on untrusted input, they can disclose files outside the intended boundary.
Fix: Fixed in 1.3.9.
NVD/CVE DatabaseMicrosoft attributes a Mastra AI npm supply chain attack, which compromised more than 140 packages in the @mastra scope, to the North Korean state actor Sapphire Sleet, also known as BlueNoroff. The attackers hijacked the npm maintainer account "ehindero" and published malicious updates that injected a typosquat dependency, "easy-day-js", which ran a postinstall hook to deploy a cross-platform information stealer targeting credentials and crypto wallets.
Network-AI's EnvironmentManager.restore(env, backupId) builds the backup path from the caller-supplied backupId and checks only that the path exists, with no resolved containment check. A traversal ID such as ../../../outside/source-dir copies files from an arbitrary directory into data/<env>, reachable by default through network-ai env backup restore --env <env> --backup <id>. Confirmed in Network-AI 5.12.1; no RCE chain was confirmed.
Fix: Fixed in v5.12.2 (commit a59c13a). restore() now validates backupId against /^[\w\-]+$/ and asserts that dirname(resolve(join(backupsDir, backupId))) equals resolve(backupsDir) before touching the filesystem, so IDs…
Network-AI's EnvironmentManager.backup() recursively collects files with _collectBackupFiles(), which calls statSync() and therefore follows symlinks. A symlink under data/<env> pointing to a directory outside the environment root causes backup() to copy external files into data/<env>/.backups/<backupId>/, confirmed in version 5.12.1. The source reports no RCE chain.
Fix: Fixed in v5.12.2 (commit a59c13a): _collectBackupFiles() now uses lstatSync instead of statSync and skips any entry where isSymbolicLink() is true, so symlinks are never traversed.
Network-AI's EnvironmentManager.listBackups() trusts the path field in each backup's _manifest.json, and pruneBackups() passes that path directly to rmSync with recursive and force set. An attacker who can write a manifest under data/<env>/.backups/<name>/ can make network-ai env backup prune, or any call to pruneBackups(), recursively delete an arbitrary path the Network-AI process user can access. The issue was confirmed in Network-AI 5.12.1, and the advisory notes no RCE chain was confirmed.
Fix: Fixed in v5.12.2 (commit a59c13a). The deletion path is now recomputed from a format-validated entry.backupId, and a dirname containment check limits deletion to one level under the backups directory.
All components built on BaseFileComponent in Langflow are vulnerable, including the Read File node, which processes user-controlled files. A crafted tar archive containing a symlink, extracted in _unpack_bundle, lets an attacker read any file by absolute path, such as Langflow's secret_key used to sign JWTs. With that key an attacker can forge tokens for any user and execute code through a Python Interpreter node. Any user ingesting untrusted data with these components is affected, and the code execution risk depends on the scenario.
The logout button in Langflow does not clear the session, so the previous user remains logged in until someone else signs in. The /logout endpoint deleted the authentication cookies without matching their original httponly, samesite, secure and domain parameters, so the browser kept them, and the frontend did not clear the auth cookies. Users on shared computers may falsely believe they have ended their session.
Fix: Fixed in 1.7.0 (PRs #10527 and #10528). The logout endpoint now deletes the auth cookies using the same parameters they were created with, and the frontend clears the auth cookies on logout. Upgrade to 1.7.0 or later.
tract-onnx resolves an ONNX tensor's external-data location by joining it onto the model directory with no sanitization, so a malicious model can make tract read an arbitrary local file at load time and surface its contents in the inference output. Confirmed against tract-onnx 0.21.16 with a proof-of-concept using an absolute path, and out-of-range offset/length values can cause a panic (denial of service).
Unit 42 researchers found a design flaw in the Vertex AI SDK for Python, versions 1.139.0 and 1.140.0, where the staging bucket name derived only from a project ID and region was not verified for ownership. An attacker could pre-create that bucket and replace a model artifact during a race window, and a poisoned pickle-serialized model could then execute code across tenants when loaded by Vertex AI's serving infrastructure.
Palo Alto Networks Unit 42 found a flaw in the Google Cloud Vertex AI SDK for Python that let an attacker with only their own Google Cloud project and the victim's project ID hijack model uploads and run code in Vertex AI's serving container. The SDK's default staging bucket name was predictable, and it checked only whether the bucket existed, not who owned it, so an attacker could create the bucket first and swap in a malicious model. Unit 42 reported no exploitation in the wild, and no CVE had been listed at publication.
Langflow's Shareable Playground, also called Public Flows in the code, contains a critical remote code execution flaw. The route /api/v1/build_public_tmp executes any public flow given its flow ID, and the data.nodes[X].data.node.template.code.value field accepts arbitrary Python code from the JSON payload. The source states the impact as unauthenticated RCE on any deployment with a shareable playground, and tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe.
Langflow's Knowledge Bases API, specifically the POST /api/v1/knowledge_bases endpoint, builds filesystem paths directly from the user-supplied name field without sanitization or containment checks. An authenticated attacker can use traversal sequences or absolute paths to create directories and write embedding_metadata.json and schema.json anywhere the application has write permissions, enabling cross-user data compromise, arbitrary directory creation, and overwriting of existing knowledge base files.
Several LangChain components resolve filesystem paths or expand search patterns without confining the resolved path to the intended root directory. Affected behaviors include a file-search agent middleware that does not check glob patterns or symlink targets, configuration loaders that accept unconfined path fields, and path-prefix checks that lack a path-segment boundary. When these receive path values or search patterns influenced by untrusted input, including an LLM acting on untrusted input, files outside the intended boundary can be disclosed.
Fix: The affected components will canonicalize candidate paths (resolving symlinks) and verify the resolved real path remains within the configured root, normalize search patterns so they cannot escape the root, confine…
NLTK's nltk.data.load() and find() functions allow path traversal through the nltk: URL scheme, letting an attacker read arbitrary local files. The _UNSAFE_NO_PROTOCOL_RE regex check runs on the raw resource string before url2pathname() decodes %xx sequences, so encoded separators and dot segments such as %2fetc%2fpasswd bypass it. The issue is tracked as CWE-22 and affects NLTK 3.9.4 and earlier under the default ENFORCE=False configuration.
Unit 42 researchers disclosed a vulnerability in the Google Cloud Vertex AI Python SDK (google-cloud-aiplatform) that allows remote code execution in a victim's Vertex AI serving infrastructure. The flaw stems from a predictable default staging bucket name, combined with a missing ownership check, enabling bucket squatting. The issue affected versions 1.139.0 and 1.140.0, and Google fixed it in v1.148.0, released April 15, 2026.
Attackers are actively exploiting CVE-2026-5027, a high-severity path traversal flaw in Langflow's file upload handling, which is tied to the Iranian state-sponsored group MuddyWater. The POST /api/v2/files endpoint fails to validate the "filename" parameter, so an attacker can write files outside the upload directory. Where auto-login is enabled, researchers say this arbitrary file write can escalate to remote code execution without credentials.
Fix: Fixed in 1.9.0, released April 15. The patch logic has been applied to all subsequent releases, including the current version 1.10.0.
CSO OnlineCVE-2026-45833 is a code injection flaw (CWE-94) in version 0.4.17 or later of the ChromaDB Python project. An authenticated attacker with the UPDATE_COLLECTION permission can run arbitrary code on the server by sending a malicious model repository with trust_remote_code set to true to the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} endpoint. HiddenLayer rates it CVSS 4.0 9.4 CRITICAL; NVD has not yet provided an assessment.
CVE-2026-45831 affects the SimpleRBACAuthorizationProvider authorization provider in versions 0.5.0 or later of the ChromaDB Python project. The provider checks whether a user holds a given permission but never checks which tenant, database, or collection that permission applies to, which allows cross-tenant actions. HiddenLayer rates it CVSS 4.0 8.8 (High), and NIST has not yet provided an assessment.
LangGraph's `MongoDBSaver` in `@langchain/langgraph-checkpoint-mongodb` used `thread_id`, `checkpoint_ns` and `checkpoint_id` from `config.configurable` in MongoDB `find()` queries without strict type checks. Attacker-supplied operator objects such as `$gt` and `$ne` could be treated as query operators, letting them return checkpoints from other tenants, including state, metadata and pending writes.
Fix: Fixed in @langchain/langgraph-checkpoint-mongodb 1.3.1, which adds runtime validation for configurable checkpoint identifiers and rejects invalid values before query and write paths run. Upgrade to 1.3.1 or later.
Check Point disclosed three patched LangGraph flaws, including a chain of CVE-2025-67644 and CVE-2026-28277 that can lead to remote code execution on self-hosted deployments using the SQLite or Redis checkpointer with user-controlled filter input. Researcher Yarden Porat found all three flaws, and the chain relies on the application exposing the get_state_history() endpoint. LangChain's managed LangSmith Deployment is not affected.
Fix: Fixed in 1.9.2 via PR #12945. BaseFileComponent._unpack_bundle now rejects symlink and hardlink members and any non-regular entries during TAR extraction, with additional symlink filtering during directory recursion and…
Fix: Fixed in SDK versions 1.144.0 and 1.148.0; users must upgrade to either of the patched versions.
CSO OnlineFix: Fixed in google-cloud-aiplatform v1.148.0 (ownership verification added to Model.upload()); update to 1.148.0 or later. Also set an explicit staging_bucket to a Cloud Storage location you control when uploading models.
The Hacker NewsFix: Fixed in PR #12337, which adds the _validate_kb_path_containment() helper using Path.is_relative_to() and applies it before any filesystem operations. Regression tests confirm traversal payloads return 403 Forbidden.
Fix: Google completed the fixes in v1.148.0, released April 15, 2026. Developers are recommended to upgrade to fixed versions of the SDK.
Palo Alto Unit 42Fix: Users are advised to apply the latest fixes, implement authentication for self-hosted LangGraph servers, avoid long-lived static secrets, enforce network segmentation, treat AI agents as privileged identities, and apply…
The Hacker News