CVE-2026-55530 praisonaiagents: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool

Medium 6.1 Published Updated

Attackers can modify arbitrary files via the ast_grep_rewrite tool in PraisonAI because it bypasses the required approval gate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-55530?

CVE-2026-55530 is a medium-severity missing authorization vulnerability in MervinPraison PraisonAI, published on 25 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-55530?

3 open source packages ship an affected version, including praisonaiagents.

PackageAffectedFixed in
praisonaiagents PyPIAll versions1.6.58
praisonaiagents PyPIAll versions1.6.58
praisonaiagents PyPIAll versions1.6.58

How do I fix CVE-2026-55530?

Upgrade praisonaiagents to 1.6.58 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-55530 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55530 exists.

Sources

Also known as GHSA-cfxv-8fw8-rwpv, PYSEC-2026-3901.

Is CVE-2026-55530 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free