Skip to main content
CVE-2026-9323VulnerabilityPublished Updated

The urwid web display backend (urwid/display/web.py) generates web session identifiers (urwid_id) in Screen.start() by

Affects urwidSource GCVE Database

0
Compare
Authoritative record:CVE-2026-9323· Critical 9.2

Not known to be exploited · CVSS 9.2 Critical · fixed in 2.0.1-2ubuntu0.1~esm1 : patch urwid as a priority.

Data as of 17 Nov 2026, 07:03 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.09.2
CNA (VulnCheck)CVSS 3.18.1
Patch
Available – fixed in 2.0.1-2ubuntu0.1~esm1, 2.0.1-3ubuntu0.1~esm1, 2.1.2-2ubuntu0.1 +1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10urwidpkg:deb/ubuntu/urwid?arch=source&distro=stonkingOther threatsAffected
  • =3.0.4-1
  • =3.0.4-1ubuntu0.26.10.1
Fixed in–
Ubuntu Pro 26.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <3.0.4-1ubuntu0.1~esm1
Fixed in
  • 3.0.4-1ubuntu0.1~esm1
Ubuntu 24.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=nobleOther threatsAffected
  • 2.1.2-4.2 – 2.6.10-1ubuntu0.1
9 affected builds
Fixed in–
Ubuntu 22.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=jammyOther threatsAffected
  • <2.1.2-2ubuntu0.1
Fixed in
  • 2.1.2-2ubuntu0.1
Ubuntu Pro 20.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.0.1-3ubuntu0.1~esm1
Fixed in
  • 2.0.1-3ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <2.0.1-2ubuntu0.1~esm1
Fixed in
  • 2.0.1-2ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied by updating to the fixed package versions listed in the Ubuntu advisory USN-8751-1. The vulnerability is corrected in urwid package versions 2.0.1-2ubuntu0.1~esm1, 2.0.1-3ubuntu0.1~esm1, 2.1.2-2ubuntu0.1, and 3.0.4-1ubuntu0.1~esm1. System administrators should perform standard system updates to obtain these fixes. No additional mitigation steps are indicated by the vendor advisory.

Description

The urwid Python library's web display backend generates session identifiers using Python's Mersenne Twister PRNG, which is not cryptographically secure. An attacker who observes approximately 334 session IDs can reconstruct the internal PRNG state and predict all past and future session IDs. Additionally, session IDs are used as filenames for FIFOs in a world-listable /tmp directory, allowing local users to enumerate active sessions. With a valid session ID, an attacker can read the victim's terminal screen, inject keystrokes to execute code with the victim's privileges, or disrupt the session. This vulnerability affects multiple urwid versions and has been assigned CVE-2026-9323 with a high severity score of 8.1. Fixes are available in updated package versions.

References

Community reviews

Loading reviews…