CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-69217

CVE-2026-69217: HTTP Request and Response Smuggling in http4s ember-core

Amit Schendel
Amit Schendel
Senior Security Researcher

Nov 30, 2026·11 min read·5 visits

Executive Summary (TL;DR)

An improper Content-Length header validation flaw in the http4s Ember HTTP/1.1 parser allows CL.CL HTTP request smuggling and response misframing when deployed behind intermediaries that interpret duplicate or malformed Content-Length headers inconsistently.

CVE-2026-69217 (also tracked as GHSA-p83c-4wj9-p6w9) is an HTTP request and response smuggling vulnerability in the ember-core module of the http4s Scala library. Prior to versions 0.23.35 and 1.0.0-M47, the HTTP/1.1 message parser failed to reject HTTP messages containing duplicate Content-Length header fields with conflicting values or sign-prefixed numeric values. Instead of returning a 400 Bad Request error as mandated by RFC 9112 Section 6.3, the parser accepted all occurrences sequentially and honored the final Content-Length value, while also permitting negative numbers via Scala's standard string-to-long conversion. When deployed behind a reverse proxy or intermediary that prioritizes the first Content-Length header or handles non-digit characters differently, unauthenticated remote attackers can desynchronize persistent HTTP/1.1 connections to perform web cache poisoning, bypass front-end security controls, and capture cross-user HTTP requests.

Vulnerability Overview

http4s is a functional, type-safe HTTP library for the Scala ecosystem targeting the JVM, Scala.js, and Scala Native runtimes. Within http4s, the ember-core module provides the foundational asynchronous HTTP/1.1 protocol implementation used by both http4s-ember-server and http4s-ember-client. Because ember-core handles raw socket stream parsing and message framing directly without delegating to external engines like Netty or Jetty, its parser implementation represents the primary network attack surface for applications built on the Ember stack.

CVE-2026-69217 (GHSA-p83c-4wj9-p6w9) is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'). The vulnerability stems from non-compliant parsing of the Content-Length HTTP header in org.http4s.ember.core.Parser. Specifically, versions of http4s prior to 0.23.35 and 1.0.0-M47 accept multiple Content-Length headers containing differing byte lengths, overwriting previously parsed values and framing the message body according to the last header encountered.

In addition to permitting duplicate conflicting headers, the vulnerable parser relies on Scala's standard String.toLong method without prior character validation. This permits leading sign characters (+ and -) in the header value. When a negative value such as Content-Length: -1 is supplied, the parser evaluates the length as less than or equal to zero and skips body consumption entirely, leaving the request payload in the TCP receive buffer to be interpreted as the beginning of the next request on the keep-alive connection.

In production deployments, application servers routinely operate behind reverse proxies, load balancers, API gateways, or Content Delivery Networks (CDNs) that maintain persistent, pooled HTTP/1.1 keep-alive connections to the backend. When a front-end intermediary and the back-end Ember server disagree on message boundaries—such as when the intermediary honors the first Content-Length header while Ember honors the last—an unauthenticated remote attacker can inject arbitrary HTTP requests into the persistent connection stream.

Root Cause Analysis

The HTTP/1.1 specification establishes strict rules for message body framing to prevent boundary ambiguity across distributed proxy chains. RFC 9112 Section 6.3 explicitly dictates that if a message is received with multiple Content-Length header fields containing different values, or a single Content-Length header containing comma-separated values, the recipient must treat the message as an unrecoverable framing error and reject it with a 400 Bad Request response. Furthermore, RFC 9110 Section 8.6 defines the ABNF grammar for Content-Length strictly as 1*DIGIT, meaning only one or more ASCII decimal digits (0-9) are syntactically valid.

In ember-core/shared/src/main/scala/org/http4s/ember/core/Parser.scala, the header parsing state machine iterates linearly over the incoming header byte buffer. Prior to the fix, the parser tracked the extracted message length using a mutable variable var contentLength: Option[Long] = None. Each time the loop encountered a header name matching Content-Length (evaluated case-insensitively), it executed contentLength = hValue.toLong.some inside a try/catch block.

The root cause of CVE-2026-69217 consists of two distinct flaws in this assignment logic. First, the parser fails to verify whether contentLength is already populated (Some(existingLen)) before assigning the newly parsed value. Consequently, if an HTTP message contains two or more Content-Length headers with conflicting values, no error state is triggered. The state machine simply overwrites the Option[Long] reference on each iteration, resulting in last-value precedence.

