Vulnerability in phoenix
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-32689 has been found in phoenix.
Attackers can target a specific entry point like Origin over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade phoenix to 1.8.6 or later.
If unsure, ask your IT team or search "phoenix CVE-2026-32689" on the vendor's site.
CVE-2026-32689 (phoenix) — CWE-770
Attack surface: Origin / Phoenix.Socket
Patched: 1.8.6 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-770) exists in phoenix. Attackers reach the vulnerable code path via Origin.
Check the vendor advisory for the affected versions of phoenix. Attack surface: Origin / Phoenix.Socket.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 1.8.6.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'phoenix' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'phoenix' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
phoenixを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade phoenix to 1.8.6ステージング環境で 1.8.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| erlangphoenix |
< 1.8.6→ 1.8.6 |
1.8.6 |
| Hexphoenix |
≥ 1.7.0, < 1.7.22→ 1.7.22 ≥ 1.8.0-rc.0, < 1.8.6→ 1.8.6 |
1.7.22 1.8.6 |
| phoenixframeworkphoenix |
≥ 2674c6ea30634667f9b09966b90269393b445953 (no fix yet)→ 1a67c61ff9ce0a7711662ac7354861917a7c80f7, 912ea181fd247c21dbcc49fb97d0053b947d81bf |
1a67c61ff9ce0a7711662ac7354861917a7c80f7, 912ea181fd247c21dbcc49fb97d0053b947d81bf |
Original description The description as published by the source.
Summary
Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix allows a denial of service via the long-poll transport's NDJSON body handling.
In Phoenix.Transports.LongPoll.publish/4, when a POST request is received with Content-Type: application/x-ndjson, the request body is split on newline characters using String.split/2 with no limit on the number of resulting segments. An attacker can send a body consisting entirely of newline bytes, causing a 1:1 amplification into a list of empty binaries — a 1 MB body produces approximately one million list elements, an 8 MB body approximately 8.4 million. Each element is then walked by Enum.map, materializing another list of the same size. This exhausts BEAM memory and schedulers, crashing the node and terminating all active sessions.
A session token required to reach the vulnerable endpoint is freely obtainable by any client via an unauthenticated GET request to the same URL with a matching Origin header, making this attack effectively unauthenticated.
This issue affects phoenix: from 1.7.0 before 1.7.22 and from 1.8.0-rc.0 before 1.8.6.
Workarounds
Disable the longpoll transport on all Phoenix.Socket declarations, including the LiveView /live socket, by removing or setting longpoll: false. Note that this prevents clients that cannot use WebSockets from connecting.
Configurations
A Phoenix.Socket must be configured with the longpoll option enabled. Phoenix…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package hex.pm
- patch github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web repo.hex.pm
- web github.com