Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-103022
Published:November 06, 2026
Updated:November 09, 2026
Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update socket output. A remote attacker who obtains a valid X-Urwid-ID session token can submit non-ASCII POST data that raises UnicodeEncodeError, while non-UTF-8 polling output raises UnicodeDecodeError, causing the CGI handler to return an error and terminate request processing. The POST exception path also leaves an opened file descriptor unclosed for the CGI process lifetime, so repeated requests can cause denial of service for the web display interface. This issue is fixed in version 4.0.7.
Affected Packages
urwid (CONDA):
Affected version(s) >=3.0.0 <4.0.7 || =1.3.1 <4.0.7 || >=4.0.0 <4.0.7 || >=2.0.1 <4.0.7
Fix Suggestion:
Update to version 4.0.7
https://github.com/urwid/urwid.git (GITHUB):
Affected version(s) >=release-1.0.1 <4.0.7 || >=release-2.0.0 <4.0.7 || >=2.2.0 <4.0.7 || >=3.0.0 <4.0.7 || >=4.0.0 <4.0.7
Fix Suggestion:
Update to version 4.0.7
urwid (PYTHON):
Affected version(s) >=1.0.1 <4.0.7 || >=2.0.0 <4.0.7 || >=4.0.0 <4.0.7 || >=3.0.0 <4.0.7
Fix Suggestion:
Update to version 4.0.7
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Encoding or Escaping of Output
Uncaught Exception
Missing Release of File Descriptor or Handle after Effective Lifetime
EPSS
Base Score:
0.47