PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61431 MervinPraison CVE debrief

PraisonAI's ContextGatherer feature allows reading files outside the workspace directory via absolute and traversal paths in project-controlled files. This issue can cause unintended file disclosure. The ContextGatherer treats the configured directory as the project workspace but allows project-controlled files to name absolute paths or traversal paths. This can lead to process-readable files outside the intended project root being sent to the caller or model as project context. PraisonAI users and administrators should assess exposure and prioritize remediation, especially where project-controlled files can be modified.

Vendor
MervinPraison
Product
praisonai
CVSS
MEDIUM 6.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-10
Original CVE updated
2026-10-24
Advisory published
2026-07-10
Advisory updated
2026-10-24

Who should care

PraisonAI users and administrators should assess exposure and prioritize remediation, especially where project-controlled files can be modified. This issue impacts data confidentiality and requires immediate attention from users and administrators. Operators, platform administrators, vulnerability management teams, and security teams should review the vulnerability and take necessary actions.

Why it matters

CVE-2026-61431 allows unintended file reads in PraisonAI via ContextGatherer, impacting data confidentiality and requiring immediate attention from users and administrators.

  • Potential unintended file disclosure to callers or models
  • Possible data leakage through context gathering
  • Need for validation and sanitization of include paths
  • Requirement for restricted write access to project-controlled files

Technical summary

ContextGatherer in PraisonAI treats the configured directory as the project workspace but allows project-controlled files to name absolute paths or traversal paths. This can lead to process-readable files outside the intended project root being sent to the caller or model as project context. The ContextGatherer feature allows reading files outside the workspace directory via absolute and traversal paths in project-controlled files. This issue can cause unintended file disclosure to callers or models, and possible data leakage through context gathering.

Defensive priority

Assess exposure and prioritize remediation for PraisonAI deployments, especially where project-controlled files can be modified.

Recommended defensive actions

  • Review and restrict write access to project-controlled files
  • Validate and sanitize include paths
  • Monitor for suspicious context gathering activity
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • 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

Evidence notes

The issue arises from ContextGatherer's handling of include paths in .praisoncontext and .praisoninclude files, allowing for absolute and traversal reads. An attacker who can supply or modify a workspace repository can therefore cause process-readable files outside the intended project root to be sent to the caller or model as project context.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61431 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-61431 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • PraisonAI: ContextGatherer include resolution permits absolute and traversal reads outside the w

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-q7m5-3jmv-vm48.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-q7m5-3jmv-vm48

    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-path-traversal-via-contextgatherer

    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.