Back to Intelligence

CVE-2026-145055: Critical PraisonAI MCP Server Flaw (CVSS 9.8) — Detection, Hardening, and Remediation Guide

SA
Security Arsenal Team
December 4, 2026
11 min read

On the surface, CVE-2026-145055 reads like another entry in the growing pile of AI-tooling vulnerabilities. It is not. NVD has published a CVSS 9.8 CRITICAL, network-exploitable vulnerability affecting the PraisonAI agent framework and its entire family of MCP (Model Context Protocol) server packages — and the root cause is something defenders should treat as a pattern, not an anomaly: insecure defaults in AI agent infrastructure that was never designed to be exposed to a network.

The vulnerable components ship with built-in servers that may bind to all interfaces (0.0.0.0) and accept requests without an authentication token. Their file and fetch helpers perform no path confinement and no private-address checks. And project configuration files are implicitly trusted — a malicious config can start MCP servers on a victim host. The result is a trifecta that should concern any organization running AI agent tooling: unauthenticated remote tool invocation, arbitrary file access outside the working directory, and server-side request forgery (SSRF) into internal networks.

If your developers, data science teams, or automation pipelines run PraisonAI anywhere — a laptop, a shared dev box, a container, a CI runner — you need to inventory and remediate now. AI agent frameworks are rapidly becoming production infrastructure, and they are inheriting exactly none of the hardening discipline we spent two decades building into web servers.

Technical Analysis

Affected Products and Versions

Per the NVD entry for CVE-2026-145055, the following packages and version ranges are affected:

Package (ecosystem)Affected VersionsFixed Version
praisonai (PyPI/pip)< 4.8.04.8.0
praisonaiagents (PyPI/pip)< 1.8.01.8.0
praisonai (npm)< 1.8.01.8.0
praisonai-bot< 0.2.00.2.0
praisonai-browser< 0.2.00.2.0
praisonai-code< 0.2.00.2.0
praisonai-deploy< 0.2.00.2.0
praisonai-mcp< 0.2.00.2.0
praisonai-sandbox< 0.2.00.2.0

Note the breadth here: this is not one package, it is the entire agent toolchain — the orchestrator, the agents library, the MCP server, the sandbox, the browser and code execution helpers, and the deployment tooling. If any one of these is present and running a built-in server, you have exposure.

How the Vulnerability Works — Defender's View of the Attack Chain

CVE-2026-145055 is a composite of insecure-default failures. Breaking down each attack path:

1. Unauthenticated remote tool invocation (CVSS vector driver). The built-in MCP/agent servers can bind to 0.0.0.0 — every network interface, not just loopback — and will process requests without requiring an auth token. Any host that can reach the listening port can invoke agent tools remotely. Since agent tools in these frameworks routinely include shell execution, code execution, file operations, and browser automation, unauthenticated tool invocation is functionally equivalent to unauthenticated remote code execution. No exploit code is required — the attacker simply speaks the protocol to an exposed endpoint.

2. Arbitrary file access (path confinement failure). The file helper utilities lack working-directory confinement. Requests referencing paths outside the agent's working folder — think /etc/passwd, ~/.ssh/id_rsa, cloud credentials under ~/.aws/, application secrets, or source code — are honored. On an exposed server this is remote arbitrary file read; combined with tool invocation it becomes read/write.

3. SSRF via fetch helpers (no private-address checks). The fetch/HTTP helper utilities do not filter requests to private, loopback, link-local, or cloud metadata addresses. An attacker reaching an exposed agent server can coerce it into fetching http://169.254.169.254/latest/meta-data/ (cloud instance credentials), internal APIs, Kubernetes service endpoints (10.0.0.1), or anything else routable from the host. This turns a single exposed dev box into a pivot point into your internal network and cloud control plane.

4. Malicious project configuration files. Project config files are trusted and can trigger the startup of MCP servers. A poisoned repository — cloned by a developer or pulled into a CI pipeline — can silently stand up an exposed, unauthenticated agent server. This is a supply-chain-shaped risk: the config file is the payload, and the victim's own tooling is the execution mechanism. Combine this with path #1 and a single git clone of a malicious repo can produce a remotely exploitable host.

