---
id: CVE-2026-85078
title: Sanic is an opensource python web server/framework
summary: >-
  Sanic is an opensource python web server/framework. In version 25.12.0,
  Sanic's core HTTP/1.1 chunked-body handling does not fully consume the
  trailer-part after the terminating zero chunk before reusing the keep-alive
  connection buffer.…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'
cwe:
  - CWE-444
vendor: sanic-org
product: sanic
affected:
  - sanic < 24.12.1
  - 'sanic >= 25.12.0, < 25.12.1'
patched:
  - sanic 24.12.1
  - sanic 25.12.1
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T20:18:48.810'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85078'
references:
  - url: >-
      https://github.com/sanic-org/sanic/commit/47349d689d65fa1907977ac100e867894aeafb22
    label: security-advisories@github.com
  - url: >-
      https://github.com/sanic-org/sanic/commit/69a10d3b06babaa9e5f6d1af577364e9e53b6dea
    label: security-advisories@github.com
  - url: >-
      https://github.com/sanic-org/sanic/commit/a332796506c7c588b6930b02a8886e43eb8ea8d6
    label: security-advisories@github.com
  - url: 'https://github.com/sanic-org/sanic/pull/3164'
    label: security-advisories@github.com
  - url: 'https://github.com/sanic-org/sanic/pull/3165'
    label: security-advisories@github.com
  - url: 'https://github.com/sanic-org/sanic/releases/tag/v24.12.1'
    label: security-advisories@github.com
  - url: 'https://github.com/sanic-org/sanic/releases/tag/v25.12.1'
    label: security-advisories@github.com
  - url: 'https://github.com/sanic-org/sanic/security/advisories/GHSA-wmj6-g64g-j7q5'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-wmj6-g64g-j7q5'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-85078.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-85078'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-85078'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85078'
  - url: 'https://github.com/sanic-org/sanic'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536074'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - csaf
  - vex
  - red-hat
  - osv
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-17T17:06:16.358452Z'
aliases:
  - GHSA-wmj6-g64g-j7q5
ecosystem: pip
scores:
  nvd: 6.5
  vendor: 8.2
  osv: 6.5
ingestedAt: '2026-09-17T15:20:39.000Z'
epss: 0.00511
epssPercentile: 0.41072
---

## Overview

Sanic is an opensource python web server/framework. In version 25.12.0, Sanic's core HTTP/1.1 chunked-body handling does not fully consume the trailer-part after the terminating zero chunk before reusing the keep-alive connection buffer. A remote unauthenticated client can place attacker-controlled bytes in that trailer region, causing Sanic to parse and route them as a hidden second request after the outer request. This breaks HTTP request-boundary integrity and can provide a request-smuggling primitive when Sanic is deployed behind intermediaries. This issue is fixed in version 25.12.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-85078)

Affected packages:

- `sanic < 24.12.1`
- `sanic >= 25.12.0, < 25.12.1`

Patched in:

- `sanic 24.12.1`
- `sanic 25.12.1`

Source: https://github.com/advisories/GHSA-wmj6-g64g-j7q5

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-85078.json)
