CVE-2026-47396

PraisonAI Call Server Unauthenticated Agent Access (CVE-2026-47396)

Initial Access Persistence Impact Last updated:

Detects exploitation of CVE-2026-47396, a critical authentication bypass in PraisonAI's call server component. When the CALL_SERVER_TOKEN environment variable is unset, the server exposes unauthenticated endpoints for listing, invoking, and deleting AI agents. An attacker can enumerate available agents, invoke arbitrary agent workflows, or destroy agent configurations without any credentials. CVSS 9.8 (Critical), CWE-284/CWE-306.

Vulnerability Intelligence

Public PoC

Affected Software

Vendor
pip
Product
PraisonAI
Versions
<= 4.6.39

Weakness (CWE)

Timeline

Disclosed
May 29, 2026

CVSS

9.8
Critical (9.0–10)
CVSS vector not yet published
Read the write-up →

What is CVE-2026-47396 PraisonAI Call Server Unauthenticated Agent Access (CVE-2026-47396)?

PraisonAI Call Server Unauthenticated Agent Access (CVE-2026-47396) (CVE-2026-47396) maps to the Initial Access and Persistence and Impact tactics — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for PraisonAI Call Server Unauthenticated Agent Access (CVE-2026-47396), covering the data sources and telemetry it touches: CommonSecurityLog, W3CIISLog, AppServiceHTTPLogs, AzureDiagnostics. The queries below are rated critical severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access Persistence Impact
Microsoft Sentinel / Defender
kusto
union CommonSecurityLog, W3CIISLog, AppServiceHTTPLogs
| where TimeGenerated > ago(24h)
| where RequestURL has_any ("/agents", "/invoke", "/delete") or csUriStem has_any ("/agents", "/invoke", "/delete")
| where RequestMethod in ("GET", "POST", "DELETE") or csMethod in ("GET", "POST", "DELETE")
| where isempty(RequestHeader_Authorization) or not(RequestHeader_Authorization matches regex @"Bearer .+")
| extend SourceIP = coalesce(SourceIP, cIP)
| extend TargetURL = coalesce(RequestURL, csUriStem)
| project TimeGenerated, SourceIP, TargetURL, RequestMethod, csMethod, ResponseCode, csStatus
| summarize RequestCount = count(), Methods = make_set(coalesce(RequestMethod, csMethod)), StatusCodes = make_set(coalesce(tostring(ResponseCode), tostring(csStatus))) by SourceIP, bin(TimeGenerated, 5m)
| where RequestCount > 2
| order by RequestCount desc

Detects unauthenticated HTTP requests to PraisonAI call server agent endpoints (/agents, /invoke, /delete) lacking a Bearer token Authorization header, aggregated by source IP over 5-minute windows.

critical severity medium confidence

Data Sources

CommonSecurityLog W3CIISLog AppServiceHTTPLogs AzureDiagnostics

Required Tables

CommonSecurityLog W3CIISLog AppServiceHTTPLogs

False Positives

  • Internal health checks or monitoring probes that legitimately call agent endpoints without tokens
  • Development or staging environments where authentication is intentionally disabled
  • Load balancer or reverse proxy health checks hitting agent listing endpoints
  • Automated integration tests running against non-production PraisonAI instances

Sigma rule & cross-platform mapping

The detection logic for PraisonAI Call Server Unauthenticated Agent Access (CVE-2026-47396) (CVE-2026-47396) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  product: azure

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Enumerate PraisonAI agents without authentication

    Expected signal: Web server access log entry: GET /agents HTTP/1.1 from test source IP, no Authorization header, HTTP 200 response with JSON agent listing

  2. Test 2Invoke PraisonAI agent without authentication

    Expected signal: Web server access log entry: POST /invoke HTTP/1.1 from test source IP, no Authorization header, HTTP 200 or 202 response; application log showing agent invocation

  3. Test 3Delete PraisonAI agent configuration without authentication

    Expected signal: Web server access log entry: DELETE /delete HTTP/1.1 from test source IP, no Authorization header; application log showing agent deletion event

  4. Test 4Confirm CALL_SERVER_TOKEN absence in running process

    Expected signal: Process environment read via /proc/<pid>/environ; output contains no CALL_SERVER_TOKEN entry