Second, invoking hValue.toLong (which delegates to java.lang.Long.parseLong on the JVM) without validating that every character satisfies the DIGIT predicate creates a secondary framing discrepancy. Long.parseLong accepts leading ASCII plus (+) and minus (-) signs. If an attacker transmits Content-Length: +10, a relaxed intermediary might reject or ignore the header while Ember parses it as 10. Conversely, if an attacker transmits Content-Length: -5, toLong succeeds and stores Some(-5L). When the parser transitions to parseFixedBody, the negative length satisfies the <= 0 termination check, causing Ember to treat the body as zero-length and immediately interpret the subsequent payload bytes in the socket buffer as a pipelined HTTP request.

Code Analysis

The vulnerability was patched in commit 24e8d34e3ea89f8f23e0053ec9944f6467e8086d within ember-core/shared/src/main/scala/org/http4s/ember/core/Parser.scala. Prior to the fix, the header parsing loop processed Content-Length headers using a single unconditional assignment wrapped in a generic exception handler:

// Vulnerable implementation in Parser.scala (prior to 0.23.35 / 1.0.0-M47)
val newHeader = Header.Raw(CIString(hName), hValue) // create header
if (hName.equalsIgnoreCase(contentLengthS)) { // Check if this is content-length.
  try contentLength = hValue.toLong.some // Flaw 1: Overwrites existing contentLength; Flaw 2: Allows '+' and '-'
  catch {
    case scala.util.control.NonFatal(e) =>
      progress = Progress.Errored(e) // Flaw 3: Propagates raw NumberFormatException with input string
  }
}

Commit 24e8d34e3ea89f8f23e0053ec9944f6467e8086d replaces this block with strict character validation and state checking, while introducing two dedicated stackless exception objects (DuplicateContentLength and InvalidContentLength):

// Patched implementation in Parser.scala (commit 24e8d34e3ea89f8f23e0053ec9944f6467e8086d)
import org.http4s.internal.CharPredicate
 
// Inside the header parsing loop:
val newHeader = Header.Raw(CIString(hName), hValue) // create header
if (hName.equalsIgnoreCase(contentLengthS)) { // Check if this is content-length.
  if (hValue.isEmpty || !hValue.forall(CharPredicate.Digit))
    // RFC 9110 8.6: Content-Length = 1*DIGIT. Anything else (sign
    // prefix, hex, whitespace, list) is a framing ambiguity and
    // must be rejected to prevent request smuggling.
    progress = Progress.Errored(InvalidContentLength)
  else
    try {
      val len = hValue.toLong
      if (contentLength.exists(_ != len))
        // RFC 9112 6.3: differing Content-Length values are an
        // unrecoverable framing error; a repeated identical value
        // MAY be collapsed to one.
        progress = Progress.Errored(DuplicateContentLength)
      else
        contentLength = Some(len)
    } catch {
      case scala.util.control.NonFatal(_) =>
        progress = Progress.Errored(InvalidContentLength)
    }
}
 
// Dedicated exception types added to Parser:
case object DuplicateContentLength extends Exception with NoStackTrace {
  override val getMessage = "DuplicateContentLength"
}
case object InvalidContentLength extends Exception with NoStackTrace {
  override val getMessage = "InvalidContentLength"
}

The patch addresses the underlying flaws across three validation steps. First, !hValue.forall(CharPredicate.Digit) ensures that every character in hValue is strictly an ASCII digit (0-9). Because the parser trims optional leading and trailing horizontal whitespace (OWS) from hValue prior to this check, any embedded whitespace, comma-separated lists (e.g., Content-Length: 5, 10), hexadecimal prefixes, or sign characters (+/-) immediately transition the parser state to Progress.Errored(InvalidContentLength).

Second, once hValue.toLong parses the 64-bit integer (failing safely to InvalidContentLength on 64-bit integer overflow), the expression contentLength.exists(_ != len) checks if a previous Content-Length header was already processed in the same message. If an existing value is present and differs from len, the parser aborts with Progress.Errored(DuplicateContentLength). If a duplicate header contains the exact same numeric value as the previously recorded header, it is permitted and collapsed into a single Some(len) value, which aligns with the optional relaxation allowed under RFC 9112 Section 6.3. Furthermore, replacing the raw NumberFormatException propagation with static NoStackTrace objects prevents untrusted header values from leaking into logs or error responses and eliminates stack trace generation overhead during malformed request floods.

