Skip to main content
CVE-2026-103022VulnerabilityPublished Updated

urwid/display/web.py performs unguarded character encoding · Prior to 4.0.7, handle_short_request()

Affects urwidSource GCVE Database

0
Compare
Authoritative record:CVE-2026-103022· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 4.0.7 : update urwid when convenient.

Data as of 17 Nov 2026, 06:50 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 4.0.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 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

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
  • =2.6.16-1
  • =3.0.4-1
  • =3.0.4-1ubuntu0.1~esm1
Fixed in–
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-1build1 – 2.1.2-2ubuntu0.1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.0.1-2build2 – 2.0.1-3ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSurwidpkg:deb/ubuntu/urwid?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =1.3.1-2ubuntu2
  • =2.0.1-2
  • =2.0.1-2ubuntu0.1~esm1
Fixed in–

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

AI-suggested

Upgrade Urwid to version 4.0.7 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Since this is a software defect fixed in a specific version, applying the official patch is the recommended remediation.

Description

Urwid versions prior to 4.0.7 contain a vulnerability in the handle_short_request() function in urwid/display/web.py. This function performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update socket output. An attacker with a valid X-Urwid-ID session token can submit crafted non-ASCII POST data or non-UTF-8 polling output to trigger UnicodeEncodeError or UnicodeDecodeError, causing the CGI handler to return an error and terminate request processing. Additionally, the POST exception path leaves an open file descriptor, which can lead to denial of service through resource exhaustion. This issue is fixed in version 4.0.7.

References

Community reviews

Loading reviews…