Description
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, ast_grep_rewrite lacks the @require_approval decorator used by sibling mutation tools. With dry_run=False, an agent-controlled call can pass --update-all and a broad path to rewrite matching files without the expected authorization gate. This issue is fixed in version 1.6.58.
Published: 2026-08-25
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized File Modification
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in PraisonAI’s ast_grep_rewrite functionality, which lacks the @require_approval decorator used by successor mutation tools. When executed with dry_run=False and the --update-all option, an agent-controlled call can supply a broad path that rewrites all matching files without any authorization gate. This omission permits an insider or compromised agent to modify arbitrary files on the system, potentially leading to unauthorized configuration changes or code injection. The weakness is a missing authorization check, corresponding to CWE‑862.

Affected Systems

Affected vendors and products are MervinPraison PraisonAI and the associated praisonaiagents component. Versions before praisonaiagents 1.6.58 are vulnerable. The corresponding PraisonAI software is referenced in release v4.6.58, which includes the security fix. Deployments using earlier builds of praisonaiagents should be identified and updated.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that public exploitation may not be widespread yet. The likely exploitation path requires control over an agent to invoke the mutation tool with dry_run=False and a broad path, meaning the attack is limited to scenarios where an attacker can influence agent behavior. If achieved, the attacker can rewrite any file the agent is permitted to access, potentially compromising system integrity.

Generated by OpenCVE AI on August 25, 2026 at 16:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade praisonaiagents to 1.6.58 or later to enforce the authorization gate
  • Ensure all PraisonAI deployments are running at least version 1.6.58 of praisonaiagents and the corresponding PraisonAI release
  • Validate that agent calls do not include dry_run=False with --update-all and broad paths; restrict agent permissions to legitimate mutation tools only

Generated by OpenCVE AI on August 25, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cfxv-8fw8-rwpv praisonaiagents: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool
History

Tue, 25 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Mervinpraison praisonaiagents
Vendors & Products Mervinpraison
Mervinpraison praisonai
Mervinpraison praisonaiagents

Tue, 25 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, ast_grep_rewrite lacks the @require_approval decorator used by sibling mutation tools. With dry_run=False, an agent-controlled call can pass --update-all and a broad path to rewrite matching files without the expected authorization gate. This issue is fixed in version 1.6.58.
Title PraisonAI: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L'}


Subscriptions

Mervinpraison Praisonai Praisonaiagents
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T16:26:22.899Z

Reserved: 2026-06-16T23:01:04.073Z

Link: CVE-2026-55530

cve-icon Vulnrichment

Updated: 2026-08-25T16:19:18.079Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T15:16:33.870

Modified: 2026-09-09T21:07:31.353

Link: CVE-2026-55530

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T18:00:14Z

Weaknesses