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-48480

CVE-2026-48480: Undetected Stream Truncation in netty-incubator-codec-ohttp

Alon Barad
Alon Barad
Software Engineer

Jun 24, 2026·7 min read·13 visits

Executive Summary (TL;DR)

An on-path adversary can cleanly truncate a chunked-OHTTP stream at a non-final chunk boundary, bypassing integrity checks without triggering decryption errors or application exceptions.

The Netty incubator codec for Oblivious HTTP (OHTTP) fails to verify that a cryptographically signed final chunk is received before the outer HTTP body terminates. This missing validation allows an on-path adversary to truncate chunked-OHTTP messages cleanly at a non-final chunk boundary, leading to undetected data truncation and compromising message integrity. The vulnerability affects multiple versions of the maven package io.netty.incubator:netty-incubator-codec-ohttp prior to 0.0.22.Final.

Vulnerability Overview

Chunked Oblivious HTTP (OHTTP) specifies a mechanism for routing encrypted HTTP messages through intermediate relays while preserving sender privacy. In this architecture, messages are segmented into a sequence of cryptographically encapsulated chunks. The protocol relies on a dedicated end-of-stream flag inside the final chunk to assert message completeness and protect against unauthorized stream truncation by intermediate transport layers.

Prior to version 0.0.22.Final, the netty-incubator-codec-ohttp component failed to verify the presence of this final chunk flag before declaring a stream successfully processed. This vulnerability is classified as CWE-325: Missing Cryptographic Step. It allows an adversary to manipulate the boundaries of OHTTP communications without triggering parser-level exceptions.

Because the OHTTP layer did not cross-reference the transport layer's termination state with the cryptographic payload's internal structure, the receiving application would process incomplete payloads as if they were fully transmitted. This compromises message integrity and enables silent denial-of-service or information omission attacks. The vulnerability is especially critical in secure proxies or privacy-centric routing services.

Root Cause Analysis

The vulnerability stems from a lack of state enforcement within the chunk parsing loop of OHttpVersionChunkDraft.java. The parse method is designed to iterate through incoming bytes, reconstructing individual chunk frames via parseNextChunk and decoding them sequentially. However, the parser lacked tracking logic to monitor whether any of the parsed chunk frames possessed the isFinal attribute set to true.

When the underlying transport layer completes transmission, it signals the parser by setting the completeBodyReceived flag to true. In vulnerable versions, receiving this signal caused the parser to conclude processing immediately upon consuming the current buffer, regardless of whether a terminal cryptographic chunk had been resolved. The parser assumed that any clean termination of the transport envelope equated to a complete and correct transmission of the cryptographic stream.

An on-path adversary can exploit this design flaw by terminating the TCP connection or ending the HTTP/2 frame sequence early. If the truncation is performed cleanly at a non-final chunk boundary, the parser handles the truncated stream successfully. The absence of a post-decryption validation step prevents the engine from realizing that subsequent chunks were omitted by the sender or dropped in transit. This omission bypasses the designed cryptographic integrity verification.

Code Analysis

An analysis of the patch committed to the Netty project repository reveals the introduction of explicit state tracking for the final-chunk marker. The revised method signature and decoding loop maintain a local boolean state across the parsing execution. If the transport layer reports complete body reception but the final-chunk state is false, the parser now raises a CorruptedFrameException.

Below is the comparison of the code paths within the parse method of OHttpVersionChunkDraft.java before and after remediation:

