CVE & CISA-KEV Catalog

CVE-2026-9323

HIGH
8.1
CVSS v3
NVD

Description

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

How to fix

Remediation Available
python-urwidRed Hat / RHEL
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:1.3.1-5.el8_10RHSA-2026:58562
Fixed in:0:1.3.1-4.el8_6.1RHSA-2026:59198
Fixed in:0:1.3.1-4.el8_8.1RHSA-2026:57637
Fixed in:0:1.3.1-4.el8_4.1RHSA-2026:57638
Fixed in:0:2.1.2-4.el9_2.1RHSA-2026:58954
Fixed in:0:2.1.2-4.el9_4.1RHSA-2026:58953
python-urwidRocky
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:1.3.1-5.el8_10RHSA-2026:58562
Fixed in:0:1.3.1-4.el8_8.1RHSA-2026:57637
Fixed in:0:1.3.1-4.el8_6.1RHSA-2026:59198
Fixed in:0:1.3.1-4.el8_4.1RHSA-2026:57638
Fixed in:0:2.1.2-4.el9_6.1RHSA-2026:58955
Fixed in:0:2.1.2-4.el9_2.1RHSA-2026:58954
python-urwid-debugsourceRed Hat / RHEL
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
python-urwid-debugsourceRocky
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
python3-urwidRed Hat / RHEL
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
python3-urwidRocky
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
python3-urwid-debuginfoRocky
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
python3-urwid-debuginfoRed Hat / RHEL
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_2.5RHSA-2026:58561
Fixed in:0:2.5.3-4.el10_0.5RHSA-2026:60353

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.42%probability of exploitation in 30 days
35thpercentile

Low risk: more likely to be exploited than 35% of all known CVEs.

References

Related Vulnerabilities

Other CWE-338 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2008-0166High7.571%-Fix
CVE-2009-2367Critical9.823%--
CVE-2024-29868Critical9.16.0%--
CVE-2024-31497Medium5.95.8%-Fix
CVE-2021-43799High8.65.4%-Fix
CVE-2008-3280Medium5.94.0%--

Common questions

How do I fix CVE-2026-9323?

Published advisories record a fix for 8 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-9323 being actively exploited?

Not that we know of. CVE-2026-9323 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.42% is the estimated probability that it will be exploited in the next 30 days. That is higher than 35% of all scored CVEs.

How severe is CVE-2026-9323?

CVE-2026-9323 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-9323 affect?

Published advisories record a fix for python-urwid (Red Hat / RHEL), python-urwid (Rocky), python-urwid-debugsource (Red Hat / RHEL), python-urwid-debugsource (Rocky), and 4 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-9323
CVE-2026-9323 severity badge

Markdown

[![CVE-2026-9323](https://tridentstack.com/cve/badge/CVE-2026-9323.svg)](https://tridentstack.com/cve/CVE-2026-9323)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-9323"><img src="https://tridentstack.com/cve/badge/CVE-2026-9323.svg" alt="CVE-2026-9323"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-23.