Exploitation

Exploiting CVE-2026-69217 requires no authentication (PR:N) or user interaction (UI:N), though it requires an architecture where an intermediary proxy and the Ember HTTP parser sit in sequence along the request or response path (AC:H). In the standard server-side exploitation scenario (CL.CL Request Smuggling), an affected http4s-ember-server instance runs behind a reverse proxy or load balancer that forwards multiple Content-Length headers over a persistent HTTP/1.1 connection pool and uses the first Content-Length header to determine message body length.

To desynchronize the connection, the attacker transmits a single HTTP/1.1 POST request containing two conflicting Content-Length headers. The first header specifies the total byte length of both the benign body fragment and the smuggled HTTP request payload (44 bytes in the example below). The second header specifies only the length of the initial body prefix (6 bytes):

POST /api/status HTTP/1.1
Host: vulnerable.example.com
Content-Length: 44
Content-Length: 6
Connection: keep-alive
 
PREFIXGET /admin/export HTTP/1.1
Host: internal.local
 

When the front-end proxy processes this message, it reads the first header (Content-Length: 44) and forwards the entire 44-byte payload across the shared backend TCP socket as a single HTTP request. When http4s-ember-server parses the headers, it overwrites 44 with 6. Ember reads the first 6 bytes (PREFIX), dispatches the POST /api/status request to the application handler, and returns a response. However, 38 bytes (GET /admin/export HTTP/1.1\r\nHost: internal.local\r\n\r\n) remain unconsumed in the socket stream.

On the next read cycle of the persistent connection, Ember treats the residual 38 bytes as the start of a new HTTP request arriving from the trusted reverse proxy. Alternatively, if the attacker smuggles an incomplete POST request with a large Content-Length value in the nested payload (e.g., POST /user/profile with Content-Length: 500), Ember will block waiting for the remaining body bytes. When a legitimate user subsequently sends a request through the reverse proxy and the proxy routes it over the same keep-alive socket, the legitimate user's request headers—including Cookie and Authorization tokens—are appended directly into the body of the attacker's smuggled POST request.

Impact Assessment

CVE-2026-69217 carries a CVSS v3.1 base score of 8.7 (High) with the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N. The Changed Scope (S:C) metric reflects that while the vulnerability exists within the ember-core parser, successful exploitation breaks isolation boundaries across distinct security contexts—impacting upstream caches, front-end access control layers, and unrelated client sessions sharing the backend connection pool.

Confidentiality impact is rated High (C:H). By smuggling an unfinished request that writes data to a reflectable or retrievable storage location (such as a comment field, support ticket, or user profile attribute), an attacker can capture the full plain-text HTTP request of the next user assigned to the desynchronized backend socket. This exposes bearer tokens, session cookies, API keys, and sensitive POST body contents without requiring any interaction from the victim.

Integrity impact is also rated High (I:H). Attackers can bypass path-based access controls or WAF rules enforced at the reverse proxy layer (such as restrictions blocking external access to /admin or /metrics) because the proxy inspects only the outer request URI while Ember executes the smuggled inner request URI. Furthermore, if the front-end intermediary caches responses, an attacker can trigger response queue poisoning: the proxy associates the backend response generated by the smuggled request (such as a 302 Found redirect or an error page containing attacker-controlled scripts) with a static asset URL requested by subsequent users, resulting in persistent web cache poisoning.

In addition to server-side impact, ember-core's Parser is shared by http4s-ember-client. If an application uses the Ember client to proxy requests to untrusted upstream servers or shares pooled client connections across multiple tenants, a malicious upstream server can return duplicate conflicting Content-Length headers in an HTTP response to trigger response misframing and poison the client connection pool. As of September 2026, the vulnerability has an EPSS score of 0.00499 (35.69th percentile) and is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Remediation

To remediate CVE-2026-69217, upgrade all http4s dependencies—specifically http4s-ember-core, http4s-ember-server, and http4s-ember-client—to version 0.23.35 (for the stable 0.23.x release series) or 1.0.0-M47 (for the 1.0 milestone series). These releases incorporate commit 24e8d34e3ea89f8f23e0053ec9944f6467e8086d, which rejects conflicting duplicate Content-Length headers and non-digit Content-Length values at the parser layer.

