CVE-2026-55530
Received Received - Intake

PraisonAI ast_grep_rewrite Unauthorized File Rewrite Vulnerability

Vulnerability report for CVE-2026-55530, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
praisonai praisonaiagents to 1.6.58 (exc)
mervinpraison praisonaiagents to 1.6.58 (exc)
mervinpraison praisonaiagents 1.6.58

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-55530 is a vulnerability in PraisonAI where the ast_grep_rewrite function allows arbitrary file rewrites without proper authorization. The @require_approval decorator, used by other tools, was missing, enabling attackers to modify files the host process can write without approval.

Detection Guidance

Check if praisonaiagents version is below 1.6.58 by running pip show praisonaiagents or pip list. Inspect logs for ast_grep_rewrite calls with --update-all and broad paths. Look for unauthorized file modifications in source trees or build configurations.

Impact Analysis

An attacker could exploit this to modify source code, build configurations, or dotfiles, potentially leading to code execution if the rewritten files are later imported or executed. This could result in unauthorized changes, data corruption, or system compromise.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Compliance may be compromised if sensitive files are altered without authorization.

Mitigation Strategies

Upgrade praisonaiagents to version 1.6.58 or later immediately. Review and restrict access to ast_grep_rewrite tool. Monitor file system changes and disable the tool if not essential.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55530. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart