CVE-2026-97054: Go standard library net/http Race Condition

CVE-2026-97054

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.
Severity Level
MEDIUM(5.9)
Published Date
Nov 11, 2026
Last Modified
Nov 16, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.48%Probability
Root Weakness (CWE)
The product contains a concurrent code sequence that requires exclusive access to a shared resource, but a timing window exists in which another code sequence can modify the resource.
The product utilizes a shared resource in a concurrent manner but does not attempt to synchronize access to the resource.
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Go standard library net/http < 1.26.11
  • Go standard library net/http >= 1.27.0-0 and < 1.27.4
Patched Versions
  • Go standard library net/http 1.26.11
  • Go standard library net/http 1.27.4

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Go standard library net/http and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 11, 2026Published
  • Nov 16, 2026Record last modified
  • Nov 16, 2026CVSS score changed: 0.0 to 5.9
  • Nov 16, 2026Severity changed to MEDIUM

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Go standard library net/http CVEsYou are reading CVE-2026-97054. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 2, 2026 05:10 UTC