CVE-2026-40112: PraisonAI is a multi-agent teams system
CVE-2026-40112 is a medium-severity flaw (CVSS 5.4) affecting praisonai. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PraisonAI is a multi-agent teams system. Prior to 4.5.128, the Flask API endpoint in src/praisonai/api.py renders agent output as HTML without effective sanitization. The _sanitize_html function relies on the nh3 library, which is not listed as a required or optional dependency in pyproject.toml. When nh3 is absent (the default installation), the sanitizer is a no-op that returns HTML unchanged. An attacker who can influence agent input (via RAG
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 88%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-04-09 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40112?
praisonai: upgrade to 4.5.128. Exact commands for each OS are on this page.
Is CVE-2026-40112 being exploited?
CVE-2026-40112 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40112 affect?
CVE-2026-40112 affects praisonai. Severity is medium (CVSS 5.4). PraisonAI is a multi-agent teams system. Prior to 4.5.128, the Flask API endpoint in src/praisonai/api.py renders agent output as HTML without effective sanitization. The _sanitize_html function relies on the nh3 library, which is not liste
How urgent is CVE-2026-40112?
Priority 27/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-40288 CRITICAL 9.8 UPGRADE UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40289 CRITICAL 9.1 UPGRADE UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40315 CRITICAL 9.8 UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40116 HIGH 7.5 UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40113 HIGH 8.4 UPGRADE PraisonAI is a multi-agent teams system