The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32689

CVE-2026-32689: Phoenix Framework DoS Vulnerability

CVE-2026-32689 is a denial of service vulnerability in Phoenix Framework's long-poll transport that allows attackers to exhaust memory by sending malicious NDJSON payloads. This article covers technical details, affected versions, and mitigations.

Published: May 7, 2026

CVE-2026-32689 Overview

CVE-2026-32689 is a denial-of-service vulnerability in the Phoenix web framework for Elixir. The flaw resides in the long-poll transport's NDJSON body handling within Elixir.Phoenix.Transports.LongPoll.publish/4. An attacker sending a POST body composed entirely of newline bytes triggers unbounded list allocation, exhausting BEAM virtual machine memory and schedulers. The required session token is freely obtainable via an unauthenticated GET request with a matching Origin header, making the attack effectively unauthenticated. The issue affects Phoenix versions 1.7.0 through 1.7.21 and version 1.8.6, and is classified under [CWE-770] Allocation of Resources Without Limits or Throttling.

Critical Impact

A single 8 MB request can produce roughly 8.4 million empty list elements, crashing the Phoenix node and terminating all active sessions.

Affected Products

  • Phoenix Framework versions 1.7.0 through 1.7.21
  • Phoenix Framework version 1.8.6
  • Elixir applications using Phoenix.Transports.LongPoll with NDJSON content type

Discovery Timeline

  • 2026-05-05 - CVE-2026-32689 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-32689

Vulnerability Analysis

The vulnerability resides in Elixir.Phoenix.Transports.LongPoll.publish/4. When the transport receives a POST request with Content-Type: application/x-ndjson, the request body is split on newline characters using String.split/2 without a segment limit. Each newline byte in the input creates a new list element containing an empty binary, producing 1:1 amplification between input bytes and list size.

A 1 MB body of newline bytes generates approximately one million list elements. An 8 MB body produces approximately 8.4 million elements. The resulting list is then traversed by Enum.map, materializing a second list of equal size. This double allocation exhausts BEAM heap memory and starves schedulers, crashing the node and terminating every active long-poll session.

Root Cause

The root cause is missing input bounding on NDJSON body decoding. String.split/2 accepts a parts: option to cap segment count, but the original code omitted it. Combined with the absence of a server-side maximum batch size, the parser permits an attacker-controlled body to dictate allocation size linearly.

Attack Vector

The attack requires only network access to a Phoenix endpoint exposing the long-poll transport. An attacker first issues an unauthenticated GET to obtain a session token, supplying a matching Origin header. The attacker then sends a POST containing megabytes of \n bytes with Content-Type: application/x-ndjson. No authentication, user interaction, or privileges are needed.

javascript
// Patch: assets/js/phoenix/constants.js — introduces MAX_LONGPOLL_BATCH_SIZE
 export const global = globalSelf || phxWindow || globalThis
 export const DEFAULT_VSN = "2.0.0"
 export const SOCKET_STATES = {connecting: 0, open: 1, closing: 2, closed: 3}
+export const MAX_LONGPOLL_BATCH_SIZE = 100;
 export const DEFAULT_TIMEOUT = 10000
 export const WS_CLOSE_NORMAL = 1000
 export const CHANNEL_STATES = {

Source: Phoenix commit 1a67c61

javascript
// Patch: assets/js/phoenix/longpoll.js — imports the new batch limit constant
 import {
   SOCKET_STATES,
   TRANSPORTS,
-  AUTH_TOKEN_PREFIX
+  AUTH_TOKEN_PREFIX,
+  MAX_LONGPOLL_BATCH_SIZE
 } from "./constants"

 import Ajax from "./ajax"

Source: Phoenix commit 1a67c61

Detection Methods for CVE-2026-32689

Indicators of Compromise

  • POST requests to long-poll endpoints with Content-Type: application/x-ndjson and unusually large bodies relative to expected message volume.
  • Request bodies with extremely high newline-to-content ratios, particularly bodies composed primarily of \n bytes.
  • BEAM virtual machine crashes, scheduler stalls, or out of memory errors in Phoenix application logs coinciding with traffic to /socket/longpoll style routes.
  • Sudden mass disconnection of channel and LiveView sessions following a single client interaction.

Detection Strategies

  • Inspect web application firewall (WAF) and reverse proxy logs for NDJSON POSTs exceeding a sane upper bound, for example 1 MB.
  • Correlate Erlang VM telemetry — memory, run_queue, and process counts — with inbound long-poll traffic to identify allocation spikes.
  • Alert on repeated GETs that harvest session tokens from the same source address followed quickly by oversized NDJSON POSTs.

Monitoring Recommendations

  • Enable Phoenix Telemetry events for the long-poll transport and ship them to a centralized log platform for analysis.
  • Track 5xx response rates and BEAM node restarts per service instance and alert on deviations.
  • Monitor request body size distributions per route and flag outliers targeting long-poll endpoints.

How to Mitigate CVE-2026-32689

Immediate Actions Required

  • Upgrade Phoenix to a fixed release: 1.7.22 or later for the 1.7.x branch, or a release after 1.8.6 for the 1.8.x branch.
  • If upgrading is not immediately possible, disable the long-poll transport in endpoint.ex and rely solely on WebSocket transport.
  • Enforce a request body size cap at the reverse proxy or Plug.Parsers level for routes handling NDJSON.

Patch Information

The fix introduces a MAX_LONGPOLL_BATCH_SIZE constant (set to 100) on the client and bounds NDJSON segment processing on the server. Apply the official patches referenced in the GitHub Security Advisory GHSA-628h-q48j-jr6q and the upstream commits 1a67c61 and 912ea18. Additional context is published in the CNA advisory and OSV report.

Workarounds

  • Configure the reverse proxy (NGINX, HAProxy, or similar) to reject POST bodies above a few hundred kilobytes on long-poll routes.
  • Reject requests with Content-Type: application/x-ndjson at the edge if the application does not need NDJSON ingestion.
  • Restrict allowed Origin headers on the long-poll endpoint to limit unauthenticated token harvesting.
bash
# Example NGINX limit for the Phoenix long-poll endpoint
location /live/longpoll {
    client_max_body_size 256k;
    proxy_pass http://phoenix_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPhoenixframework

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • CNA CVE-2026-32689 Report

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory

  • OSV Vulnerability Report
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English