CVE-2026-9323: urwid · PRNG
Affects urwidSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical · patch available : patch urwid as a priority.
Data as of 8 Nov 2026, 14:21 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-07-20.
- Patch
- Available
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jul 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 8 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| urwidurwid | Affected
| Fixed in– |
AI-suggested
A patch is available for this vulnerability and should be applied to mitigate the risk. Since the vulnerability arises from the use of a cryptographically weak PRNG for session ID generation and insecure session ID handling, upgrading to the fixed version is the recommended remediation. No vendor advisory content contradicts this; thus, patching is the primary mitigation.
Description
CVE-2026-9323 is a critical vulnerability in the urwid library where the web session identifiers are generated using Python's Mersenne Twister PRNG, which is not cryptographically secure. This weakness allows an attacker to reconstruct the internal PRNG state after observing approximately 334 session IDs, enabling prediction of past and future session IDs. Additionally, session IDs are used as filenames for FIFOs in a world-listable /tmp directory, allowing local users to enumerate active sessions. Exploitation can lead to reading the victim's terminal screen, injecting keystrokes to execute code with the victim's privileges, or crashing the session. A prior security warning was suppressed rather than addressed. A patch is available, and the vulnerability affects urwid version 0.
References
- github.com/urwid/urwid/security/advisories/GHSA-rjwp-g85x-gmjv (opens in a new tab)
- github.com/urwid/urwid (opens in a new tab)
- github.com/urwid/urwid/commit/24acd12f0d0598036d0d577f2ee63e4a27b4a3d9 (opens in a new tab)
- github.com/urwid/urwid/issues/1127 (opens in a new tab)
- github.com/urwid/urwid/pull/1128 (opens in a new tab)
- vulncheck.com/advisories/insecure-prng-and-information-exposure-in-urwid-web-display-backend (opens in a new tab)
- lists.debian.org/debian-lts-announce/2026/09/msg00015.html (opens in a new tab)