CVE-2026-47393 Splunk · SPL

Detect PraisonAI Flask API Server Deployed Without Authentication (CVE-2026-47393) in Splunk

PraisonAI versions <= 4.6.39, when deployed via `deploy --type api`, expose a Flask HTTP server with authentication disabled by default (CWE-306, CWE-1188). Any unauthenticated actor with network access can invoke the AI agent API, exfiltrate model outputs, or use the endpoint as a proxy for downstream attacks. CVSS 9.8 critical; public PoC available.

MITRE ATT&CK

Tactic
Initial Access Defense Evasion Exfiltration

SPL Detection Query

Splunk (SPL)
spl
index=* sourcetype IN ("WinEventLog:Security", "linux_secure", "osquery:results", "stream:tcp")
| eval is_praisonai_deploy=if(match(cmdline, "(?i)praisonai.*deploy.*api|praison.*--type.*api"), 1, 0)
| eval is_flask_port=if(dest_port IN ("5000", "8000", "8080", "8888") AND NOT match(src_ip, "^(10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.)"), 1, 0)
| where is_praisonai_deploy=1 OR is_flask_port=1
| eval risk_signal=case(
    is_praisonai_deploy=1, "PraisonAI deploy --type api invoked",
    is_flask_port=1, "External connection to Flask port on PraisonAI host",
    true(), "Unknown"
  )
| table _time, host, user, cmdline, src_ip, dest_port, risk_signal
| sort -_time
critical severity medium confidence

Identifies PraisonAI API deployment commands and external connections to Flask default ports, surfacing unauthenticated exposure risk.

Data Sources

Splunk StreamSysmonosqueryWindows Security Event LogLinux Secure Log

Required Sourcetypes

WinEventLog:Securitylinux_secureosquery:resultsstream:tcp

False Positives & Tuning

  • Internal-only Flask services on the same port range not related to PraisonAI
  • Pentest or red team exercises against authorized AI API endpoints
  • Development environments where authentication is intentionally omitted for local testing

Other platforms for CVE-2026-47393


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 1Deploy PraisonAI API without authentication and verify unauthenticated access

    Expected signal: Process creation event for python/praisonai with command line containing 'deploy --type api'; network socket bound to 0.0.0.0:5000; HTTP 200 response with no Authorization header in request

  2. Test 2Enumerate PraisonAI API endpoints unauthenticated from a remote host

    Expected signal: Inbound NetworkConnectIP4/NetworkConnectionEvents on port 5000 from a non-RFC1918 IP; HTTP GET and POST requests in web/proxy logs with no authentication headers

  3. Test 3Verify PraisonAI package version on a Linux host using pip

    Expected signal: Process creation for pip/python3 with 'praisonai' argument in command line; stdout output containing version string <= 4.6.39

  4. Test 4Simulate attacker submitting agent task via unauthenticated PraisonAI API

    Expected signal: HTTP POST to /api endpoint with no Authorization or Cookie headers; PraisonAI process spawning child processes to execute agent task; outbound connections if agent task triggers tool use

Unlock Pro Content

Get the full detection package for CVE-2026-47393 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections