PatchSiren

benoitc CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH benoitc CVE published 2026-10-26

CVE-2026-97200

A vulnerability in hackney allows a malicious HTTP server to exhaust client memory via an oversized or highly compressed response body. The issue affects hackney from 2.0.0-beta.1 before 4.9.0. This vulnerability can lead to denial-of-service (DoS) attacks, emphasizing the need for defenders to verify exposure and implement compensating controls. Systems using hackney for HTTP requests are at risk, and defenders should assess the impact and prioritize upgrades to 4.9.0 or later. The vulnerability is caused by unbounded response body buffering and decompression in hackney_conn, allowing malicious servers to trigger memory exhaustion.

CRITICAL benoitc CVE published 2026-10-26

CVE-2026-115693

A critical vulnerability was found in hackney_ssl, a component of the hackney library, which allows an on-path attacker to impersonate a server pinned to a private certificate authority. This issue arises from improper certificate validation, enabling an attacker to present a certificate chain ending in a publicly trusted root, bypassing the private CA validation.

MEDIUM benoitc CVE published 2026-10-26

CVE-2026-113440

CVE-2026-113440 Insufficiently Protected Credentials vulnerability in hackney allows a redirecting server to obtain basic_auth and cookie credentials via same-host redirect. Affects hackney from 2.0.0 before 4.9.0. The vulnerability arises from the improper handling of redirects in the hackney library, which can lead to the exposure of sensitive credentials. This issue is particularly concerning as it can allow an attacker to intercept credentials during a redirect, potentially leading to unauthorized access.

MEDIUM benoitc CVE published 2026-10-26

CVE-2026-115700

A vulnerability in hackney_url in benoitc hackney allows Server Side Request Forgery via a percent-encoded bracketed IPv6 literal or an IP literal with a trailing dot. This issue affects hackney versions from 4.0.1 before 4.9.0. The vulnerability arises from an interpretation conflict that allows an attacker to bypass IP-literal gates and connect to the denoted address. Defenders should assess exposure and apply patches. The issue has a CVSS score of 6.9 and is classified as MEDIUM severity.

LOW benoitc CVE published 2026-10-26

CVE-2026-112880

A vulnerability in the hackney library allows for CRLF injection in the Proxy-Authorization header. This issue arises from the improper neutralization of CRLF sequences in HTTP headers, specifically when the `proxy_auth_fun` callback returns a value that is not checked for control bytes before being written to the Proxy-Authorization line of the CONNECT retry. An attacker can influence this value when the callback derives it from untrusted data, such as the proxy's challenge headers. This vulnerability affects versions of hackney from 2.0.0 before 4.9.0.

CRITICAL benoitc CVE published 2026-08-14

CVE-2026-49457

A critical vulnerability in the erlang_quic library allows for impersonation of servers during the TLS 1.3 handshake, potentially defeating the confidentiality and integrity of connections. This issue, which affects QUIC and HTTP/3 clients, is fixed in version 1.4.4. The vulnerability arises from the QUIC client's failure to authenticate the server during the TLS 1.3 handshake, allowing a man-in-the-middle to present any certificate and impersonate any server. This could lead to significant security risks, including eavesdropping and tampering with sensitive data. Defenders responsible for QUIC and HTTP/3 client deployments using the erlang_quic library should assess exposure and

HIGH benoitc CVE published 2026-05-25

CVE-2026-47073

