CVE-2024-49768
CVE-2024-49768 is a critical-severity vulnerability in Agendaless Waitress with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-367.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 0% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0187
- Weakness: CWE-367
- Affected product: Agendaless Waitress
- Published:
- Last 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.
Frequently asked questions
- What is CVE-2024-49768?
- 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.
- How severe is CVE-2024-49768?
- CVE-2024-49768 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2024-49768 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-49768?
- CVE-2024-49768 affects Agendaless Waitress. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-49768?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-49768 have an EU (EUVD) identifier?
- Yes. CVE-2024-49768 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0187.
- When was CVE-2024-49768 published?
- CVE-2024-49768 was published on 2024-10-29 and last updated on 2026-06-17.
References
- https://github.com/Pylons/waitress/commit/e4359018537af376cf24bd13616d861e2fb76f65
- https://github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wj
Affected products (1)
- cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:*
More vulnerabilities in Agendaless Waitress
- CVE-2024-49769 — High (CVSS 7.5): Waitress is a Web Server Gateway Interface server for Python 2 and 3. When a remote client closes the connection before…
- CVE-2022-24761 — High (CVSS 7.5): Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior…
- CVE-2019-16792 — High (CVSS 7.1): Waitress through version 1.3.1 allows request smuggling by sending the Content-Length header twice. Waitress would…
- CVE-2019-16789 — High (CVSS 7.1): In Waitress through version 1.4.0, if a proxy server is used in front of waitress, an invalid request may be sent by an…
- CVE-2019-16786 — High (CVSS 7.1): Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string value, if…
- CVE-2019-16785 — High (CVSS 7.1): Waitress through version 1.3.1 implemented a "MAY" part of the RFC7230 which states: "Although the line terminator for…
All CVEs affecting Agendaless Waitress →
Other CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition) vulnerabilities
- CVE-2026-25641 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a…
- CVE-2025-64180 — Critical (CVSS 10.0): Manager-io/Manager is accounting software. In Manager Desktop and Server versions 25.11.1.3085 and below, a critical…
- CVE-2025-34027 — Critical (CVSS 10.0): The Versa Concerto SD-WAN orchestration platform is vulnerable to an authentication bypass in the Traefik reverse proxy…
- CVE-2026-25052 — Critical (CVSS 9.9): n8n is an open source workflow automation platform. Prior to versions 1.123.18 and 2.5.0, a vulnerability in the file…
- CVE-2025-13032 — Critical (CVSS 9.9): Double fetch in sandbox kernel driver in Avast/AVG Antivirus <25.3 on windows allows local attacker to escalate…
- CVE-2026-53838 — Critical (CVSS 9.8): OpenClaw before 2026.5.27 contains a state mutation vulnerability in node pairing reconnection that allows paired nodes…
Browse all CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition) vulnerabilities →