Response Playbook

Triage

  1. Identify the PraisonAI instance(s) in your environment by checking deployed Python packages (pip show praisonai) and running container inventories; confirm version is <= 4.6.39.
  2. Check whether CALL_SERVER_TOKEN is set in the environment of any PraisonAI call server process (grep CALL_SERVER_TOKEN in environment files, docker-compose configs, and systemd unit files).
  3. Review web server or reverse proxy access logs for requests to /agents, /invoke, and /delete endpoints lacking Authorization Bearer headers in the past 72 hours.
  4. Correlate source IPs from suspicious requests against threat intelligence feeds and internal asset inventory to determine if access was from internal probes, authorized users, or external actors.
  5. Determine which agents were listed, invoked, or deleted: extract agent names and action types from request body logs or application-level audit logs if available.

Containment

  1. Immediately set CALL_SERVER_TOKEN to a cryptographically strong random value (e.g., openssl rand -hex 32) and restart the PraisonAI call server to enforce token-based authentication on all endpoints.
  2. If immediate patching is not possible, block external access to the PraisonAI call server port at the network firewall or reverse proxy level, restricting access to known internal IP ranges only.
  3. Rotate any API keys, credentials, or secrets accessible to PraisonAI agents that may have been exfiltrated or misused during unauthorized agent invocation.

Evidence Collection

  1. Preserve web server access logs covering the exposure window, including full request URIs, source IPs, timestamps, HTTP methods, response codes, and request body sizes for /agents, /invoke, and /delete endpoints.
  2. Capture PraisonAI application logs showing agent invocation history, including agent names, input parameters, and any output data returned to unauthenticated callers.
  3. Export container or process environment variables (excluding secrets) and configuration files to document whether CALL_SERVER_TOKEN was absent from the deployment.

Escalation Criteria

  • ! Escalate immediately if evidence shows unauthorized agent invocations executed actions with external side-effects (API calls, file writes, code execution) or accessed sensitive data stores.
  • ! Escalate to incident response if more than one external IP address accessed agent endpoints, suggesting active scanning or coordinated exploitation rather than accidental exposure.

Investigation Guide

Forensic Artifacts

  • > Web server access logs showing HTTP requests to /agents, /invoke, /delete without Authorization: Bearer header
  • > PraisonAI application-level logs in the working directory or container stdout showing agent invocation records
  • > Process environment listing (cat /proc/<pid>/environ) confirming absence of CALL_SERVER_TOKEN at time of exposure
  • > Network flow logs showing inbound connections to PraisonAI call server port from unexpected source IPs

Tuning Guidance

Tune detection by scoping the URL path filter to the specific port and host serving PraisonAI to reduce false positives from unrelated applications. Add a process name filter (praisonai, uvicorn) when EDR telemetry is available. Increase confidence threshold by requiring at least 3 distinct endpoint paths (/agents AND /invoke or /delete) from the same source IP within the window, which strongly indicates reconnaissance followed by exploitation rather than incidental misconfiguration discovery. Suppress alerts for source IPs matching internal monitoring subnets documented in your asset inventory.


Hunting Queries

Threat hunt for historical unauthenticated access to PraisonAI call server endpoints over the past 7 days, identifying source IPs with repeated access and measuring exposure duration to establish blast radius.

