CVE-2026-56811
Full vulnerability record from the local CVENow database.
Description
Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix (Phoenix.Socket module) allows an unauthenticated attacker to cause a denial of service against any endpoint that mounts a Phoenix socket with a reachable channel transport (WebSocket or LongPoll). This vulnerability is associated with program files lib/phoenix/socket.ex and program routine 'Elixir.Phoenix.Socket':handle_in/4. Phoenix transports do not limit the number of channels that a single transport process may join. Every phx_join message a client sends over one connection starts a persistent channel process, and the socket process accepts an unbounded number of them. A single unauthenticated client can therefore open one WebSocket or LongPoll connection and stream a large number of phx_join messages, spawning hundreds of thousands of channel processes over that one connection and eventually reaching the BEAM maximum process limit. Once the process table is exhausted the virtual machine can no longer start new processes, denying service to legitimate traffic across the whole node. Because the amplification happens inside a single connection, network-layer connection caps and rate limiting do not mitigate it. The fix adds a :max_channels_per_transport option (default 100) that bounds the number of channels a single transport process can join, forcing abusive clients to open many connections instead, where external load balancers and reverse proxies can throttle them. This issue affects phoenix: from 0.11.0 before 1.5.15, from 1.6.0-rc.0 before 1.6.17, from 1.7.0-rc.0 before 1.7.24, and from 1.8.0-rc.0 before 1.8.9.
View original CVE JSON
{
"id": "CVE-2026-56811",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"published": "2026-07-07T16:16:40.710",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix (Phoenix.Socket module) allows an unauthenticated attacker to cause a denial of service against any endpoint that mounts a Phoenix socket with a reachable channel transport (WebSocket or LongPoll).\n\nThis vulnerability is associated with program files lib/phoenix/socket.ex and program routine 'Elixir.Phoenix.Socket':handle_in/4.\n\nPhoenix transports do not limit the number of channels that a single transport process may join. Every phx_join message a client sends over one connection starts a persistent channel process, and the socket process accepts an unbounded number of them. A single unauthenticated client can therefore open one WebSocket or LongPoll connection and stream a large number of phx_join messages, spawning hundreds of thousands of channel processes over that one connection and eventually reaching the BEAM maximum process limit. Once the process table is exhausted the virtual machine can no longer start new processes, denying service to legitimate traffic across the whole node. Because the amplification happens inside a single connection, network-layer connection caps and rate limiting do not mitigate it.\n\nThe fix adds a :max_channels_per_transport option (default 100) that bounds the number of channels a single transport process can join, forcing abusive clients to open many connections instead, where external load balancers and reverse proxies can throttle them.\n\nThis issue affects phoenix: from 0.11.0 before 1.5.15, from 1.6.0-rc.0 before 1.6.17, from 1.7.0-rc.0 before 1.7.24, and from 1.8.0-rc.0 before 1.8.9."
},
{
"lang": "es",
"value": "La vulnerabilidad de asignación de recursos sin límites ni estrangulamiento en phoenixframework phoenix (módulo Phoenix.Socket) permite a un atacante no autenticado causar una denegación de servicio contra cualquier punto final que monte un socket Phoenix con un transporte de canal accesible (WebSocket o LongPoll).\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/phoenix/socket.ex y la rutina de programa ’Elixir.Phoenix.Socket’:handle_in/4.\n\nLos transportes de Phoenix no limitan el número de canales a los que puede unirse un único proceso de transporte. Cada mensaje phx_join que un cliente envía a través de una conexión inicia un proceso de canal persistente, y el proceso de socket acepta un número ilimitado de ellos. Por lo tanto, un único cliente no autenticado puede abrir una conexión WebSocket o LongPoll y transmitir un gran número de mensajes phx_join, generando cientos de miles de procesos de canal a través de esa única conexión y finalmente alcanzando el límite máximo de procesos de BEAM. Una vez que la tabla de procesos se agota, la máquina virtual ya no puede iniciar nuevos procesos, denegando el servicio al tráfico legítimo en todo el nodo. Debido a que la amplificación ocurre dentro de una única conexión, los límites de conexión de la capa de red y la limitación de velocidad no lo mitigan.\n\nLa solución añade una opción :max_channels_per_transport (por defecto 100) que limita el número de canales a los que puede unirse un único proceso de transporte, obligando a los clientes abusivos a abrir muchas conexiones en su lugar, donde los balanceadores de carga externos y los proxies inversos pueden estrangularlos.\n\nEste problema afecta a phoenix: desde 0.11.0 antes de 1.5.15, desde 1.6.0-rc.0 antes de 1.6.17, desde 1.7.0-rc.0 antes de 1.7.24, y desde 1.8.0-rc.0 antes de 1.8.9."
}
],
"affected": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"affectedData": [
{
"vendor": "phoenixframework",
"product": "phoenix",
"defaultStatus": "unaffected",
"collectionURL": "https://repo.hex.pm",
"packageName": "phoenix",
"cpes": [
"cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
],
"modules": [
"'Elixir.Phoenix.Socket'"
],
"programFiles": [
"lib/phoenix/socket.ex"
],
"programRoutines": [
{
"name": "'Elixir.Phoenix.Socket':handle_in/4"
}
],
"repo": "https://github.com/phoenixframework/phoenix",
"packageURL": "pkg:hex/phoenix",
"versions": [
{
"version": "0.11.0",
"lessThan": "1.5.15",
"versionType": "semver",
"status": "affected"
},
{
"version": "1.6.0-rc.0",
"lessThan": "1.6.17",
"versionType": "semver",
"status": "affected"
},
{
"version": "1.7.0-rc.0",
"lessThan": "1.7.24",
"versionType": "semver",
"status": "affected"
},
{
"version": "1.8.0-rc.0",
"lessThan": "1.8.9",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "phoenixframework",
"product": "phoenix",
"defaultStatus": "unaffected",
"collectionURL": "https://github.com",
"packageName": "phoenixframework/phoenix",
"cpes": [
"cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
],
"modules": [
"'Elixir.Phoenix.Socket'"
],
"programFiles": [
"lib/phoenix/socket.ex"
],
"programRoutines": [
{
"name": "'Elixir.Phoenix.Socket':handle_in/4"
}
],
"repo": "https://github.com/phoenixframework/phoenix",
"packageURL": "pkg:github/phoenixframework/phoenix",
"versions": [
{
"version": "14a297e88023cb280a577962a49a0bbdeef9f4eb",
"lessThan": "*",
"versionType": "git",
"status": "affected",
"changes": [
{
"at": "c498ba8cf49f6accbbd0c643a5340b58db891218",
"status": "unaffected"
},
{
"at": "d19ca0a8d9f82c130b7ed339b9f033433e2dea5e",
"status": "unaffected"
},
{
"at": "a612100cd8a4279091abc1a2ef8fb98a6d01c0a1",
"status": "unaffected"
},
{
"at": "16e295d2fccab185d1292322e2bee5d46c725c8a",
"status": "unaffected"
}
]
}
]
}
]
}
],
"metrics": {
"cvssMetricV40": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary",
"cvssData": {
"version": "4.0",
"vectorString": "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",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "NOT_DEFINED",
"confidentialityRequirement": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"availabilityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"valueDensity": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED"
}
}
],
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-07T16:12:27.662417Z",
"id": "CVE-2026-56811",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.2.0",
"versionEndExcluding": "1.5.15",
"matchCriteriaId": "3CF8EA55-C063-4742-87ED-53E1998977B5"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.6.0",
"versionEndExcluding": "1.6.17",
"matchCriteriaId": "809E49A8-D727-4E05-BBF9-F9E34077E4A4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.7.0",
"versionEndExcluding": "1.7.24",
"matchCriteriaId": "3257C901-8FC3-4107-95C6-C57F909FFE40"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.8.0",
"versionEndExcluding": "1.8.9",
"matchCriteriaId": "8F98C1AC-1593-43EB-929A-4D3B7597C9BC"
}
]
}
]
}
],
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-56811.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Mitigation",
"Patch",
"Third Party Advisory"
]
},
{
"url": "https://github.com/phoenixframework/phoenix/commit/14a297e88023cb280a577962a49a0bbdeef9f4eb",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/phoenixframework/phoenix/commit/16e295d2fccab185d1292322e2bee5d46c725c8a",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/phoenixframework/phoenix/commit/a612100cd8a4279091abc1a2ef8fb98a6d01c0a1",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/phoenixframework/phoenix/commit/c498ba8cf49f6accbbd0c643a5340b58db891218",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/phoenixframework/phoenix/commit/d19ca0a8d9f82c130b7ed339b9f033433e2dea5e",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/phoenixframework/phoenix/security/advisories/GHSA-6983-jfq8-485w",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch",
"Vendor Advisory"
]
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-56811",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Mitigation",
"Third Party Advisory"
]
}
]
}