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
The utcp-http package's HttpCommunicationProtocol.call_tool validates only the initial tool URL, then issues the request with aiohttp's default allow_redirects=True and no per-hop revalidation. An attacker-controlled endpoint can return a 3xx redirect to an internal service, including the cloud metadata endpoint, and the response body is returned to the tool caller. The flaw bypasses the mitigation added in GHSA-39j6-4867-gg4w, which checked only the invocation-time URL.
mcp-shell at commit 17ac0eef5c9a5a42b8fb132d3d034973d55a5433 ships with its security layer disabled: config.go sets SecurityConfig Enabled to false, and the from-source install path and MCP client example never set MCP_SHELL_SEC_CONFIG_FILE, so any connected LLM can call shell_exec with arbitrary commands. Separately, the official security.yaml baked into the Docker image lists /bin/bash and /usr/bin/python3 in allowed_executables, so secure mode can be bypassed by calling /bin/bash -i, which passes validation and yields an interactive shell.
mcp-shell's default Docker configuration (security.yaml) includes /bin/bash in allowed_executables, and the command validator in security.go checks only the first token, so it does not block shell flags such as -c. Any MCP tool caller can send command=/bin/bash -c <arbitrary-command> to shell_exec, with no authentication or configuration changes needed, and run binaries outside the allowlist as mcpuser inside the container.
mcp-shell's secure mode, which restricts execution to an allowlist defined in security.yaml, can be bypassed through the shell_exec MCP tool. The default allowlist includes /usr/bin/git, and the metacharacter validator in security.go omits the ! character, which Git uses for shell aliases, so passing /usr/bin/git -c alias.pwn=!<command> yields arbitrary OS command execution as the mcp-shell process user, with no authentication required in the default Docker deployment.
qwed-mcp v0.2.0 passes attacker-controlled strings to SymPy's parse_expr() in src/qwed_mcp/engines/math_engine.py without restricting global_dict or validating the expression's AST. Because parse_expr() calls eval() and Python injects __builtins__ by default, an attacker can embed expressions such as __import__('os').system(...) to run OS commands in the running process. The source reports confirmed root-level execution in a Docker container, requiring no authentication or special configuration.
The PraisonAI MCP server's HTTP-stream transport, started with praisonai mcp serve --transport http-stream, validates Origin with a startswith prefix match against http://localhost and http://127.0.0.1. An attacker can therefore host a page on a hostname such as localhost.attacker.com, and when a victim visits it, the server accepts and executes unauthenticated cross-site requests, including a tools/call that creates a rule file with activation "always" to inject persistent prompt instructions into later agent runs. The request can be sent as a CORS simple request with Content-Type: text/plain, requiring no preflight, and no session is needed for tools/call. This is a blind CSRF against a local agent runtime.
PraisonAI's async Jobs API, the FastAPI service in `praisonai/jobs/`, registers its `/api/v1/runs` router with no authentication middleware, router-level dependency or per-route check. Any caller who can reach the server can submit jobs that run against the operator's configured LLM credentials, list and read other jobs' results, cancel running jobs and delete terminal jobs. The advisory describes this as a distinct, still-unpatched sibling of CVE-2026-44338, which fixed only the legacy Flask server at version 4.6.51.
PraisonAI's `praisonai serve agents` and `praisonai serve unified` accept `--api-key` but never wire it into the FastAPI app, so no middleware or header check runs. The server stays open regardless of the key, as confirmed on 4.6.50 and likely since 4.6.34, affecting `src/praisonai/praisonai/cli/features/serve.py`.
The `praisonai serve agents` command accepts `--api-key` and forwards it to `ServeHandler`, but `_create_agents_app()` never reads `config["api_key"]` and attaches no auth dependency or middleware to its direct routes. As a result, unauthenticated network callers can invoke registered agents through `POST /agents` and `POST /agents/{agent_name}` even when the operator sets `--api-key`, and requests with missing, wrong, or empty credentials all reach `agent.start()`. The existing `verify_token` dependency in `praisonai.api.agent_invoke` protects the `/api/v1/...` routes in the same app, but the direct routes do not use it, and `verify_token` reads the `CALL_SERVER_TOKEN` environment variable rather than the CLI option.
PraisonAI's `praisonai.code` tool wrappers, exported as `CODE_TOOLS`, enforce a `workspace` boundary unsoundly. The containment helper `is_path_within_directory()` uses `os.path.abspath()` rather than resolving symlinks, so a symlink inside the workspace pointing outside passes the check and `open()` follows it. `list_files()` never calls the helper, and `execute_command()` and `code_execute_command()` never validate `cwd`, letting an attacker who can influence an agent read, write, list and execute outside the configured workspace, limited only by the process user's filesystem permissions.
The `ast_grep_rewrite` function in `praisonaiagents/tools/ast_grep_tool.py` lacks the `@require_approval` decorator that every sibling file-mutation and code-execution tool in `praisonaiagents/tools/` applies. With `dry_run=False`, an LLM-controllable call runs `sg ... --update-all` through `subprocess.run`, rewriting every file under `path` that matches the pattern, with no approval gate, no `_validate_path` workspace check, and no `cwd=` sandboxing. The function returns the string `No changes made` even when files were modified.
The web_crawl tool in praisonaiagents checks only the initial URL for private, loopback and link-local addresses, resolving the hostname once with socket.gethostbyname. The fetcher then follows redirects through httpx.Client(follow_redirects=True) or urllib.request.urlopen and re-resolves DNS at connect time without re-checking. An attacker can bypass the check with a redirect to internal hosts such as 169.254.169.254 or with DNS rebinding, so an agent can read internal HTTP services and instance-metadata endpoints, with the response body returned in tool output.
PraisonAI's `praisonai serve agents` command accepts `--api-key`, but the key is never enforced on the `POST /agents` and `POST /agents/{agent_name}` compatibility routes. Any network-reachable caller can invoke agents without credentials, even when the server is started with `--api-key` and bound to `0.0.0.0`. The advisory confirms v4.6.48 and v4.6.34 as vulnerable and gives a likely affected range of `>= 4.6.34, <= 4.6.48`.
praisonaiagents, in tools/spider_tools.py, has an SSRF protection bypass in _host_is_blocked(). The function checks only literal IP strings and hostname aliases and never performs DNS resolution, so any hostname resolving to a private or loopback address, such as 127.0.0.1.nip.io, passes the filter. A live exploit shows scrape_page("http://127.0.0.1.nip.io:PORT/secret") returns the response of an internal service, and scrape_page, extract_links, crawl and extract_text are registered as LLM-callable tools.
PraisonAI's workflow include implementation in praisonaiagents (Workflow._execute_include() in praisonaiagents/workflows/workflows.py) imports and executes an included recipe's tools.py even when the documented PRAISONAI_ALLOW_LOCAL_TOOLS and PRAISONAI_ALLOW_TEMPLATE_TOOLS opt-ins are unset. This bypasses the hardening added for the earlier automatic tools.py advisory family. A workflow that includes an untrusted local recipe runs arbitrary Python module-level code as the PraisonAI process user before any model call.
The praisonaiagents web_crawl tool validates only the initial URL's resolved IP against a private and loopback blocklist, then fetches with httpx.Client(follow_redirects=True) without re-validating redirect targets. A public URL that returns a 302 to an internal address, such as the cloud metadata endpoint 169.254.169.254 or 127.0.0.1 services, causes the internal response body to be returned into the agent context. The default httpx crawl provider on a standard pip install praisonaiagents is affected, and the flaw is described as an incomplete fix for earlier web_crawl SSRF reports.
NLTK before 3.10.0 (affected versions <=3.9.4) has an unsafe pickle deserialization flaw in TransitionParser.parse() (nltk/parse/transitionparser.py). The method calls pickle_load() with restricted=False, routing loads through WarningUnpickler, which does not override find_class(), so arbitrary class resolution is allowed. When an application loads an attacker-crafted model file, embedded pickle gadget chains execute arbitrary Python code with the privileges of the user running the application.
Xinference used Python's eval() to parse Llama3 tool-call output in the extract_tool_calls() function of xinference/model/llm/tool_parsers/llama3_tool_parser.py. A remote, unauthenticated attacker can use prompts sent to the /v1/chat/completions endpoint to make the model return a Python expression, which the server evaluates. The flaw is rated Critical, CVSS 10.0, and allows remote code execution in the Xinference server process in the tested default deployment.
Omnigent, an open-source AI agent framework and meta-harness for orchestrating coding agents, is affected by CVE-2026-62677 in versions prior to 0.3.0. An authenticated user can upload a session-scoped agent bundle with an absolute or traversal-containing os_env.cwd value, which the parser and validator store without constraint. When OMNIGENT_RUNNER_WORKSPACE is unset, the attacker-controlled path becomes the trusted root, letting sys_os_read, write, edit and shell tools reach runner files and environment secrets outside the intended workspace.
Omnigent, an open-source AI agent framework and meta-harness for orchestrating coding agents, has a flaw in its shared shell-command parser (omnigent/policies/builtins/_shell.py) before version 0.3.0. The parser does not recognize combined interpreter flags, the timeout, nice, setsid, and stdbuf wrappers, command substitutions, or a single background control operator. A gated git push or gh write hidden in these forms yields no parsed operation, so the github.py write_repos and write_branches allowlist and the working_dir.py workspace confinement policies abstain and allow the command. An authenticated or prompt-injected agent can therefore push to an unauthorized repository or branch or escape the intended workspace (CVE-2026-62676).
Fix: Flip the default to SecurityConfig{Enabled: true}, making secure mode the operating default, and keep unrestricted mode behind an affirmative opt-in flag or environment variable such as --allow-unsafe.
GitHub Advisory DatabaseFix: Resolve the hostname once, validate that IP, and connect to that exact validated IP (pin it) rather than re-resolving. Disable redirect following (follow_redirects=False; for urllib use a redirect handler that…
GitHub Advisory DatabaseFix: Fixed in 3.10.0.
Fix: Fixed in 0.3.0.
Fix: Fixed in version 0.3.0.
NVD/CVE Database