ALAS2-2026-3858
Active ImportantALAS2-2026-3858 (important): python-urwid
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2026-9323 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2026-3858.html |
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
Read full publisher description 1261 characters
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)
Solution
Run yum update python-urwid or yum update --advisory ALAS2-2026-3858 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1python-urwid
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- python-urwid-1.1.1-3.amzn2.0.3.aarch64
- python-urwid-debuginfo-1.1.1-3.amzn2.0.3.aarch64
-
2python-urwid
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- python-urwid-1.1.1-3.amzn2.0.3.i686
- python-urwid-debuginfo-1.1.1-3.amzn2.0.3.i686
-
3python-urwid
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-urwid-1.1.1-3.amzn2.0.3.src
-
4python-urwid
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- python-urwid-1.1.1-3.amzn2.0.3.x86_64
- python-urwid-debuginfo-1.1.1-3.amzn2.0.3.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2026-9323 https://access.redhat.com/security/cve/CVE-2026-9323
- CVE-2026-9323 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9323
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-3858.html | Unknown | c7244dd22fbdd78f24500f8b90b9a1b086a4f18ebb2b50ac33a8c2b58365230b | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3858.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3858.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |