Skip to main content

Urwid

2 CVEs product

Monthly

CVE-2026-9323 Jul 18, 13:51 CRITICAL PATCH Act Now

Session hijacking and keystroke injection in the urwid Python library's web display backend (urwid/display/web.py) let attackers take over active web terminal sessions and reach OS-level code execution with the session owner's privileges. The urwid_id session token is generated with Python's non-cryptographic Mersenne Twister PRNG, so a remote attacker who observes roughly 334 session IDs (e.g. via the X-Urwid-ID response header) can reconstruct PRNG state and predict every past and future token, while any local user can read the same token from world-listable FIFO filenames in /tmp. No public exploit has been identified at time of analysis; the issue was reported by VulnCheck and carries a 9.2 (CVSS 4.0) severity.

RCE Python Urwid
NVD GitHub VulDB
CVSS 4.0
9.2
EPSS
0.4%
CVE-2026-103022 Nov 06, 21:33 PyPI MEDIUM POC PATCH GHSA This Month

Urwid's optional web display interface crashes on malformed input: an attacker holding a valid X-Urwid-ID session token can POST non-ASCII bytes (any byte above 0x7F) to the CGI endpoint, raising an unhandled UnicodeEncodeError that returns HTTP 500 and, in the same code path, leaks an open file descriptor for the life of the CGI process. A parallel defect causes an unhandled UnicodeDecodeError when the polling update socket emits non-UTF-8 data. Repeated requests therefore deny service only to deployments of the urwid web display; terminal-only usage is unaffected, no public exploit code was identified at time of analysis, and the advisory rates it an availability-only issue (CVSS 5.3) rather than a high-priority emergency.

Denial Of Service Python Urwid
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.5%
EPSS 0% CVSS 9.2
CRITICAL PATCH Act Now

Session hijacking and keystroke injection in the urwid Python library's web display backend (urwid/display/web.py) let attackers take over active web terminal sessions and reach OS-level code execution with the session owner's privileges. The urwid_id session token is generated with Python's non-cryptographic Mersenne Twister PRNG, so a remote attacker who observes roughly 334 session IDs (e.g. via the X-Urwid-ID response header) can reconstruct PRNG state and predict every past and future token, while any local user can read the same token from world-listable FIFO filenames in /tmp. No public exploit has been identified at time of analysis; the issue was reported by VulnCheck and carries a 9.2 (CVSS 4.0) severity.

RCE Python Urwid
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM POC PATCH This Month

Urwid's optional web display interface crashes on malformed input: an attacker holding a valid X-Urwid-ID session token can POST non-ASCII bytes (any byte above 0x7F) to the CGI endpoint, raising an unhandled UnicodeEncodeError that returns HTTP 500 and, in the same code path, leaks an open file descriptor for the life of the CGI process. A parallel defect causes an unhandled UnicodeDecodeError when the polling update socket emits non-UTF-8 data. Repeated requests therefore deny service only to deployments of the urwid web display; terminal-only usage is unaffected, no public exploit code was identified at time of analysis, and the advisory rates it an availability-only issue (CVSS 5.3) rather than a high-priority emergency.

Denial Of Service Python Urwid
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy