PraisonAI CVE-2026-44335
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify PraisonAI URL-fetch feature
-
DeliverySubmit crafted http://127.0.0.1:6666\@1.1.1.1
-
Exploiturlparse validates public host 1.1.1.1
-
Executionrequests connects to internal 127.0.0.1
-
PersistReach internal service or metadata
-
ImpactExfiltrate/abuse internal response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target deployment feed an attacker-influenced URL into a PraisonAI tool that fetches it (e.g. spider_tools.scrape_page / the _get_session().get path), and that a reachable internal service exist behind the SSRF (loopback, RFC1918, or cloud metadata). The specific prerequisite is a URL crafted to exploit the urlparse-vs-requests differential - using a backslash plus embedded userinfo such as http://127.0.0.1:6666\@1.1.1.1 - so that urlparse validates a benign public host while requests connects to the internal authority. No authentication and no user interaction are required (CVSS PR:N/UI:N). Limiting factors: the application must expose URL-fetching functionality to the attacker, the value of the attack depends on what internal endpoints are reachable from the host, and instances that never accept external URLs or that block outbound egress are not practically exploitable. |
| Impact | Signals are moderate and largely consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VI:H) indicates a network-reachable, low-complexity, unauthenticated bypass with high integrity impact but no confidentiality or availability impact per the vendor, scoring 7.7. SSVC aligns: Exploitation=poc, Automatable=yes, Technical Impact=partial - meaning a reliable public exploit exists and the attack can be scripted, but impact is bounded to what the reachable internal service exposes. Against this, EPSS is very low (0.04%, 13th percentile) and the CVE is not in CISA KEV, so widespread opportunistic exploitation is not currently observed; real risk is driven by exposure of PraisonAI deployments that accept user-supplied URLs and by what internal endpoints (cloud metadata, admin panels, internal APIs) sit behind them. One caveat worth noting: the vendor scored confidentiality as none (VC:N) and only integrity as high, yet SSRF commonly enables reading internal responses - the true confidentiality impact may be understated depending on how tool output is returned to the caller. This is a genuine, easily-automated bypass but its blast radius is environment-dependent, so prioritize it for any internet-facing PraisonAI instance while treating the 'high' rating as context-sensitive rather than critical. |
| Exploit ScenarioDerived | An attacker who can supply a URL to a PraisonAI-powered agent (for example a chat or automation feature that scrapes a user-provided link) submits http://127.0.0.1:6666\@1.1.1.1. The _validate_url check sees the public host 1.1.1.1 and permits it, but requests.get connects to the internal 127.0.0.1:6666, letting the attacker reach an internal service, admin interface, or cloud metadata endpoint. A working PoC for this exact payload is published in the GHSA advisory, and SSVC rates the attack as automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Server-side request forgery in PraisonAI (praisonaiagents Python package, versions <= 1.6.31) lets remote attackers bypass the framework's SSRF protections by exploiting a URL-parsing differential between Python's urlparse and the requests library. The _validate_url anti-SSRF check resolves a payload like http://127.0.0.1:6666\@1.1.1.1 to the public host 1.1.1.1 and allows it, but requests.get actually connects to the internal 127.0.0.1, so the agent's scraping tools can be coerced into reaching internal services. Publicly available exploit code exists (a working PoC is published in the GHSA advisory), though EPSS is very low (0.04%, 13th percentile) and there is no evidence of active exploitation.
RemediationAI
Upgrade the praisonaiagents package to the patched release - Vendor-released patch: 1.6.32 (pip install --upgrade 'praisonaiagents>=1.6.32'), per GHSA-q9pw-vmhh-384g. If you cannot upgrade immediately, reduce exposure by not passing user-controlled URLs into the scraping/fetch tools (e.g. spider_tools.scrape_page), or place the tool behind validation that resolves and pins the host with the same library that sends the request (requests) rather than urlparse, rejecting URLs whose resolved connection target is loopback, link-local (169.254.0.0/16 including 169.254.169.254 metadata), or RFC1918 space; note this changes behavior for any legitimate internal-URL use cases. Additionally, restrict outbound egress from the host running PraisonAI via a network egress allow-list or an outbound proxy so that even a successful bypass cannot reach internal services or cloud metadata endpoints - the trade-off is that legitimate outbound fetches must be explicitly permitted. Reject URLs containing backslashes or embedded userinfo ('@') as a targeted stopgap for this specific payload class. Advisory: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-q9pw-vmhh-384g.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-918 SSRF caused by a parser-confusion vulnerability. PraisonAI attempts to block requests to internal addresses by extracting the host with urlparse().hostname and validating it, then issuing the outbound request through _get_session().get, which is backed by the requests library. urlparse and requests apply different URL grammar to the same string: urlparse treats the backslash as an ordinary character and the '@' as the userinfo/host delimiter, extracting 1.1.1.1 as the host, while requests (following WHATWG/curl-style normalization) treats the backslash as a path separator and connects to the authority before it, 127.0.0.1:6666. Because validation and request-sending use two libraries that disagree on the effective host, any allow-list/deny-list check on the parsed host can be desynchronized from the real connection target. The affected component is the praisonaiagents pip package (pkg:pip/praisonaiagents), specifically its spider_tools/scrape_page and other tools that fetch attacker-influenced URLs.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable, low-complexity, unauthenticated URL-parser bypass with no user interaction; impact bounded to integrity (forged internal requests) with confidentiality/availability not clearly established, matching the vendor's integrity-focused scoring.
Primary rating from Vendor (https://github.com/MervinPraison/PraisonAI).
CVSS VectorVendor: https://github.com/MervinPraison/PraisonAI
Lifecycle Timeline
3DescriptionCVE.org
Summary
The URL checking logic in PraisonAI has a logical flaw that could be bypassed by attackers, leading to SSRF attacks.
Details
The current PraisonAI project uses _validate_url to validate the input URL. The main logic is to perform security checks on the host portion of the URL extracted by urlparse to prevent SSRF attacks.
<img width="1290" height="1145" alt="QQ20260424-151256-24-1" src="https://github.com/user-attachments/assets/d5f16b74-5ad2-444f-8600-b05f78a4b769" />
However, there are indeed differences in parsing between urlparse and the library that actually sends the request. Currently, almost all application scenarios in this project involve first using _validate_url for URL validation, and then using _get_session().get to send the request.
<img width="1143" height="740" alt="QQ20260424-151437-24-2" src="https://github.com/user-attachments/assets/b1bf6ec2-d32a-4dac-b814-da819e8d3c83" />
In reality, its underlying mechanism is requests.get.
<img width="1042" height="576" alt="QQ20260424-151645-24-3" src="https://github.com/user-attachments/assets/e17352c3-4205-44d6-ab6e-75566480215b" />
The core issue: urlparse() and requests disagree on which host a URL like http://127.0.0.1:6666\@1.1.1.1 points to:
urlparse()treats\as a regular character and@as the userinfo-host delimiter, so it extracts hostname as1.1.1.1(public)requeststreats\as a path character, connecting to127.0.0.1(internal)
Below is a test code I wrote following the code.
import sys
from pathlib import Path
from pprint import pprint
sys.path.insert(0, str(Path(r"D:/BaiduNetdiskDownload/PraisonAI-main/PraisonAI-main/src/praisonai-agents")))
from praisonaiagents.tools import spider_tools
# url = "http://127.0.0.1:6666\@1.1.1.1"
url = "http://127.0.0.1:6666"
result = spider_tools.scrape_page(url)
if isinstance(result, dict) and "error" in result:
print("scrape failed:", result["error"])
else:
pprint(result)When an attacker uses http://127.0.0.1:6666/, the existing detection logic can detect that this is an internal network address and block it.
<img width="1068" height="128" alt="QQ20260424-152007-24-4" src="https://github.com/user-attachments/assets/294bff10-2af6-4960-bf69-dbf3340b1e9b" />
However, when an attacker uses http://127.0.0.1:6666\@1.1.1.1, the detection logic resolves the host to 1.1.1.1, which is a public IP address, thus passing the verification. But in the actual request process, this URL is forwarded by requests.get to http://127.0.0.1:6666, bypassing the detection and achieving an SSRF attack.
<img width="2089" height="324" alt="QQ20260424-152123-24-5" src="https://github.com/user-attachments/assets/4421ce42-e47b-48de-a97a-56ce56a2bbc9" />
PoC
http://127.0.0.1:6666\@1.1.1.1Impact
SSRF
Executive ViewAI
PraisonAI (praisonaiagents Python package) versions 1.6.31 and earlier contain a server-side request forgery bypass that allows remote attackers to circumvent the framework's built-in SSRF protections and reach internal services; publicly available exploit code exists. This impacts any organization using the affected package for web scraping or external requests, exposing internal databases, APIs, and administrative systems to unauthorized access. Immediate patching is essential to prevent data exfiltration and service compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
GHSA-q9pw-vmhh-384g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB