Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. praisonai
  4. ›
  5. CVE-2026-39891

CVE-2026-39891: PraisonAI has Template Injection in Agent Tool Definitions

April 8, 2026 (updated April 9, 2026)

Direct insertion of unescaped user input into template-rendering tools allows arbitrary code execution via specially crafted agent instructions.

References

  • github.com/MervinPraison/PraisonAI
  • github.com/MervinPraison/PraisonAI/releases/tag/v4.5.115
  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hwg5-x759-7wjg
  • github.com/advisories/GHSA-hwg5-x759-7wjg
  • nvd.nist.gov/vuln/detail/CVE-2026-39891

Code Behaviors & Features

Detect and mitigate CVE-2026-39891 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.5.115

Fixed versions

  • 4.5.115

Solution

Upgrade to version 4.5.115 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/praisonai/CVE-2026-39891.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:23 +0000.