Exploitation Requirements and Status

Exploitation of paths 1–3 requires only network reachability to the exposed server — no credentials, no user interaction, no race conditions. That is what earns the 9.8. Path 4 requires the victim to open or run tooling against an untrusted project, which is standard developer workflow.

As of publication, CVE-2026-145055 has not been added to the CISA Known Exploited Vulnerabilities catalog, and no confirmed in-the-wild exploitation campaign has been publicly attributed to it. Do not let that lower your urgency. Network-exploitable, unauthenticated RCE-adjacent flaws in developer tooling historically move from disclosure to scanning within days, and internet-exposed MCP/agent servers are trivially discoverable via Shodan/Censys-style reconnaissance. Treat this as exploitable and prioritize accordingly.

Detection & Response

Detection strategy for CVE-2026-145055 centers on four observable behaviors: (1) PraisonAI/MCP processes launched with wide bindings, (2) unexpected listeners on all interfaces owned by Python/Node processes, (3) shells or system tools spawned by agent processes, and (4) fetch activity from agent runtimes toward metadata or loopback addresses.

Sigma Rules

The following rules target the concrete behaviors described above. Tune the parent-process paths to your deployment conventions before enabling at high sensitivity.

YAML
---
title: PraisonAI MCP Server Bound to All Interfaces
id: 4c1e9b72-7a3d-4f5e-9c81-2b6d8a0f3e55
status: experimental
description: Detects PraisonAI agent or MCP server processes launched with a 0.0.0.0 binding, indicating the server is reachable from any network interface — the core exposure condition of CVE-2026-145055.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-145055
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.exploitation
  - attack.t1190
logsource:
  category: process_creation
  product: linux
detection:
  selection_tool:
    CommandLine|contains:
      - 'praisonai'
      - 'praisonai-mcp'
      - 'praisonaiagents'
  selection_bind:
    CommandLine|contains:
      - '--host 0.0.0.0'
      - '--host=0.0.0.0'
      - '0.0.0.0:'
  condition: selection_tool and selection_bind
falsepositives:
  - Intentional deployments inside isolated lab networks — validate and convert to exceptions, not silence
level: high
---
title: Shell or System Tool Spawned by PraisonAI Agent Process
id: 8f2a4d61-3c7b-4e19-a6d4-5e9f1b8c2a77
status: experimental
description: Detects shells and command execution utilities spawned as children of PraisonAI agent or MCP server processes, consistent with remote tool invocation abuse described in CVE-2026-145055.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-145055
  - https://attack.mitre.org/techniques/T1059/
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.execution
  - attack.t1059.004
  - attack.t1059.006
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentCommandLine|contains:
      - 'praisonai'
      - 'praisonai-mcp'
      - 'praisonaiagents'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/curl'
      - '/wget'
      - '/nc'
      - '/ncat'
      - '/python3'
      - '/perl'
  condition: selection_parent and selection_child
falsepositives:
  - Legitimate agent workflows that execute code or fetch resources by design — baseline expected tool use per host and alert on deviation
level: high
---
title: Cloud Metadata or Loopback Access from Agent Runtime
id: 61b7c3e9-4d5a-4f28-b913-7c2e6a4d8f01
status: experimental
description: Detects Python or Node processes (the runtimes hosting PraisonAI) initiating connections to the cloud instance metadata service or loopback addresses, consistent with SSRF abuse of the fetch helpers described in CVE-2026-145055.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-145055
  - https://attack.mitre.org/techniques/T1190/
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.exploitation
  - attack.t1190
  - attack.t1552.005
logsource:
  category: network_connection
  product: linux
detection:
  selection_runtime:
    Image|endswith:
      - '/python'
      - '/python3'
      - '/node'
  selection_target:
    DestinationIp:
      - '169.254.169.254'
      - '100.100.2.136'
  selection_loopback:
    DestinationIp|startswith:
      - '127.'
  condition: selection_runtime and (selection_target or selection_loopback)
