Skip to content
MediumVulnerability

GHSA-5cxw-77wg-jrf3: PraisonAI CLI automatically resolves @url mentions in prompt text and can read loopback URLs into model context

Published
Record updated
View JSON
Affected
  • PraisonAI <= 4.6.39, fixed in 4.6.40
  • praisonaiagents <= 1.6.39, fixed in 1.6.40
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

PraisonAI's direct-prompt CLI automatically expands `@url:` mentions in raw prompt text before agent execution. The `@url:` handler calls `urllib.request.urlopen()` on the given URL with no loopback or private-address restriction and no approval gate, and prepends the response body to the model prompt, so attacker-influenced prompt text can pull localhost-only HTTP resources into model context.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.