nday
CVE-2026-39888 GHSA-qf73-2hrx-xprp

PraisonAIAgents has a sandbox escape via exception frame traversal in `execute_code` (subprocess mode)

MervinPraison / praisonaiagents

CVE 공개 222일 후 패치 기록. 해결 버전: praisonaiagents 1.5.115. PoC 출처 4곳 모두 미등재. CISA KEV 미등재.

tags accessnetworkno user interaction ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
PyPI
GHSA-qf73-2hrx-xprp: pip packages praisonaiagents
현재 단계
PAT
공개
공개 → 패치
T+222d
CVSS
10.0 CRITICAL v3.1

생명주기

가로축 UTC. 점 = 분 단위, 넓은 막대 = 날짜만, 빈 표시 = 불명 또는 추정.
시점 알 수 없음
DIS공개
04-08T20:41Z
PAT패치
11-16T17:01Z
ANA분석
아직 기록 없음
POCPoC
아직 기록 없음
ITW악용
아직 기록 없음
KEVKEV
아직 기록 없음

요약

PraisonAI is a multi-agent teams system. Prior to 1.5.115, execute_code() in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox", which runs user code in a subprocess wrapped with a restricted __builtins__ dict and an AST-based blocklist. The AST blocklist embedded inside the subprocess wrapper (blocked_attrs of python_tools.py) contains only 11 attribute names — a strict subset of the 30+ names blocked in the direct-execution path. The four attributes that form a frame-traversal chain out of the sandbox are all absent from the subprocess list (__traceback__, tb_frame, f_back, and f_builtins). Chaining these attributes through a caught exception exposes the real Python builtins dict of the subprocess wrapper frame, from which exec can be retrieved and called under a non-blocked variable name — bypassing every remaining security layer. This vulnerability is fixed in 1.5.115.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

이벤트 로그

+DISCVE 공개

CVE 레코드 공개(CNA: GitHub_M). CVSS 10(치명적). CISA SSVC 평가상 악용 상태: poc.

출처 cvelist · nday 일괄 수집 · 원본
{
  "id": 421561,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-39888",
  "occurred_at": "2026-04-08T20:41:56.68Z",
  "observed_at": "2026-11-13T05:39:46.303508Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 10,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-04-09T20:20:32.970513Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-08T20:41:56.680Z",
    "assigner_short_name": "GitHub_M"
  }
}
출처 시각 없음, nday 실시간 관측
+PAT패치

보안 권고상 해결 버전: praisonaiagents 1.5.115. 보안 권고 게시: . 패치 자체의 배포 시점은 기록되지 않음.

출처 ghsa GHSA-qf73-2hrx-xprp · nday 실시간 관측 · 원본
{
  "id": 473088,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-qf73-2hrx-xprp",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-qf73-2hrx-xprp",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.9,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Violation of Secure Design Principles",
        "cwe_id": "CWE-657"
      },
      {
        "name": "Protection Mechanism Failure",
        "cwe_id": "CWE-693"
      }
    ],
    "ghsa_id": "GHSA-qf73-2hrx-xprp",
    "packages": [
      {
        "name": "praisonaiagents",
        "ecosystem": "pip",
        "first_patched_version": "1.5.115",
        "vulnerable_version_range": "<= 1.5.114"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qf73-2hrx-xprp",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-39888",
      "https://github.com/pypa/advisory-database/tree/main/vulns/praisonaiagents/PYSEC-2026-486.yaml",
      "https://pypi.org/project/praisonaiagents",
      "https://github.com/advisories/GHSA-qf73-2hrx-xprp"
    ],
    "fix_commit_urls": [],
    "github_reviewed_at": "2026-04-08T19:17:28Z",
    "advisory_updated_at": "2026-11-16T16:00:45Z",
    "source_code_location": "https://github.com/MervinPraison/PraisonAI",
    "advisory_published_at": "2026-04-08T19:17:28Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

연구자 논의

최근 7일간 연구자 0명이 언급

목록의 연구자가 X에서 이 CVE를 언급한 게시물입니다. 원문 그대로 보여 주며 nday는 검증하지 않습니다.

명단의 연구자가 X에서 이 CVE를 언급한 게시물은 아직 수집되지 않았습니다.

Discussion

0 comments

No comments yet.