Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-57143 Overview
CVE-2026-57143 is a Server-Side Request Forgery (SSRF) vulnerability in PraisonAI, a multi-agent teams system. Versions of praisonaiagents prior to 1.6.62 pass the LLM-controlled searxng_url parameter directly to requests.get without validating the scheme, host, port, or resolved address. The flaw affects both the searxng_search tool and the search_web SearxNG provider. An attacker who can influence agent prompts can redirect searches to arbitrary internal endpoints. The returned JSON content is then injected back into agent context. The issue is fixed in praisonaiagents 1.6.62.
Critical Impact
Prompt injection can coerce PraisonAI agents to query internal services, probe port state, and reach cloud metadata endpoints, with responses flowing back into the agent reasoning loop.
Affected Products
- PraisonAI praisonaiagents package prior to version 1.6.62
- PraisonAI deployments using the searxng_search tool
- PraisonAI deployments using the search_web tool with the SearxNG provider
Discovery Timeline
- 2026-10-12 - CVE-2026-57143 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-57143
Vulnerability Analysis
The vulnerability is a classic SSRF rooted in missing input validation [CWE-20]. PraisonAI exposes a searxng_url parameter that is intended to point at a SearxNG metasearch instance. The library forwards this value to requests.get without checking that the scheme is http/https, that the host is not an internal address, or that the resolved IP is not within RFC1918, loopback, or link-local ranges.
Because the parameter is reachable from LLM-generated tool arguments, prompt injection becomes the exploitation path. An attacker crafts content that the agent ingests, which then directs the search tool to a URL of the attacker's choosing. The HTTP response, including JSON bodies from internal services, is placed into agent context and may be exfiltrated through subsequent agent actions.
Root Cause
The searxng_search function and the SearxNG provider in search_web accept the searxng_url parameter and invoke the HTTP client without URL allow-listing or address resolution checks. There is no enforcement that the target is an external SearxNG endpoint rather than an internal service, a cloud metadata endpoint such as 169.254.169.254, or a localhost port.
Attack Vector
Exploitation requires network reachability to the PraisonAI agent and the ability to deliver prompt-injected content through an upstream data source the agent processes. User interaction is required to trigger the search tool. Once invoked, the agent issues HTTP requests to attacker-controlled destinations. Attackers can enumerate open versus closed internal ports by inspecting response timing and error differentials, retrieve internal JSON APIs, and attempt cloud instance metadata retrieval.
# Security patch — docker/Dockerfile.chat (Release v4.6.62)
# Install Python packages (using latest versions)
RUN pip install --no-cache-dir \
praisonai_tools \
- "praisonai>=4.6.60" \
+ "praisonai>=4.6.62" \
"praisonai[chat]" \
"embedchain[github,youtube]"
Source: GitHub Commit 2a855c4
Detection Methods for CVE-2026-57143
Indicators of Compromise
- Outbound HTTP requests from PraisonAI hosts to RFC1918 ranges, 127.0.0.0/8, or 169.254.169.254 originating from the Python requests user agent.
- Agent trace logs showing searxng_url values pointing to non-SearxNG hostnames or raw IP addresses.
- Unexpected JSON content from internal services appearing within agent conversation history or tool-result fields.
Detection Strategies
- Instrument the searxng_search and search_web call paths to log every searxng_url value and alert on URLs that fail an allow-list check.
- Deploy egress monitoring on hosts running PraisonAI and alert on connections to cloud metadata endpoints or internal management ports from the agent process.
- Correlate LLM prompt inputs with tool invocations to identify prompt-injection patterns that mutate searxng_url.
Monitoring Recommendations
- Capture full tool-call telemetry from PraisonAI, including arguments and responses, and ship it to a centralized logging platform.
- Baseline the set of SearxNG endpoints the deployment is expected to reach and alert on any deviation.
- Monitor praisonaiagents package versions across environments and flag any host running below 1.6.62.
How to Mitigate CVE-2026-57143
Immediate Actions Required
- Upgrade praisonaiagents to version 1.6.62 or later across all PraisonAI deployments.
- Pin praisonai to >=4.6.62 in container images, requirements files, and lockfiles.
- Restrict egress from PraisonAI hosts to only approved SearxNG endpoints at the network layer.
- Audit recent agent transcripts for anomalous searxng_url values and investigate any suspicious internal access.
Patch Information
The fix is included in praisonaiagents 1.6.62 and the corresponding PraisonAI release v4.6.62. See the GitHub Security Advisory GHSA-4pcv-mg8v-vrgf, the GitHub Release v4.6.62, and the GitHub Commit 2a855c4 for release notes and the full patch set.
Workarounds
- Block the PraisonAI host's egress to 169.254.169.254, loopback, and all internal CIDR ranges using host firewalls or network policy.
- Deploy the agent behind an egress proxy that enforces an allow-list of approved SearxNG hostnames.
- Disable the searxng_search tool and the SearxNG provider in search_web until the upgrade is applied.
# Upgrade to the fixed version
pip install --upgrade "praisonaiagents>=1.6.62" "praisonai>=4.6.62"
# Verify installed version
python -c "import praisonaiagents, importlib.metadata; print(importlib.metadata.version('praisonaiagents'))"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

