Skip to main content

PraisonAI CVE-2026-44335

HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-06 https://github.com/MervinPraison/PraisonAI GHSA-q9pw-vmhh-384g
7.7
CVSS 4.0 · Vendor: https://github.com/MervinPraison/PraisonAI
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify PraisonAI URL-fetch feature
  2. Delivery
    Submit crafted http://127.0.0.1:6666\@1.1.1.1
  3. Exploit
    urlparse validates public host 1.1.1.1
  4. Execution
    requests connects to internal 127.0.0.1
  5. Persist
    Reach internal service or metadata
  6. Impact
    Exfiltrate/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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi praisonaiagents fix: 1.6.32

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

Vendor (https://github.com/MervinPraison/PraisonAI) PRIMARY 7.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/MervinPraison/PraisonAI).

CVSS VectorVendor: https://github.com/MervinPraison/PraisonAI

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 08, 2026 - 14:22 NVD
7.7 (HIGH)
CVE Published
May 06, 2026 - 22:08 github-advisory
HIGH 7.7
CVE Published
May 06, 2026 - 22:08 nvd
HIGH

DescriptionCVE.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 as 1.1.1.1 (public)
  • requests treats \ as a path character, connecting to 127.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.1

Impact

SSRF

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
Low
emerging open-source AI agent framework, limited production deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

pkg:pip/praisonaiagents

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy