CVE-2026-32688: Plug Cowboy Atom Exhaustion Dos

Converting client-supplied strings from `:cowboy_req` (e.g., HTTP scheme, headers) directly to atoms using `String.to_atom/1` or `:erlang.binary_to_atom/2` can cause Denial of Service (DoS). The Erlang VM does not garbage-collect atoms, so an attacker can exhaust the atom table (`system_limit`). Pattern-match the expected string values using a `case` stateme

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Elixir
greprules fetch cve-2026-32688-plug-cowboy-atom-exhaustion-dos --engine opengrep

Description

Converting client-supplied strings from `:cowboy_req` (e.g., HTTP scheme, headers) directly to atoms using `String.to_atom/1` or `:erlang.binary_to_atom/2` can cause Denial of Service (DoS). The Erlang VM does not garbage-collect atoms, so an attacker can exhaust the atom table (`system_limit`). Pattern-match the expected string values using a `case` stateme