High [CVE-2026-9323] Predictable session IDs lead to remote code execution and information disclosure
This high-severity Red Hat Linux advisory covers CVE-2026-9323 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
- python-urwid-0:2.5.3-4.el10_2.5
- python-urwid-0:2.5.3-4.el10_0.5
- python-urwid-0:1.3.1-5.el8_10
- python-urwid-0:1.3.1-4.el8_4.1
- python-urwid-0:1.3.1-4.el8_6.1
- python-urwid-0:1.3.1-4.el8_8.1
- python-urwid-0:2.1.2-4.el9_8.1
- python-urwid-0:2.1.2-4.el9_2.1
- python-urwid-0:2.1.2-4.el9_4.1
- python-urwid-0:2.1.2-4.el9_6.1
- RHSA-2026:58561
- RHSA-2026:60353
- RHSA-2026:58562
- RHSA-2026:57638
- RHSA-2026:59198
- RHSA-2026:57637
- RHSA-2026:58952
- RHSA-2026:58954
- RHSA-2026:58953
- RHSA-2026:58955
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
Mitigation checklist
- To mitigate this vulnerability, it is recommended to disable the urwid web display backend if its functionality is not essential for your environment. If the urwid web display backend must remain active, restrict network access to the service to trusted clients only by implementing appropriate firewall rules. This will limit the exposure to remote attackers attempting to reconstruct session IDs. Additionally, ensure that local system configurations prevent unauthorized access to temporary files, which could otherwise allow local users to enumerate active session tokens. Any changes to service configurations may require a service restart to take effect.
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.