{"id":"EDB-52673","name":"Marimo 0.20.4 - Remote Code Execution (RCE)","description":"Marimo 0.20.4 - Remote Code Execution (RCE)","cves":["CVE-2026-39987"],"author":"Jason Bernier","published":"2026-09-02","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52673","path":"exploits/multiple/webapps/52673.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52673.py","vulnerabilities":[{"id":"CVE-2026-39987","state":"PUBLISHED","title":"marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass","titleSource":"CVE Program","description":"marimo is a reactive Python notebook. Prior to 0.23.0, Marimo has a Pre-Auth RCE vulnerability. The terminal WebSocket endpoint /terminal/ws lacks authentication validation, allowing an unauthenticated attacker to obtain a full PTY shell and execute arbitrary system commands. Unlike other WebSocket endpoints (e.g., /ws) that correctly call validate_auth() for authentication, the /terminal/ws endpoint only checks the running mode and platform support before accepting connections, completely skipping authentication verification. This vulnerability is fixed in 0.23.0.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-39987","cvss":{"version":"4.0","baseScore":9.3,"severity":"critical","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-39987"},"updatedAt":"2026-04-24T03:55:20.777Z","retrievedAt":"2026-11-25T16:13:34.020Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52673.png?v=2","url":"https://exploitbin.com/exploits/EDB-52673","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52673/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52673/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}