## Summary CVE-2026-47073 is a HIGH severity (CVSS 8.7) resource exhaustion vulnerability in the hackney Erlang HTTP client, specifically affecting its WebSocket implementation. The vulnerability allows a malicious WebSocket server to cause denial-of-service through memory exhaustion via three distinct attack vectors: unbounded handshake response buffering, unbounded frame payload buffering, and unbounded fragmented frame accumulation. The issue affects hackney versions from 2.0.0 through 4.0.0, with fixes available in version 4.0.1. No authentication or special client configuration is required for exploitation—only control of the server the hackney client connects to. ## Technical Details The vulnerability stems from three code paths in `src/hackney_ws.erl` that lack upper bounds on memory consumption: 1. **Handshake Response Buffer (`read_handshake_response/3`)**: Accumulates received bytes into a growing buffer without size limits. The per-receive timeout resets on every chunk received, allowing a server to stream bytes indefinitely without sending the required `CRLFCRLF` terminator, causing unbounded buffer growth until memory exhaustion. 2. **Frame Payload Parsing (`parse_payload/9` and `parse_active_payload/8`)**: Fails to validate declared payload lengths against any limit. RFC 6455 permits payload lengths up to 2^63-1 bytes; a server announcing a very large frame and dribbling bytes slowly causes the accumulation buffer to grow without bound until out-of-memory conditions occur. 3. **Fragmented Frame Buffer (`frag_buffer` field in `#ws_data{}`)**: Accumulates continuation frames indefinitely. A server sending an endless stream of non-final (no-FIN) fragmented frames without ever sending a final (FIN) frame causes `frag_buffer` to grow without bound. In all cases, the attacker only needs to control the WebSocket server that the hackney client connects to. No client-side authentication or special configuration is required. ## Affected Versions - **Affected**: hackney 2.0.0 through 4.0.0 (inclusive) - **Fixed**: hackney 4.0.1 and later ## Impact Assessment - **Availability Impact**: HIGH — Complete denial of service through memory exhaustion - **Conf/Integ/

HIGH benoitc CVE published 2026-05-25

CVE-2026-47067

A resource exhaustion vulnerability in the Hackney HTTP client library for Erlang/Elixir allows remote attackers to crash the BEAM virtual machine by flooding it with unique URL scheme prefixes. The vulnerability stems from the use of `binary_to_atom/2` in the URL parser, which converts unrecognized schemes to permanent atoms that are never garbage-collected. With a default atom table limit of 1,048,576 entries, an attacker can exhaust this finite resource through crafted URLs supplied as request targets, webhook configurations, or redirect Location headers. This affects Hackney versions 2.0.0 through 4.0.0, with version 4.0.1 containing the remediation. The CVSS 4.0 vector indicates network attack vector with low complexity, no privileges required, and high availability impact. The vulnerability was published to CVE on 2026-05-25 and last modified on 2026-05-26.

MEDIUM benoitc CVE published 2026-05-25

CVE-2026-47072

CVE-2026-47072 documents a CRLF injection vulnerability in the hackney Erlang HTTP client, specifically within its WebSocket upgrade implementation. The flaw exists in versions 2.0.0 through 4.0.0, where user-controlled values for host, path, headers, and protocols are concatenated directly into raw HTTP/1.1 upgrade requests without sanitization of carriage return, line feed, or null characters. This allows attackers with control over these parameters to inject arbitrary HTTP headers, enabling request/response splitting attacks against upstream servers or intermediary proxies. The vulnerability was published on 2026-05-25 and last modified on 2026-05-26. A fix is available in version 4.0.1. The issue is rated CVSS 6.9 (Medium) with a CVSS 4.0 vector indicating network attack vector, low attack complexity, and significant integrity impact on the subsequent system. No known exploitation in ransomware campaigns has been reported.

MEDIUM benoitc CVE published 2026-05-25

CVE-2026-47076

A Server-Side Request Forgery (SSRF) vulnerability exists in the hackney HTTP client library for Erlang/Elixir. The root cause is an interpretation conflict between how hackney normalizes URLs versus how standard OTP functions parse them. Specifically, hackney_url:normalize/2 URL-decodes the host component after parsing, while uri_string:parse/1 and inet:parse_address/1 do not decode percent-escapes in the host. This allows an attacker to bypass allowlist-based SSRF protections by encoding restricted hosts (e.g., 127.0.0.1, 169.254.169.254) using percent-encoding. A validator checking the raw parsed host sees %31%32%37%2E%30%2E%30%2E%31 (not matching IP patterns), passes the check, and then hackney decodes this to 127.0.0.1 and establishes a TCP connection to the loopback interface. The vulnerability affects all requests using binary or list URLs since hackney:request/5 unconditionally calls hackney_url:normalize/2 with no opt-out mechanism. Attack vectors include accessing cloud instance metadata services, RFC1918 private networks, and administrative interfaces bound to localhost. The issue was introduced in version 0.13.0 and was patched in version 4.0.1.

MEDIUM benoitc CVE published 2026-05-25

CVE-2026-47070

