mediumCVSS 6.8Vulnerability

CVE-2026-55535

### Summary The `webhook_url` field in the Jobs API silently passes validation when DNS resolution fails (`socket.gaierror`), enabling DNS rebinding attacks. An attacker's domain can initially resolve to a public IP (passing validation) then switch to an internal IP before the server makes the HTTP request. ### Details The validator catches `socket.gaierror` and silently allows the URL: ```python # src/praisonai/praisonai/jobs/models.py:55 try: ip = socket.gethostbyname(hostname) ip_obj = ipaddress.ip_address(ip) if ip_obj.is_private or ip_obj.is_loopback: raise ValueError("private address") except socket.gaierror: pass # BUG: DNS failure silently ignored → SSRF bypass ``` The HTTP call is made later with no re-validation: ```python # src/praisonai/praisonai/jobs/executor.py:402 async with httpx.AsyncClient() as client: await client.post(job.webhook_url, ...) # no second IP check ``` ### Proof of Concept **DNS rebinding flow:** 1. Register `attacker.com` with TTL=1s → resolves to `1.2.3.4` (public IP) 2. Submit job: `webhook_url=http://attacker.com/callback` 3. Validation passes (public IP) 4. Switch DNS: `attacker.com` → `127.0.0.1` 5. Job completes → server POSTs to `127.0.0.1` → internal SSRF **Unresolvable domain bypass (no DNS rebinding required):** ```bash curl -X POST http://:8005/api/v1/runs \ -d '{"prompt":"run","webhook_url":"http://unresolvable.internal/cb","agent_yaml":"..."}' # Validation: gaierror → pass → URL accepted ``` ### Impact SSRF to internal HTTP services: admin panels, databases, and cloud metadata APIs (e.g., `http://169.254.169.254/`). Exploitable without authentication.

Properties

ghsa_id
GHSA-hmfx-4v44-9qw9
severity
medium
summary
PraisonAI vulnerable to Server-Side Request Forgery via DNS rebinding bypass in webhook_url validation
cvss_score
6.8
cve_id
CVE-2026-55535
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
is_ghsa_only
false
ghsa_published
2026-08-25T15:02:04Z
source_url
https://github.com/advisories/GHSA-hmfx-4v44-9qw9
ghsa_updated
2026-08-25T15:02:05Z

Related Entities (5)

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]pip/PraisonAI

AFFECTS (1)

[Software]pip/PraisonAI

HAS_WEAKNESS (2)

[Weakness]Time-of-check Time-of-use (TOCTOU) Race Condition
[Weakness]Server-Side Request Forgery (SSRF)

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-55535 (CVSS 6.8) — Ninja Signal Threat Intelligence | Ninja Signal