CVE-2026-9323
Patch priority
RegularFix with the next regular update.
- CVSS
- 8.1
- Severity
- 8.1
- EPSS
- 0.4 %
- Percentile
- 40
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
The affected product is not specified yet – the description below usually names it.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDThe 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
- Published
- 18.07.2026
- Modified
- 20.11.2026
- CWE
- CWE-338
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
16- Red Hat: RHSA-2026:104682 – RHSA-2026:104682 python3-urwid security update 30.11.2026 · HIGH · Patch day
- Red Hat: RHSA-2026:104683 – RHSA-2026:104683 python3-urwid security update 30.11.2026 · HIGH · Patch day
- Ubuntu: USN-8751-2 – Urwid vulnerability 17.11.2026 · HIGH · Patch day
- Ubuntu: USN-8751-1 – Urwid vulnerabilities 14.09.2026 · HIGH · Patch day
- Red Hat: RHSA-2026:60353 – RHSA-2026:60353 python3-urwid security update 26.08.2026 · Patch day
- Red Hat: RHSA-2026:59198 – RHSA-2026:59198 python-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58952 – RHSA-2026:58952 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58955 – RHSA-2026:58955 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58953 – RHSA-2026:58953 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58954 – RHSA-2026:58954 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58561 – RHSA-2026:58561 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58562 – RHSA-2026:58562 python3-urwid security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:57637 – RHSA-2026:57637 python3-urwid security update 20.08.2026 · Patch day
- Red Hat: RHSA-2026:57638 – RHSA-2026:57638 python-urwid security update 20.08.2026 · Patch day
- SUSE: SUSE-SU-2026:3460-1 – Security update for python-urwid 03.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3425-1 – Security update for python-urwid 30.07.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.