Skip to main content
Public proof of conceptFix available

CVE-2026-57138

A public proof of concept exists; no exploitation attested.

  • Published2026-09-15
  • Fixed in1.7.2
  • WeaknessCWE-184 · CWE-693

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

PraisonAI is a multi-agent teams system. From 1.4.0 until 1.7.2, codeMode in src/praisonai-ts/src/tools/builtins/code-mode.ts executes untrusted JavaScript with new Function() inside with(sandbox) and relies on a small source-code blocklist plus shadowed process and require properties. Code can use ({}).constructor.constructor to recover the real Function constructor, obtain process and process.mainModule.require, and reach host filesystem and subprocess APIs despite the advertised sandbox. Attackers who control codeMode input can read secrets, modify files, execute commands, or exhaust the host process. This issue is fixed in version 1.7.2.

Timeline

dates in UTC
  1. 2026-09-1511:17CVE publishedNVD

Versions per branch

OSV
praisonai
BranchAffectedFixed in
1.x≥ 1.4.0, < 1.7.21.7.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • MervinPraison PraisonAI
    Affected
    • = >= 1.4.0, < 1.7.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-09-15

Fix

  1. Update praisonai to 1.7.2

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2026-09-17
  • CNACVSS 3.19.9known since 2026-10-23
  • CNAweakness (CWE)CWE-184, CWE-693known since 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-11-27
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2026-06-18

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
2026-09-15
Last modified
2026-09-17
NVD status
Deferred
GitHub advisory
GHSA-vmmj-pfw7-fjwp

Frequently asked questions

What is CVE-2026-57138?

PraisonAI is a multi-agent teams system. From 1.4.0 until 1.7.2, codeMode in src/praisonai-ts/src/tools/builtins/code-mode.ts executes untrusted JavaScript with new Function() inside with(sandbox) and relies on a small source-code blocklist plus shadowed process and require properties. Code can use ({}).constructor.constructor to recover the real Function constructor, obtain process and process.mainModule.require, and reach host filesystem and subprocess APIs despite the advertised sandbox. Attackers who control codeMode input can read secrets, modify files, execute commands, or exhaust the host process. This issue is fixed in version 1.7.2.

Is CVE-2026-57138 actively exploited?

A proof-of-concept exploit exists for CVE-2026-57138, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-57138?

CVE-2026-57138 has a CVSS v3 base score of 9.9 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Running praisonai? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record