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

CVE-2026-61433: PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source

October 8, 2026

PraisonAI’s API deployment generator copies deploy.api.host from agents.yaml directly into generated Python source without safe literal encoding. A malicious PraisonAI project can set that host value to a Python expression splice; when an operator runs the API deploy flow, the generated server source compiles and executes the injected expression at startup. The same generator also embeds agents_file directly into generated route-handler expressions, giving a second route-time source injection site if the agent file path is attacker-controlled.

References

  • github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0
  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-79fv-7hq9-w7xg
  • github.com/advisories/GHSA-79fv-7hq9-w7xg
  • nvd.nist.gov/vuln/detail/CVE-2026-61433
  • nvd.nist.gov/vuln/detail/CVE-2026-62173
  • www.vulncheck.com/advisories/praisonai-before-code-injection-via-api-deployment-generator

Code Behaviors & Features

Detect and mitigate CVE-2026-61433 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.6.78

Fixed versions

  • 4.6.78

Solution

Upgrade to version 4.6.78 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

pypi/praisonai/CVE-2026-61433.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:26 +0000.