Hunting — KQL
kql
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where RequestURL has_any ("/agents", "/invoke", "/delete")
| where isempty(RequestHeader_Authorization)
| summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), RequestCount=count(), UniqueEndpoints=dcount(RequestURL) by SourceIP
| where RequestCount > 1
| extend ExposureDurationHours = datetime_diff('hour', LastSeen, FirstSeen)
| order by RequestCount desc
Hunting — SPL
spl
index=web sourcetype IN ("access_combined", "nginx:access", "iis") earliest=-7d
| where (uri_path="/agents*" OR uri_path="/invoke*" OR uri_path="/delete*")
| eval has_auth=if(like(lower(coalesce(http_request_header, "")), "%authorization: bearer%"), "yes", "no")
| where has_auth="no"
| stats earliest(_time) AS first_seen, latest(_time) AS last_seen, count AS total_requests, dc(uri_path) AS distinct_endpoints BY src_ip
| eval exposure_hours=round((last_seen-first_seen)/3600, 1)
| sort - total_requests

Atomic Red Team Tests

Test 1 Enumerate PraisonAI agents without authentication
linux

Simulates an attacker discovering available agents on an exposed PraisonAI call server by sending an unauthenticated GET request to the /agents endpoint.

Command

bash
curl -v -X GET http://TARGET_HOST:8000/agents -H 'Content-Type: application/json' 2>&1 | tee /tmp/praisonai_agent_enum.txt

Cleanup

bash
rm -f /tmp/praisonai_agent_enum.txt

Expected Telemetry

Web server access log entry: GET /agents HTTP/1.1 from test source IP, no Authorization header, HTTP 200 response with JSON agent listing

Expected Detection

Detection rule fires on unauthenticated GET /agents request; alert generated with source IP and endpoint details

Test 2 Invoke PraisonAI agent without authentication
linux

Simulates an attacker invoking an AI agent workflow without providing a Bearer token, exploiting the missing CALL_SERVER_TOKEN guard.

Command

bash
curl -v -X POST http://TARGET_HOST:8000/invoke -H 'Content-Type: application/json' -d '{"agent_name": "test_agent", "task": "echo hello world"}' 2>&1 | tee /tmp/praisonai_invoke.txt

Cleanup

bash
rm -f /tmp/praisonai_invoke.txt

Expected Telemetry

Web server access log entry: POST /invoke HTTP/1.1 from test source IP, no Authorization header, HTTP 200 or 202 response; application log showing agent invocation

Expected Detection

Detection rule fires on unauthenticated POST /invoke; high-severity alert generated correlating with prior GET /agents from same source IP

Test 3 Delete PraisonAI agent configuration without authentication
linux

Simulates a destructive attack where an unauthorized actor deletes an agent from the PraisonAI call server without any credentials, exploiting CWE-306.

Command

bash
curl -v -X DELETE http://TARGET_HOST:8000/delete -H 'Content-Type: application/json' -d '{"agent_name": "test_agent"}' 2>&1 | tee /tmp/praisonai_delete.txt

Cleanup

bash
rm -f /tmp/praisonai_delete.txt

Expected Telemetry

Web server access log entry: DELETE /delete HTTP/1.1 from test source IP, no Authorization header; application log showing agent deletion event

Expected Detection

Detection rule fires on unauthenticated DELETE /delete; critical-severity alert generated; T1485 Data Destruction technique tagged

Test 4 Confirm CALL_SERVER_TOKEN absence in running process
linux

Validates that a deployed PraisonAI call server is vulnerable by confirming CALL_SERVER_TOKEN is absent from the process environment, establishing preconditions for exploitation.

Command

bash
PRAISONAI_PID=$(pgrep -f 'uvicorn.*praisonai\|praisonai.*call' | head -1); if [ -n "$PRAISONAI_PID" ]; then cat /proc/$PRAISONAI_PID/environ | tr '\0' '\n' | grep -i 'call_server_token' || echo 'CALL_SERVER_TOKEN NOT SET - VULNERABLE'; fi

Cleanup

bash
No cleanup required — read-only operation

Expected Telemetry

Process environment read via /proc/<pid>/environ; output contains no CALL_SERVER_TOKEN entry

Expected Detection

No direct detection fired (reconnaissance phase); combine with subsequent network-level detections for full attack chain visibility

Related Detections