// Vulnerable Implementation
public void parse(ByteBufAllocator alloc, ByteBuf in, boolean completeBodyReceived, Decoder decoder, List<Object> out) {
    // ... 
    while (in.isReadable()) {
        ChunkInfo chunkInfo = parseNextChunk(in, completeBodyReceived, maxChunkSize);
        if (chunkInfo == null) {
            break;
        }
        decoder.decodeChunk(alloc, in, chunkInfo.length, chunkInfo.isFinal, out);
    }
    // No validation of chunkInfo.isFinal against completeBodyReceived exists here
}
// Patched Implementation
public void parse(ByteBufAllocator alloc, ByteBuf in, boolean completeBodyReceived, Decoder decoder, List<Object> out) {
    // ...
    boolean finalChunk = false; // Added to track final chunk presence
    while (in.isReadable()) {
        ChunkInfo chunkInfo = parseNextChunk(in, completeBodyReceived, maxChunkSize);
        if (chunkInfo == null) {
            break;
        }
        finalChunk |= chunkInfo.isFinal; // Accumulate final chunk flag using bitwise OR
        decoder.decodeChunk(alloc, in, chunkInfo.length, chunkInfo.isFinal, out);
    }
    // Enforce that complete transport body corresponds to a complete cryptographic body
    if (completeBodyReceived && !finalChunk) {
        throw new CorruptedFrameException("OHTTP stream ended without a final chunk");
    }
}

While this fix prevents truncation when a transport stream finishes, security teams should evaluate caller behavior. Because finalChunk is maintained as a local variable within a single execution of the parse method, state preservation depends on the upstream handler correctly accumulating buffers across fragmented TCP packets before calling the parser with completeBodyReceived set to true. If a caller calls parse with completeBodyReceived set to true on an empty buffer invocation, the local finalChunk evaluates to false and triggers an exception. Developers must ensure correct usage of the parser interface in customized pipeline configurations.

Exploitation Methodology

To successfully execute this attack, the adversary must reside on-path between the client and the gateway, such as functioning as the OHTTP Relay or intercepting transport-layer communications as a machine-in-the-middle (MITM). No prior authentication credentials or specialized configuration parameters are required.

The attack begins when a target client initiates a multi-chunk OHTTP transaction, sending a sequence of encapsulated payloads. The attacker intercepts the transmission and identifies the target boundary to truncate, deciding which chunks to forward and which to discard. The adversary forwards only the initial chunks and drops all subsequent chunks, including the cryptographically signed final chunk.

Immediately after transmitting the truncated prefix, the attacker cleanly terminates the outer HTTP transport layer, sending a proper TCP FIN segment or an HTTP/2 END_STREAM flag. The receiving OHTTP gateway receives the clean connection closure, flags completeBodyReceived as true, and processes the partial chunks successfully. The application processes the incomplete data payload without throwing a cryptographic decryption exception or signaling an integrity failure. This enables clean manipulation of message content at the boundary of a chunk.

Impact Assessment

The security impact of CVE-2026-48480 centers on the loss of message integrity within secure communication systems utilizing OHTTP. Because OHTTP is typically deployed in privacy-sensitive environments to proxy DNS queries, telemetry data, or secure API payloads, the silent truncation of these streams can have significant operational consequences.

For example, an attacker could truncate an administrative telemetry upload to omit critical security alerts or system status events. In application protocols where the receiver assumes the completeness of a message based on parser completion, the truncated stream might be parsed as a shorter, valid message, leading to execution state mismatches or logic bypasses.

The vulnerability is assigned a CVSS v4.0 base score of 6.6, indicating medium severity. The attack vector is Network (AV:N), and the attack complexity is Low (AC:L). Although confidentiality is unaffected, the integrity impact is rated as High (VI:H) because the application layer has no cryptographically sound mechanism to detect data loss in vulnerable versions. This can cause applications to operate on incomplete and potentially misleading information.

Remediation & Mitigation

The primary remediation path is upgrading the io.netty.incubator:netty-incubator-codec-ohttp dependency to version 0.0.22.Final or later. This release introduces the finalChunk check within the OHTTP frame parser, which successfully aborts processing with a CorruptedFrameException if truncation is detected.

In scenarios where immediate patching of the runtime binaries is not feasible, organizations should implement deep packet inspection or application-layer length validations where possible. If the application payload contains an internal length field or structured schema (such as JSON or Protobuf), the receiver should explicitly validate that the deserialized object matches the expected structure and length before execution.

Additionally, security teams should monitor application-level exception logs. The appearance of io.netty.handler.codec.CorruptedFrameException: OHTTP stream ended without a final chunk should be aggregated and alerted on, as it indicates either a misconfigured transport layer or an active attempt to truncate secure OHTTP message streams. System administrators should configure perimeter filters to drop connections from relays showing high rates of abrupt closures.

Fix Analysis (1)

Technical Appendix

CVSS Score
6.6/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U

Affected Systems

io.netty.incubator:netty-incubator-codec-ohttp

Affected Versions Detail

Product
Affected Versions
Fixed Version
netty-incubator-codec-ohttp
Netty
< 0.0.22.Final0.0.22.Final
AttributeDetail
CWE IDCWE-325
Vulnerability TypeMissing Cryptographic Step
Attack VectorNetwork (AV:N)
CVSS v4.06.6 (Medium)
EPSS Score0.00167
Exploit StatusPoC / Test-Only
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1496Data Destruction / Manipulation
Impact
CWE-325
Missing Cryptographic Step

The application employs a process that should involve multiple cryptographic steps, but it omits one of those steps.

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

•1 day ago•CVE-2026-54068
5.9

CVE-2026-54068: Unauthenticated Server-Side Template Injection and SQLite Exfiltration in SiYuan PKM

An authentication bypass in the SiYuan personal knowledge management system before version 3.7.0 exposes a dynamic icon rendering endpoint. This endpoint processes client-supplied Go template directives. By submitting a crafted request, an unauthenticated remote attacker can leverage registered database template functions to execute arbitrary read-only SQL queries and exfiltrate workspace contents.

Amit Schendel
Amit Schendel
10 views•5 min read
•1 day ago•CVE-2026-54069
9.1

CVE-2026-54069: Authentication Bypass in SiYuan Note via Origin Header Spoofing

CVE-2026-54069 is a critical authentication bypass vulnerability in the SiYuan Note personal knowledge management system. The flaw is located in the HTTP server's middleware handling API authorization, which unconditionally trusts requests carrying a 'chrome-extension://' scheme in the Origin HTTP header, granting administrative access without validating API tokens.

Alon Barad
Alon Barad
8 views•5 min read
•1 day ago•CVE-2026-54089
9.1

CVE-2026-54089: Authentication Bypass by Spoofing in File Browser

CVE-2026-54089 is a critical authentication bypass vulnerability in File Browser affecting instances configured with proxy-based authentication. An unauthenticated remote attacker with direct network access can impersonate arbitrary users or register new accounts by spoofing configured HTTP headers.

Amit Schendel
Amit Schendel
6 views•7 min read
•1 day ago•GHSA-99J7-FHR2-XFJ4
10.0

GHSA-99J7-FHR2-XFJ4: Malicious Remote Code Execution Payload in 'exploration' Cargo Crate

The malicious Cargo package 'exploration' was uploaded to the crates.io registry. During compilation or package import, the crate executes code designed to establish an outbound TCP/HTTP connection, download an external second-stage binary, and execute the binary locally on the host machine. This creates an unauthenticated remote code execution vector impacting developer environments and continuous integration pipelines.

Amit Schendel
Amit Schendel
9 views•6 min read
•1 day ago•CVE-2026-54088
9.3

CVE-2026-54088: Pre-Authentication Remote Code Execution in File Browser Hook Authentication

CVE-2026-54088 is a critical command injection vulnerability in File Browser prior to version 2.63.6. When Hook Authentication is enabled, the application interpolates unsanitized credentials into a shell command, allowing unauthenticated remote code execution.

Alon Barad
Alon Barad
7 views•6 min read
•1 day ago•GHSA-QV4M-M73M-8HJ7
8.8

GHSA-qv4m-m73m-8hj7: Authenticated Arbitrary File Upload leading to Remote Code Execution in NotrinosERP

An authenticated remote code execution vulnerability exists in NotrinosERP (versions up to and including 1.0.0) within the Human Resource Management (HRM) module. Users with employee management permissions can upload arbitrary file types, including PHP scripts, which are written directly to a web-accessible directory. This allows for arbitrary code execution in the context of the web-server user.

Alon Barad
Alon Barad
7 views•6 min read