A sensitive data exposure vulnerability exists in the hackney Erlang HTTP client library, specifically affecting HTTP/3 redirect handling. When follow_redirect is enabled, the HTTP/3 handler in src/hackney_h3.erl forwards original request headers—including Authorization and Cookie headers—to redirect targets without performing cross-origin validation. This allows credentials to be leaked to unintended third-party hosts when a server responds with a 3xx redirect to a different origin. The vulnerability exists because hackney_h3.erl lacks the maybe_strip_auth_on_redirect/2 protection present in the main hackney.erl module, which was added to address CVE-2018-1000007. Affected versions range from 3.1.1 through versions prior to 4.0.1. The fix involves implementing equivalent authorization stripping logic for HTTP/3 redirects.

MEDIUM benoitc CVE published 2026-05-25

CVE-2026-47075

A CRLF injection vulnerability in the Erlang HTTP client library hackney allows HTTP request splitting when attacker-controlled data is included in URL query parameters. The library fails to percent-encode carriage return (CR) and line feed (LF) characters in query strings before constructing HTTP/1.1 request targets, violating RFC 3986 Section 3.4. This enables injection of arbitrary HTTP headers or request splitting when untrusted input is incorporated into URLs passed to hackney.

HIGH benoitc CVE published 2026-05-25

CVE-2026-47077

A resource exhaustion vulnerability exists in the hackney HTTP client library for Erlang/Elixir, specifically affecting HTTP/3 response handling. The `hackney_h3:await_response_loop/6` function accumulates response body data in memory without enforcing a maximum size limit. The timeout mechanism resets on each received chunk or control frame rather than serving as a hard deadline, allowing a malicious server to maintain an open connection indefinitely by sending minimal data at intervals just below the timeout threshold. This unbounded accumulation leads to linear memory growth until the BEAM process heap is exhausted, resulting in denial of service through out-of-memory conditions. The vulnerability affects versions 2.0.0 through 4.0.0, with remediation available in version 4.0.1.

HIGH benoitc CVE published 2026-05-25

CVE-2026-47066

## Summary CVE-2026-47066 is a high-severity infinite-loop vulnerability in the hackney Erlang HTTP client. The Alt-Svc response-header parser fails to make forward progress when it encounters certain non-token characters, causing the connection process to spin at 100% CPU and never return. A malicious or compromised HTTP server can trigger this by sending a single crafted byte in the Alt-Svc header. ## Affected Versions - hackney: 2.0.0-beta.1 through 4.0.0 (fixed in 4.0.1) ## Root Cause The parser in `src/hackney_altsvc.erl` contains three mutually recursive functions: `parse_token/2`, `skip_comma/1`, and `parse_entries/2`. When `parse_token/2` receives a byte that is not a token character, whitespace, or comma (e.g., `!`, `@`, `=`, `;`), it returns the input buffer unchanged. `skip_comma/1` similarly returns the buffer unchanged if the first byte is not a comma. `parse_entries/2` then recurses with identical data, creating a tight infinite tail-recursive loop that pins a scheduler at 100% CPU. ## Attack Vector - **Network**: The vulnerability is triggered when hackney parses an HTTP response containing a malicious Alt-Svc header. - **Control**: The header value is fully controlled by any HTTP origin the client connects to. - **Trigger**: A single-byte Alt-Svc header such as `Alt-Svc: !` is sufficient to cause the hang. ## Impact - **Availability**: Complete denial of service for the affected connection process; the calling process never returns. - **Scope**: Each malicious response can pin one scheduler at 100% CPU. Repeated exploitation could exhaust scheduler resources. ## Recommended Actions 1. **Upgrade**: Update hackney to version 4.0.1 or later, which contains the fix. 2. **Verify**: Confirm the patched version is deployed across all services using hackney. 3. **Monitor**: Watch for unusual CPU utilization in Erlang/Elixir applications using hackney, particularly after connections to untrusted HTTP origins. 4. **Network Controls**: Where feasible, restrict outbound HTTP connections to trusted origins until patching is complete.

LOW benoitc CVE published 2026-05-25

CVE-2026-47069

A CRLF injection vulnerability exists in the hackney Erlang HTTP client library, specifically within the `hackney_cookie:setcookie/3` function. While the function validates cookie names and values against CRLF and control characters, it fails to apply equivalent sanitization to the `domain` and `path` options. An attacker who can influence these options—such as through a crafted Host header or request path—can inject CRLF sequences to split HTTP responses and inject arbitrary Set-Cookie headers. This affects hackney versions from 0.9.0 through 4.0.0. The vulnerability was disclosed on 2026-05-25 and last modified on 2026-05-26. A fix is available in version 4.0.1.