PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61433 MervinPraison CVE debrief

PraisonAI's API deployment generator embeds unescaped YAML fields into Python source, allowing for code injection. The 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.

Vendor
MervinPraison
Product
praisonai
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-08
Original CVE updated
2026-10-08
Advisory published
2026-10-08
Advisory updated
2026-10-08

Who should care

Operators and developers using PraisonAI should assess exposure and verify if their configurations are vulnerable. They should update to version 4.6.78 or later to remediate this issue. Affected operators must review their configurations and prioritize remediation. Security teams should verify that their configurations are not vulnerable and plan for updates or mitigations.

Why it matters

PraisonAI's API deployment generator vulnerability allows code injection via unescaped YAML fields, impacting operators and developers using PraisonAI. Remediation requires updating to version 4.6.78 or later.

  • Code injection possible via unescaped YAML fields
  • Generated Python source executes injected expressions at startup
  • Second injection site exists in route-handler expressions if agent file path is attacker-controlled
  • Remediation requires updating to version 4.6.78 or later

Technical summary

The PraisonAI API deployment generator embeds unescaped YAML fields into Python source, allowing for code injection. The generator copies `deploy.api.host` from `agents.yaml` directly into generated Python source without safe literal encoding. This allows for code injection when an operator runs the API deploy flow. The vulnerability is caused by the lack of safe literal encoding when copying `deploy.api.host` from `agents.yaml` into generated Python source. A second injection site exists in route-handler expressions if the agent file path is attacker-controlled.

Defensive priority

Operators and developers using PraisonAI should assess exposure and verify if their configurations are vulnerable. They should update to version 4.6.78 or later to remediate this issue.

Recommended defensive actions

  • Update PraisonAI to version 4.6.78 or later
  • Verify configurations for vulnerability
  • Assess exposure and prioritize remediation
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the lack of safe literal encoding when copying `deploy.api.host` from `agents.yaml` into generated Python source. This allows for code injection when an operator runs the API deploy flow.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61433 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61433

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61433 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61433

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-79fv-7hq9-w7xg.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-79fv-7hq9-w7xg

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-62173

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/praisonai-before-code-injection-via-api-deployment-generator

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.