falsepositives:
  - Localhost IPC from development frameworks — restrict to servers/workloads where agent tooling is deployed and tune loopback matching to unusual ports
level: high

KQL — Microsoft Sentinel / Defender

The following queries hunt the same behaviors from endpoint telemetry. They work equally well for Linux hosts onboarded to Defender for Endpoint and for Syslog-ingested workloads.

KQL — Microsoft Sentinel / Defender
// Hunt 1: PraisonAI/MCP processes launched with wide bindings or server flags
DeviceProcessEvents
| where TimeGenerated > ago(14d)
| where ProcessCommandLine has_any ("praisonai", "praisonai-mcp", "praisonaiagents")
| where ProcessCommandLine has_any ("0.0.0.0", "--host", "serve", "mcp")
| project TimeGenerated, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, SHA256
| order by TimeGenerated desc;

// Hunt 2: Agent runtimes (python/node) reaching cloud metadata or loopback — potential SSRF via fetch helpers
DeviceNetworkEvents
| where TimeGenerated > ago(14d)
| where InitiatingProcessFileName has_any ("python", "python3", "node")
| where RemoteIP in ("169.254.169.254", "100.100.2.136") or RemoteIP startswith "127."
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemotePort, ActionType
| order by TimeGenerated desc;

// Hunt 3: Syslog-ingested hosts — process exec referencing praisonai with network binding flags
Syslog
| where TimeGenerated > ago(14d)
| where SyslogMessage has_all ("praisonai", "0.0.0.0")
| project TimeGenerated, Computer, ProcessName, SyslogMessage
| order by TimeGenerated desc;

Velociraptor VQL

Use the following hunt to sweep your fleet for PraisonAI processes and, critically, for listeners bound to all interfaces owned by agent runtimes — the condition that makes CVE-2026-145055 remotely exploitable.

VQL — Velociraptor
-- Hunt for PraisonAI agent/MCP processes and all-interface listeners owned by agent runtimes
SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE CommandLine =~ '(?i)praisonai'
   OR Exe =~ '(?i)praisonai'
VQL — Velociraptor
-- Correlate listening sockets bound to 0.0.0.0 with Python/Node/PraisonAI processes
SELECT Pid, Name, CommandLine, Status, Laddr.IP AS LocalIP, Laddr.Port AS LocalPort
FROM netstat()
WHERE Status =~ 'LISTEN'
  AND LocalIP =~ '^(0\\.0\\.0\\.0|::)$'
  AND (Name =~ '(?i)(python|node|praisonai)' OR CommandLine =~ '(?i)praisonai')

Any hit on the second query is a host that is — by default configuration — remotely reachable and potentially unauthenticated. Prioritize these for immediate isolation and patching.

Verification and Remediation Script

Run the following audit script on Linux hosts, containers, and CI runners to inventory vulnerable installs and identify exposed listeners before you patch.

Bash / Shell
#!/usr/bin/env bash
# CVE-2026-145055 - PraisonAI MCP server exposure audit and remediation
set -euo pipefail

echo "=== [1/5] Checking pip-installed PraisonAI packages ==="
for pkg in praisonai praisonaiagents; do
  ver=$(pip show "$pkg" 2>/dev/null | awk '/^Version:/{print $2}')
  if [ -n "$ver" ]; then echo "FOUND: $pkg $ver"; else echo "not installed: $pkg"; fi
done

echo "=== [2/5] Checking npm-installed PraisonAI packages ==="
for pkg in praisonai praisonai-bot praisonai-browser praisonai-code praisonai-deploy praisonai-mcp praisonai-sandbox; do
  ver=$(npm ls -g "$pkg" --depth=0 2>/dev/null | grep "$pkg" | sed 's/.*@//' || true)
  if [ -n "$ver" ]; then echo "FOUND: $pkg $ver"; fi
done

