CVE-2026-57120
MEDIUM 6.5CVSS 3.1PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every blocklisted dunder
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, execute_code sandbox mode permits runtime assembly of blocklisted dunder names and allows str.format or str.format_map to resolve dotted fields through C-level attribute access that bypasses _safe_getattr. This exposes class, qualified-name, base-class, globals, and object-dictionary attributes to prompt-influenced code when approval is automatically granted, producing a high-impact read primitive without establishing a complete in-process execution chain. This issue is fixed in praisonaiagents 1.6.59.
- Published
- 14 Sep 2026
- Last modified
- 16 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-693
- Also known as
- GHSA-pv2j-rghr-v5r9PYSEC-2026-3533
- Sources
- NVDJSONOSV GHSA-pv2j-rghr-v5r9JSONOSV PYSEC-2026-3533JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | praisonaiagents | < 1.6.59 | 1.6.59 |
References
- https://github.com/MervinPraison/PraisonAI/commit/2adfe7e8323f6deec66925cf15a885b6238895e9
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-pv2j-rghr-v5r9 · WEB
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://pypi.org/project/praisonaiagents · PACKAGE
- https://github.com/advisories/GHSA-pv2j-rghr-v5r9 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-57120 · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2026)