Advisory record · GHSA-f5p7-9fr5-8jmj

Granian vulnerable to DoS via WSGI response header panic

CVSS 5.9 MediumEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 6 May 2026, 21:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
granianPyPI>=0.2.0, <2.7.42.7.4
Identifiers
GHSA-f5p7-9fr5-8jmj · CVE-2026-42545 · PYSEC-2026-2502
Weakness (CWE)
CWE-248 · CWE-755
Published
6 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Granian versions 0.2.0 up to but not including 2.7.4 can abort a worker process when a WSGI application returns an invalid response header name or value, such as one containing a space, a carriage return and line feed, or a null byte. The attacker must be able to influence headers produced by the WSGI application, or the application must have a bug that generates them; the crash then causes a denial of service for that worker. Upgrade to Granian 2.7.4 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.