Advisory record · GHSA-cfxv-8fw8-rwpv

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

CVSS 6.1 MediumEPSS 0.0017 · 5th percentile

Published by the GitHub Advisory Database at 25 Aug 2026, 14:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
praisonaiagentsPyPI<1.6.581.6.58
Identifiers
GHSA-cfxv-8fw8-rwpv · CVE-2026-55530 · PYSEC-2026-3901
Weakness (CWE)
CWE-862
Published
25 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The praisonaiagents package before 1.6.58 has an ast_grep_rewrite tool that rewrites files matching a pattern without the approval gate that other file-modifying tools use. An attacker who can steer an LLM agent (for example through prompt injection in fetched content) can have the agent rewrite files the host process can write, without operator approval and without a record that the write happened. Upgrade praisonaiagents to version 1.6.58 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0017, the 5th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.