echo "=== [3/5] Flagging listeners bound to all interfaces owned by agent runtimes ==="
ss -tlnp 2>/dev/null | grep -E '0\.0\.0\.0|\[::\]' | grep -Ei 'python|node|praisonai' || echo "No all-interface agent listeners found."

echo "=== [4/5] Upgrading to fixed versions ==="
# pip: fixed at praisonai >= 4.8.0, praisonaiagents >= 1.8.0
pip install --upgrade 'praisonai>=4.8.0' 'praisonaiagents>=1.8.0'
# npm: fixed at praisonai >= 1.8.0, praisonai-* packages >= 0.2.0
npm install -g 'praisonai@>=1.8.0' 'praisonai-bot@>=0.2.0' 'praisonai-browser@>=0.2.0' \
  'praisonai-code@>=0.2.0' 'praisonai-deploy@>=0.2.0' 'praisonai-mcp@>=0.2.0' 'praisonai-sandbox@>=0.2.0'

echo "=== [5/5] Verifying fixed versions installed ==="
pip show praisonai praisonaiagents 2>/dev/null | grep -E '^(Name|Version):'
npm ls -g --depth=0 2>/dev/null | grep -Ei 'praisonai' || true

echo "=== DONE. Review flagged listeners and re-run after patching. ==="

For containerized workloads, do not patch in place — rebuild images with pinned fixed versions and redeploy. Immutable infrastructure is your friend here.

Remediation

1. Patch immediately. Upgrade every affected package to the fixed versions: praisonai ≥ 4.8.0 (pip), praisonaiagents ≥ 1.8.0 (pip), praisonai ≥ 1.8.0 (npm), and praisonai-bot, praisonai-browser, praisonai-code, praisonai-deploy, praisonai-mcp, praisonai-sandbox ≥ 0.2.0. Audit virtual environments, containers, CI images, golden AMIs, and developer laptops — agent frameworks get embedded everywhere and forgotten.

2. Lock down server bindings. Where agent/MCP servers must run, bind them explicitly to 127.0.0.1 unless remote access is a documented requirement. Where remote access is required, enforce token-based authentication, terminate behind an authenticated reverse proxy, and restrict source IPs at the host firewall and security group level.

3. Constrain file and fetch helpers. Until you have validated the fixed releases' confinement behavior in your environment, apply compensating controls: run agents under dedicated low-privilege service accounts, use filesystem sandboxing (namespaces, seccomp, or container isolation) to deny reads outside the working directory, and apply egress filtering that blocks RFC1918, loopback, link-local, and metadata addresses (169.254.169.254, plus your cloud provider's equivalents) from agent workloads.

4. Treat project config files as code. Enforce code review on repository configuration files that agent tooling consumes, scan cloned repos for MCP server definitions before execution, and run agent tooling in ephemeral, network-restricted sandboxes when operating on untrusted projects.

5. Inventory and monitor. Add PraisonAI packages to your SBOM and software inventory tooling so future version-pinned advisories map to assets automatically. Deploy the detection content above and baseline normal agent tool behavior per host — deviation-based alerting is how you catch the tool-invocation abuse that signature content cannot.

6. Cloud credential hygiene. Given the SSRF-to-metadata path, enforce IMDSv2 (or provider equivalent) everywhere, and prefer workload identity over instance-attached credentials so a successful SSRF yields nothing of value.

Official reference: NVD — CVE-2026-145055. Monitor the NVD entry and PraisonAI's release channels for the vendor advisory and any CISA KEV addition.

The broader lesson for security programs: AI agent frameworks are arriving in production faster than our hardening baselines for them. Anything that exposes a network listener, executes tools, or fetches URLs on behalf of an LLM must be treated as a remote administration interface — inventoried, authenticated, confined, and monitored. CVE-2026-145055 will not be the last 9.8 in this category.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.

CVE-2026-145055: Critical PraisonAI MCP Server Flaw (CVSS 9.8) — Detection, Hardening, and Remediation Guide | Security Arsenal | Security Arsenal