Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-85077 – HTTP Response Header Injection / Splitting (CRLF) – Sanic < 24.12.1 and 25.12.0

Be the first to know when new zero-days emerge:

Summary

CVE-2026-85077 is a high-severity HTTP response header/CRLF injection vulnerability in the Sanic Python web framework. Sanic’s HTTP/1.1 response pipeline fails to validate carriage-return (r) and line-feed (n) characters when serializing response headers, filename parameters in file responses, and cookie attributes such as path and domain. When an application reflects attacker-controlled input into any of these fields, an attacker can inject arbitrary headers into the HTTP response, enabling response splitting, session fixation via forged Set-Cookie headers, cache poisoning, or corruption of security headers.

Technical details

  • Root cause: Sanic does not sanitize or reject CR/LF characters when encoding HTTP response headers, file-response filename parameters, or cookie attribute values (path, domain) before writing them onto the wire.
  • Trigger conditions: An application built on the vulnerable Sanic version reflects untrusted, attacker-supplied data (e.g., query parameters, headers, or other user input) into a response header value, a downloaded file’s filename, or a cookie attribute, without the framework enforcing CRLF filtering.
  • Attack vector: Network-based, unauthenticated, low complexity, no user interaction required (CVSS AV:N/AC:L/PR:N/UI:N). A remote attacker sends a crafted request containing URL-encoded CRLF sequences (e.g., %0d%0a) in a parameter that the application echoes back into a response header.
  • Impact: Injection of arbitrary additional HTTP response headers (including forged Set-Cookie headers), leading to session fixation, HTTP response splitting, cache poisoning at intermediary caches/CDNs, and corruption or bypass of security-relevant response headers. The vulnerability affects integrity (I:H) with limited confidentiality impact (C:L) and no availability impact (A:N).

Affected software

  • Sanic (sanic-org/sanic), all versions prior to 24.12.1
  • Sanic version 25.12.0 specifically (prior to the 25.12.1 fix)

Severity

  • CVSS v3.1 Base Score: 8.2 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting)

Mitigation and recommended actions

  • Immediate: Upgrade Sanic to a patched release — 24.12.1 (for the 24.x line) or 25.12.1 (for the 25.x line), both of which sanitize CR/LF characters in response header encoding, file-response filenames, and cookie attributes.
  • If patching is not immediately possible:
    • Audit application code for any place where user-controlled input is written into response headers, file download filenames, or cookie path/domain attributes, and strip or reject r/n characters (including URL-encoded forms such as %0d/%0a) before use.
    • Deploy a web application firewall (WAF) or reverse proxy rule to block requests containing encoded CR/LF sequences targeting parameters known to be reflected in responses.
    • Review caching layers and CDNs sitting in front of affected deployments for cache-poisoning exposure until the framework is upgraded.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge