Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-49768

CRITICAL 9.1EPSS 40%

Waitress has request processing race condition in HTTP pipelining with invalid first request

Also known as GHSA-9298-4cf8-g4wj, PYSEC-2024-210

Mitigation

  • Upgrade waitress to 3.0.1 or later.

Who should check

  • Projects that depend on PyPI package waitress (>= 2.0.0, < 3.0.1)
  • Anyone running Pylons waitress >= 2.0.0, < 3.0.1

Vulnerability facts

Affected
waitress >= 2.0.0, < 3.0.1
Fixed in
3.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.56% chance of exploitation in 30 days (percentile 40, 2026-11-26)
CWE
CWE-367, CWE-444
Published
Modified

Description

Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recv_bytes (defaults to 8192) long, followed by a secondary request using HTTP pipelining. When request lookahead is disabled (default) we won't read any more requests, and when the first request fails due to a parsing error, we simply close the connection. However when request lookahead is enabled, it is possible to process and receive the first request, start sending the error message back to the client while we read the next request and queue it. This will allow the secondary request to be serviced by the worker thread while the connection should be closed. Waitress 3.0.1 fixes the race condition. As a workaround, disable channel_request_lookahead, this is set to 0 by default disabling this feature.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI waitress>= 2.0.0, < 3.0.13.0.1osv
Pylons waitress>= 2.0.0, < 3.0.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-49768. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49768.md
Affected: waitress >= 2.0.0, < 3.0.1
Fixed in: 3.0.1

Steps:
1. Search this machine and project for waitress (PyPI), Pylons waitress: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-49768 being exploited?

There is no confirmed exploitation: CVE-2024-49768 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-49768?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2024-49768?

waitress >= 2.0.0, < 3.0.1.

Is there a fix for CVE-2024-49768?

Yes. Fixed in 3.0.1. Upgrade waitress to 3.0.1 or later.

How do I check if I'm affected by CVE-2024-49768?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors