CVE-2026-103022: Urwid · handle_short_request() crashes on non-ASCII POST body (UnicodeEncodeError DoS)
Affects urlscanSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.1.0 when convenient.
Data as of 11 Nov 2026, 00:18 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 1.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade urlscan to 1.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewurlscanpkg:brew/urlscanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade urwid to version 4.0.7 or later, where this issue is fixed. No direct workaround exists other than disabling the urwid web display interface. Users should apply the official patch to prevent denial of service.
Description
The handle_short_request() function in urwid's web.py crashes with an unhandled UnicodeEncodeError when processing POST requests containing non-ASCII bytes, causing the CGI process to exit and return HTTP 500 errors. This also leads to a file descriptor leak. A similar unhandled UnicodeDecodeError exists in the polling update path. This vulnerability affects urwid versions up to 4.0.6 and can be exploited by an attacker who knows a valid session token to cause denial of service by sending malformed POST requests. The issue is fixed in version 4.0.7. No direct workaround exists other than disabling the urwid web interface.
References
- github.com/urwid/urwid/security/advisories/GHSA-cp25-j9x5-p5xm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-103022 (opens in a new tab)
- github.com/urwid/urwid/pull/1201 (opens in a new tab)
- github.com/urwid/urwid/commit/b79d9a96843a6f5950bb2bfab5d059bdc61c538b (opens in a new tab)
- github.com/urwid/urwid (opens in a new tab)
- github.com/urwid/urwid/releases/tag/4.0.7 (opens in a new tab)