In standard build.sbt project configurations, update the http4s version definition as follows:

// For the stable 0.23.x release branch:
val http4sVersion = "0.23.35"
 
libraryDependencies ++= Seq(
  "org.http4s" %% "http4s-ember-core"   % http4sVersion,
  "org.http4s" %% "http4s-ember-server" % http4sVersion,
  "org.http4s" %% "http4s-ember-client" % http4sVersion
)

> [!NOTE] > Verify transitive dependency resolution using sbt dependencyTree to ensure that no downstream libraries pull in an older version of http4s-ember-core alongside updated server or client artifacts.

In environments where an immediate library upgrade is not feasible, mitigation must be enforced at the front-end reverse proxy or load balancer layer. Configure the edge proxy to strictly validate incoming HTTP/1.1 requests and reject any message containing more than one Content-Length header or non-numeric characters in the header value. For example, in HAProxy, apply an explicit header count check in the frontend or listen stanza:

# Reject requests containing multiple Content-Length headers
http-request deny deny_status 400 if { req.hdr_cnt(content-length) gt 1 }

As an additional defense-in-depth measure for unpatched backends, disable connection reuse (HTTP/1.1 keep-alive) between the reverse proxy and the Ember server, or configure the reverse proxy to communicate with the backend exclusively over new TCP connections per request. While disabling backend connection pooling introduces TCP handshake latency, it prevents any smuggled request bytes left in the socket buffer from affecting subsequent requests from other clients.

Official Patches

http4sGitHub Security Advisory GHSA-p83c-4wj9-p6w9
http4sFix Commit in http4s/http4s repository
http4shttp4s v0.23.35 Release Notes
http4shttp4s v1.0.0-M47 Release Notes

Fix Analysis (1)

Technical Appendix

CVSS Score
8.7/ 10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS Probability
0.50%
Top 64% most exploited

Affected Systems

org.http4s:http4s-ember-coreorg.http4s:http4s-ember-serverorg.http4s:http4s-ember-client

Affected Versions Detail

Product
Affected Versions
Fixed Version
http4s (ember-core, ember-server, ember-client)
http4s
< 0.23.350.23.35
http4s (ember-core, ember-server, ember-client)
http4s
>= 1.0.0-M1, < 1.0.0-M471.0.0-M47
AttributeDetail
Vulnerability TypeCWE-444: HTTP Request/Response Smuggling
Affected Componentorg.http4s:http4s-ember-core (Parser.scala)
Attack VectorNetwork (HTTP/1.1 CL.CL Desynchronization)
CVSS v3.1 Score8.7 High (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N)
EPSS Score0.50% (35.69th Percentile)
Security ImpactSecurity Control Bypass, Cache Poisoning, Credential Hijacking
Exploit StatusNo Known Public Exploits
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1071.001Application Layer Protocol: Web Protocols
Command and Control
T1557Adversary-in-the-Middle
Credential Access
T1565.002Data Manipulation: Transmitted Data Manipulation
Impact
CWE-444
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

The product acts as an intermediary or endpoint that parses HTTP requests, but it does not correctly parse or validate incoming requests according to HTTP specifications, allowing attackers to smuggle hidden HTTP requests or desynchronize message framing across a chain of HTTP servers.

Vulnerability Timeline

CVE-2026-69217 and GitHub Security Advisory GHSA-p83c-4wj9-p6w9 published; patched versions 0.23.35 and 1.0.0-M47 released.
2026-09-15
NVD record updated with CVSS v3.1 scoring and CISA SSVC assessment.
2026-09-16

References & Sources

  • [1]GitHub Security Advisory: GHSA-p83c-4wj9-p6w9
  • [2]http4s Fix Commit 24e8d34e3ea89f8f23e0053ec9944f6467e8086d
  • [3]http4s Release v0.23.35
  • [4]http4s Release v1.0.0-M47
  • [5]CVE.org Record: CVE-2026-69217
  • [6]NVD Entry: CVE-2026-69217
  • [7]CVE v5 Record JSON: CVE-2026-69217

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•GHSA-R73Q-GWX2-FPXM
6.8

GHSA-r73q-gwx2-fpxm: Arbitrary Host Directory Mount and Sandbox Bypass via Theme Module Replacements in Hugo

Hugo versions 0.152.0 through 0.167.x contain a path traversal and sandbox bypass vulnerability in the module configuration loader. When a root project does not define module replacements, Hugo permits imported themes or modules to define their own module.replacements directives. Because replaced module imports are internally marked as project-replaced, they bypass theme directory path restrictions, allowing an untrusted theme to mount arbitrary host filesystem directories and expand the Node.js read sandbox.

Amit Schendel
Amit Schendel
2 views•10 min read
•about 2 hours ago•CVE-2026-135388
9.1

CVE-2026-135388: Cryptographic Signature Verification Bypass in Pion DTLS

CVE-2026-135388 (GHSA-7c2r-jhm9-43vf) is an improper verification of cryptographic signature vulnerability (CWE-347) in Pion DTLS, a pure Go implementation of Datagram Transport Layer Security (RFC 6347). The vulnerability stems from signature scheme confusion and missing cryptographic parameter binding in the handshake verification functions verifyKeySignature and verifyCertificateVerify. By presenting a genuine peer certificate paired with an incompatible or digest-less signature hash algorithm on the wire, an unauthenticated network adversary can bypass signature verification without possessing the peer's private key. This allows peer impersonation and full compromise of confidentiality and integrity in DTLS-protected channels, including WebRTC sessions utilizing SDP certificate fingerprint verification.

Alon Barad
Alon Barad
4 views•10 min read
•about 3 hours ago•CVE-2026-134024
6.8

CVE-2026-134024: Latent Server-Side Request Forgery Gadget in TastyIgniter Media Attachment Handler

CVE-2026-134024 is a Server-Side Request Forgery (SSRF) vulnerability (CWE-918) in the TastyIgniter open-source restaurant management platform prior to version 4.4.4. The flaw resides in the Media::addFromUrl() helper method within the tastyigniter/core package, which initiates outbound HTTP GET requests to caller-supplied URLs and persists the response body without validating the URI scheme, target hostname, or resolved IP address. Although unreachable in a default unextended installation, the method functions as a latent SSRF gadget that exposes the host environment to internal network reconnaissance and cloud metadata extraction when invoked by third-party extensions or custom application code.

Alon Barad
Alon Barad
2 views•10 min read
•about 4 hours ago•CVE-2026-61832
7.5

CVE-2026-61832: Improper Certificate Validation and Insecure Deserialization in NukeViet CMS

CVE-2026-61832 is a compound vulnerability in NukeViet CMS versions prior to 4.6.00 resulting from disabled TLS certificate validation (CWE-295) in internal HTTP clients and unrestricted PHP deserialization (CWE-502) in administrative extension store handlers. An adversary-in-the-middle (AiTM) attacker can intercept outbound HTTPS connections to the NukeViet extension store API and inject a crafted serialized PHP object. When an administrator interacts with the extension store, the application deserializes the response, triggering an in-tree Property-Oriented Programming (POP) gadget chain in Guzzle to achieve arbitrary file write and remote code execution.

Amit Schendel
Amit Schendel
5 views•10 min read
•5 days ago•CVE-2026-65973
6.4

CVE-2026-65973: Local OS Command Injection in Laradocs KaTeX Server-Side Rendering

CVE-2026-65973 (GHSA-h746-qpxh-ph7g) is a local operating system command injection vulnerability (CWE-78) in the PeteBishwhip/laradocs package for Laravel. Versions from 0.4.0 to before 1.0.0 fail to sanitize or escape the configured Node.js binary path before passing it as part of a command string to PHP's proc_open() function during server-side KaTeX rendering. An attacker with the ability to modify local configuration files or environment variables can inject shell metacharacters to execute arbitrary OS commands under the privileges of the web server process.

Amit Schendel
Amit Schendel
21 views•9 min read
•5 days ago•CVE-2026-65971
7.6

CVE-2026-65971: SQL Injection in Livewire PowerGrid via Public sortDirection Property

A SQL injection vulnerability exists in power-components/livewire-powergrid versions 6.0.0 through 6.10.3. The public Livewire component property sortDirection is interpolated directly into raw SQL ORDER BY clauses during natural sorting operations without prior validation. By clearing the sortField property to bypass standard Laravel query builder protections, an attacker can inject arbitrary SQL expressions via POST requests to the /livewire/update endpoint.

Amit Schendel
Amit Schendel
14 views•9 min read