The urwid web display backend (urwid/display/web.py) generates web session identifiers (urwid_id) in Screen.start() by concatenating two random.randrange(10**9) calls that use Python's Mersenne Twister PRNG, which is not cryptographically secure. Each call consumes approximately 30 bits of PRNG state, and the Mersenne Twister internal state is approximately 19,937 bits, so an attacker who observes approximately 334 session IDs (for example via the X-Urwid-ID HTTP response header) can fully reconstruct the internal state and predict all past and future session IDs (Path B). The same identifier is also used as the filename of a FIFO created in the world-listable /tmp directory (for example /tmp/urwid375487765176907690.in), so any local user on the host can list /tmp to enumerate active session tokens directly (Path A). With a valid session ID, an attacker can read the victim's terminal screen via the polling endpoint, inject keystrokes into the victim's session (yielding OS-level code execution with the session owner's privileges if the session runs a shell), and inject exit sequences or flood the FIFO to terminate or crash the session. A prior Bandit S311 warning on this usage was suppressed with # noqa: S311 rather than fixed
CVE-2026-9323
Score 8.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-18. a secondary CVSS source baseline 8.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EG Risk
- 37(Track)EG Risk 37/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 35%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
July 23, 2026
Advisory Details (5)
Auto-updated Jul 18, 2026Insecure PRNG and Information Exposure in urwid Web Display Backend | Advisories | VulnCheck
https://www.vulncheck.com/advisories/insecure-prng-and-information-exposure-in-urwid-web-display-backendWeb display: use secure random session identifiers
Patch available: urwid/urwid 4.0.1 (PR #1128 merged 2026-04-28)
https://github.com/urwid/urwid/pull/1128Security Vulnerabilities Found · Issue #1127 · urwid/urwid · GitHub
https://github.com/urwid/urwid/issues/1127commit 24acd12f0d05 (urwid/urwid)
Patch available: urwid/urwid 4.0.2 (contains commit 24acd12f0d05)
https://github.com/urwid/urwid/commit/24acd12f0d0598036d0d577f2ee63e4a27b4a3d9GitHub - urwid/urwid: Console user interface library for Python (official repo) · GitHub
https://github.com/urwid/urwidVendor Advisories for CVE-2026-9323(11)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:60353Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:59198Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58952Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58955Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58953Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58954Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58561Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- RHSA-2026:58562Red Hat Product SecurityHigh
Red Hat Security Advisory: python-urwid security update
- +3 more
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | python-urwid-0:2.5.3-4.el10_0.5 | 2026-08-26 | redhat |
| redhat | python-urwid-0:2.1.2-4.el9_4.1 | 2026-08-24 | redhat |
| redhat | python-urwid-0:2.5.3-4.el10_2.5 | 2026-08-24 | redhat |
| redhat | python-urwid-0:1.3.1-4.el8_6.1 | 2026-08-24 | redhat |
| redhat | python-urwid-0:1.3.1-5.el8_10 | 2026-08-24 | redhat |
| redhat | python-urwid-0:2.1.2-4.el9_8.1 | 2026-08-24 | redhat |
| redhat | python-urwid-0:2.1.2-4.el9_2.1 | 2026-08-24 | redhat |
| redhat | python-urwid-0:2.1.2-4.el9_6.1 | 2026-08-24 | redhat |
| redhat | python-urwid-0:1.3.1-4.el8_8.1 | 2026-08-20 | redhat |
| redhat | python-urwid-0:1.3.1-4.el8_4.1 | 2026-08-20 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| urwid | 2.1.2-1 ... 3.0.4-1 (17 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| urwid | 2.1.2-4 ... 3.0.4-1 (14 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| urwid | 2.6.16-1, 3.0.4-1 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| urwid | 2.6.16-1, 3.0.4-1 | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 100× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 182 total refreshes for this CVE.
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:38 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 23:58 UTCEG score recompute
- 2026-09-07 23:58 UTCVendor advisory
- 2026-09-07 23:58 UTCGHSA enrichment
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 13:19 UTCVendor advisory
- 2026-09-06 13:19 UTCGHSA enrichment
- 2026-09-05 20:24 UTCEG score recompute
- 2026-09-05 20:24 UTCVendor advisory
- 2026-09-05 20:24 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 05:00 UTCEG score recompute
- 2026-08-31 05:00 UTCVendor advisory
- 2026-08-31 05:00 UTCGHSA enrichment
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 16:05 UTCVendor advisory
- 2026-08-30 16:05 UTCGHSA enrichment
- 2026-08-30 03:10 UTCEG score recompute
Show 75 moreShow fewer
- 2026-08-30 03:10 UTCVendor advisory
- 2026-08-30 03:10 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:25 UTCEG score recompute
- 2026-08-27 21:25 UTCVendor advisory
- 2026-08-27 21:25 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 02:44 UTCEG score recompute
- 2026-08-27 02:44 UTCVendor advisory
- 2026-08-27 02:44 UTCGHSA enrichment
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 13:49 UTCVendor advisory
- 2026-08-26 13:49 UTCGHSA enrichment
- 2026-08-26 00:54 UTCEG score recompute
- 2026-08-26 00:54 UTCVendor advisory
- 2026-08-26 00:54 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 11:08 UTCVendor advisory
- 2026-08-25 11:08 UTCGHSA enrichment
- 2026-08-24 22:11 UTCEG score recompute
- 2026-08-24 22:11 UTCVendor advisory
- 2026-08-24 22:11 UTCGHSA enrichment
- 2026-08-24 14:18 UTCEPSS rescore
- 2026-08-24 09:14 UTCVendor advisory
- 2026-08-24 09:14 UTCGHSA enrichment
- 2026-08-23 20:19 UTCVendor advisory
- 2026-08-23 20:19 UTCGHSA enrichment
- 2026-08-23 07:24 UTCEG score recompute
- 2026-08-23 07:24 UTCVendor advisory
- 2026-08-23 07:24 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 18:28 UTCVendor advisory
- 2026-08-22 18:28 UTCGHSA enrichment
- 2026-08-22 05:32 UTCEG score recompute
- 2026-08-22 05:32 UTCVendor advisory
- 2026-08-22 05:32 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 16:37 UTCVendor advisory
- 2026-08-21 16:37 UTCGHSA enrichment
- 2026-08-21 03:31 UTCEG score recompute
- 2026-08-21 03:31 UTCVendor advisory
- 2026-08-21 03:31 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 14:36 UTCGHSA enrichment
- 2026-08-20 01:11 UTCEG score recompute
- 2026-08-20 01:11 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 12:15 UTCGHSA enrichment
- 2026-08-18 23:10 UTCEG score recompute
- 2026-08-18 23:10 UTCGHSA enrichment
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 10:15 UTCGHSA enrichment
- 2026-08-17 21:12 UTCEG score recompute
- 2026-08-17 21:12 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 06:49 UTCGHSA enrichment
- 2026-08-16 17:55 UTCEG score recompute
- 2026-08-16 17:55 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 05:00 UTCEG score recompute
- 2026-08-16 05:00 UTCGHSA enrichment
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 16:05 UTCGHSA enrichment
- 2026-08-15 03:10 UTCEG score recompute
- 2026-08-15 03:10 UTCGHSA enrichment
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-14 14:15 UTCGHSA enrichment
- 2026-08-14 01:20 UTCEG score recompute
- 2026-08-14 01:20 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 12:25 UTCGHSA enrichment
- 2026-08-12 23:30 UTCEG score recompute
- 2026-08-12 23:30 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-9323?
When was CVE-2026-9323 disclosed?
Is CVE-2026-9323 actively exploited?
What is the CVSS score of CVE-2026-9323?
How do I remediate CVE-2026-9323?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-9323
Is Your Infrastructure Affected by CVE-2026-9323?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.