CVE-2026-59313

Description

A flaw was found in the Spring MVC functional web framework. This vulnerability allows for stream corruption when applications use Server-Sent Events (SSE), a technology for pushing real-time updates from a server to a client. This could lead to unreliable data delivery and impact the integrity of information presented to users.

Statement

A flaw was found in the Spring Framework functional web framework's Server-Sent Events (SSE) implementation. When plain-text data that an attacker controls is sent through an SSE ServerResponse and contains a bare carriage return (\r), the text can break out of its data field and be interpreted by the browser as new SSE fields. This vulnerability affects applications using RouterFunction and ServerResponse.sse() to send streaming plain-text data. Applications using JSON-serialized events via HttpMessageConverter or annotated controllers with SseEmitter are not affected, as these implementations already escape carriage returns.

Red Hat ships vulnerable versions of Spring Framework in JBoss Fuse 7 (Extended Lifecycle Support), Red Hat OpenShift Dev Spaces, Red Hat build of Apache Camel for Quarkus (Hawtio), and Subscription Services components.

Mitigation

There is no mitigation available for this issue. Apply updates as they become available from Red Hat product teams. As a temporary workaround, ensure that Server-Sent Events use structured formats like JSON instead of plain text for all user-controlled data.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/A9.8
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactLowN/AHigh
Availability ImpactLowN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity,Confidentiality

Technical Impact: Gain Privileges or Assume Identity

If an attackers can spoof the endpoint, the attacker gains all the privileges that were intended for the original endpoint.

Frequently Asked Questions

Want to get errata notifications? Sign up here.