{"data":{"id":"2f51634a-1ab6-44e0-b6e5-a266ad6ff712","title":"GHSA-cfxv-8fw8-rwpv: praisonaiagents: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool","summary":"The `ast_grep_rewrite` function in `praisonaiagents/tools/ast_grep_tool.py` lacks the `@require_approval` decorator that every sibling file-mutation and code-execution tool in `praisonaiagents/tools/` applies. With `dry_run=False`, an LLM-controllable call runs `sg ... --update-all` through `subprocess.run`, rewriting every file under `path` that matches the pattern, with no approval gate, no `_validate_path` workspace check, and no `cwd=` sandboxing. The function returns the string `No changes made` even when files were modified.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-cfxv-8fw8-rwpv","publishedAt":"2026-08-25T14:46:13.000Z","cveId":"CVE-2026-55530","cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["prompt_injection","other"],"issueType":"vulnerability","affectedPackages":["praisonaiagents@< 1.6.58 (fixed: 1.6.58)"],"affectedPackageNames":["praisonaiagents"],"affectedPackageRefs":["pypi:praisonaiagents"],"affectedVendors":[],"affectedVendorsRaw":["PraisonAI","praisonaiagents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00166,"epssCheckedAt":"2026-11-04T06:10:13.536Z","kevDateAdded":null,"advisoryAliases":["GHSA-cfxv-8fw8-rwpv"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-08-25T14:46:13.000Z","fixReleasedAt":"2026-06-13T12:30:50.353Z","daysToFix":-73,"fixCheckedAt":"2026-10-29T21:31:22.205Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["integrity"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0051"],"fixes":[{"ecosystem":"pypi","name":"praisonaiagents","fixedVersion":"1.6.58","matchedVersion":"1.6.58","fixReleasedAt":"2026-06-13T12:30:50.353Z","daysToFix":-73,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:31:22.059Z"}]}}