Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
1,675 items
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…
GitHub Advisory DatabaseNetwork-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.
The ApprovalInbox HTTP server in network-ai (lib/approval-inbox.ts) has no authentication on any route and sets Access-Control-Allow-Origin: * on every route, including the state-changing POST /approvals/:id/approve and /deny. Any party able to reach the inbox port, including websites visited by the operator through wildcard CORS, can list pending approvals and approve them, which resolves the gate so the held high-risk action proceeds without consent. Affected versions are network-ai <= 5.11.0, and the flaw is mapped to CWE-862 and CWE-352.
Network-AI's `AgentRuntime` uses raw string `startsWith()` checks for sandbox containment, so a sibling directory sharing the `basePath` prefix (for example `/tmp/network-ai-sandbox_evil` against `/tmp/network-ai-sandbox`) passes the check. An agent or user able to call `AgentRuntime.readFile()` or `AgentRuntime.listDir()` can read or list files outside the sandbox, confirmed in version 5.12.1 with CVSS 3.1 Medium severity. Embedding applications that use `FileAccessor.write()` directly or auto-approve writes may also allow writes outside the sandbox.
Fix: Fixed in [v5.12.2](https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2) (commit `a59c13a`).
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.
Langflow's `/api/v1/files/upload/` endpoint processes multipart form data before any authentication check, so an unauthenticated attacker can send a request with an oversized run of hyphens after the boundary and make the server unusable for all users indefinitely. The attacker does not need a valid flow ID, since the server parses the body even when the path ID is random, and the request can be repeated at will.
Fix: Fixed in 1.0.19 via PR #3923. A `check_boundary` HTTP middleware validates the multipart boundary against `^[\w\-]{1,70}$` and rejects malformed requests with HTTP 422 before the body is parsed, and the upload endpoint…
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.
GHSA-qrpv-q767-xqq2 is an insecure direct object reference (IDOR) in Langflow's `/api/v1/responses` endpoint. The helper `get_flow_by_id_or_endpoint_name` in `src/backend/base/langflow/helpers/flow.py` looks up flows by UUID without checking ownership, so any authenticated user can execute another user's flow by supplying its flow ID. The source says attackers can run any flow, access data its processing handles, and consume the victim's resources.
The OpenZeppelin Contracts Wizard generators printed info.securityContact and info.license into a single-line comment in generated Solidity, Cairo, Stellar/Soroban and Stylus source without rejecting line terminators. A newline (\n or \r\n) in either field ends the comment, letting arbitrary declarations be injected into the generated contract. The impact is integrity-only and matters only when these fields are filled from untrusted input, such as an MCP agent whose tool arguments derive from processed content.
agentic-flow versions <= 2.0.13 interpolated MCP tool parameters such as agent, task, name, language and agentdb arguments directly into shell command strings passed to execSync(). A malicious value can break out of the double-quoted argument and run arbitrary OS commands with the privileges of the user running the MCP server. The HTTP/SSE transports expose the same sinks without authentication or Origin/Host validation.
Fix: Fixed in agentic-flow@2.0.14, which rewrites every affected call site to use execFileSync(file, argv, { shell: false }). Upgrade to agentic-flow >= 2.0.14.
GHSA-jv2h-4p9v-wf5w affects ouroboros-ai, where the fix for CVE-2026-47211 in 0.39.0 left the `_UNTRUSTED_ENV_DENYLIST` incomplete. A malicious cloned repository can ship a `.env` that is auto-loaded at import and set keys such as `CODEX_HOME`, `OUROBOROS_MCP_CONFIG` and `OUROBOROS_ALLOW_LOCAL_TRANSPORT`, which lead to arbitrary command execution. The MCP bridge also auto-loaded `./.ouroboros/mcp_servers.yaml` from the working directory, so running `ooo` inside a malicious repo could spawn the committed server `command` without any `.env`.
Fix: Fixed in 0.42.1. All listed keys were added to `_UNTRUSTED_ENV_DENYLIST`, the cwd auto-discovery branch was removed, and the regression suite now derives from the source denylist.
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).
Network-AI's agent sandbox checks shell commands against an allowlist by glob-matching the whole command string, but ShellExecutor passes that string to /bin/sh -c. A wildcard allow such as git * therefore also matches git status; id, so any agent with a single wildcard allow can run arbitrary commands as the orchestrator process. A proof of concept against network-ai@5.8.5 confirmed the injected id command ran.
Fix: Fixed in v5.9.1 (commit 379f776): ShellExecutor now runs commands via spawn(file, args, { shell: false }) using a quote-aware parsed argv, and SandboxPolicy.isCommandAllowed and the new SandboxPolicy.tokenizeCommand…
The fix for CVE-2026-46701 in Network-AI, npm package network-ai, is incomplete on the latest v5.7.1. The 5.4.5 release restricted Access-Control-Allow-Origin to localhost origins, but the SSE MCP server still defaults to an empty secret, and _isAuthorized() returns true when the secret is empty. Any non-browser caller can therefore invoke all 22 MCP tools without credentials, including config_set, agent_spawn, blackboard_write and token_* tools.
Implement the advisory's remediation #1: refuse to start SSE mode with an empty secret (unless --stdio), and/or make _isAuthorized fail closed so an empty configured secret denies requests.
AgenticMail's inbound mail handlers act on privileged effects without verifying the sender is the operator. In a configured headless-bridge deployment, an external email routed to the bridge inbox makes the dispatcher resume the operator's Claude Code session with permissionMode 'bypassPermissions', embedding the attacker-controlled from, subject and preview verbatim into the prompt. The gap is structural: the bridge-wake path lacks the isOperatorReplySender check that its sibling operator-query reply hook uses in the same repo.
The pipecat development runner exposes a `/ws` WebSocket endpoint for telephony testing that accepts connections without authentication. An unauthenticated attacker can send a crafted Twilio stream-start message with an attacker-supplied `callSid`, causing the server to send a hang-up request to Twilio's REST API using the operator's own account credentials. The source says this may let an attacker terminate an active call on a victim's Twilio account if they know or obtain a valid call SID, and that equivalent sinks exist for Telnyx and Plivo.
A server-side request forgery (SSRF) flaw in PraisonAI's SearxNG and search_web tools lets an attacker make the server send requests to arbitrary internal endpoints and return the responses. The searxng_url argument is passed directly to requests.get() with no check on scheme, host, or port, and it is exposed to the LLM as a tool parameter in the default toolset, so prompt injection in ingested content can trigger it. The source states this can expose internal services and, in cloud environments, the instance metadata endpoint at 169.254.169.254 with potential IAM credential exposure.
The `multiedit` tool in PraisonAI (`src/praisonai/praisonai/tools/multiedit.py`) passes the `filepath` parameter directly to `open()` for reads and writes, with no path traversal check, workspace boundary validation, protected path guard or symlink resolution. An attacker who can influence agent tool arguments, through crafted prompts, chat bot input or malicious YAML workflow configs, can read sensitive files and overwrite arbitrary files the process user can access. The advisory's proof of concept confirmed an arbitrary file write to a file outside the workspace.
Langflow's deprecated POST /api/v1/upload/{flow_id} endpoint in langflow/api/v1/endpoints.py had no authentication and no validation of flow_id, so unauthenticated users with network access could upload unlimited data. The upload wrote to local disk, enabling space exhaustion and denial of service, and the response disclosed the absolute server path of the uploaded file, an information leak. The issue was tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe.
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 PR #12832 (`fix(security): close IDOR in get_flow_by_id_or_endpoint_name`), merged 2026-04-22 and released in Langflow 1.9.1.
GitHub Advisory DatabaseFix: Fixed by rejecting line terminators in setInfo, the single code path all surfaces use. Upgrade to the patched versions. @openzeppelin/wizard-confidential and @openzeppelin/wizard-uniswap-hooks receive the fix once their…
GitHub Advisory DatabaseFix: Fixed in 1.9.1 via PR #12831. The endpoint now uses the get_flow dependency, requiring an authenticated user and flow ownership, and enforces the max_file_size_upload limit (HTTP 413). Upgrade to 1.9.1 or later.
GitHub Advisory Database