GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

OESA-2026-3193 (CVE-2026-9323)

Vulnerability from osv_openeuler – Published: 2026-08-01 11:12 – Updated: 2026-08-06 11:12 – Source website
VLAI
Summary
python-urwid security update
Details

Urwid is a console user interface library for Python. It includes many features useful for text console application developers

Security Fix(es):

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)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-urwid-debuginfo-2.1.2-4.oe2203sp4.aarch64.rpm",
          "python-urwid-debugsource-2.1.2-4.oe2203sp4.aarch64.rpm",
          "python3-urwid-2.1.2-4.oe2203sp4.aarch64.rpm"
        ],
        "src": [
          "python-urwid-2.1.2-4.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "python-urwid-debuginfo-2.1.2-4.oe2203sp4.x86_64.rpm",
          "python-urwid-debugsource-2.1.2-4.oe2203sp4.x86_64.rpm",
          "python3-urwid-2.1.2-4.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "python-urwid",
        "purl": "pkg:rpm/openEuler/python-urwid\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-4.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp1.aarch64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp1.aarch64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp1.aarch64.rpm"
        ],
        "src": [
          "python-urwid-2.1.2-6.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp1.x86_64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp1.x86_64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "python-urwid",
        "purl": "pkg:rpm/openEuler/python-urwid\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-6.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp3.aarch64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp3.aarch64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp3.aarch64.rpm"
        ],
        "src": [
          "python-urwid-2.1.2-6.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp3.x86_64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp3.x86_64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "python-urwid",
        "purl": "pkg:rpm/openEuler/python-urwid\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-6.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp4.aarch64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp4.aarch64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp4.aarch64.rpm"
        ],
        "src": [
          "python-urwid-2.1.2-6.oe2403sp4.src.rpm"
        ],
        "x86_64": [
          "python-urwid-debuginfo-2.1.2-6.oe2403sp4.x86_64.rpm",
          "python-urwid-debugsource-2.1.2-6.oe2403sp4.x86_64.rpm",
          "python3-urwid-2.1.2-6.oe2403sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP4",
        "name": "python-urwid",
        "purl": "pkg:rpm/openEuler/python-urwid\u0026distro=openEuler-24.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-6.oe2403sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-urwid-debuginfo-2.1.2-3.oe2003sp4.aarch64.rpm",
          "python-urwid-debugsource-2.1.2-3.oe2003sp4.aarch64.rpm",
          "python3-urwid-2.1.2-3.oe2003sp4.aarch64.rpm"
        ],
        "src": [
          "python-urwid-2.1.2-3.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "python-urwid-debuginfo-2.1.2-3.oe2003sp4.x86_64.rpm",
          "python-urwid-debugsource-2.1.2-3.oe2003sp4.x86_64.rpm",
          "python3-urwid-2.1.2-3.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "python-urwid",
        "purl": "pkg:rpm/openEuler/python-urwid\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-3.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "Urwid is a console user interface library for Python. It includes many features useful for text console application developers\r\n\r\nSecurity Fix(es):\n\nThe 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\u0026apos;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\u0026apos;s terminal screen via the polling endpoint, inject keystrokes into the victim\u0026apos;s session (yielding OS-level code execution with the session owner\u0026apos;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)",
  "id": "OESA-2026-3193",
  "modified": "2026-08-06T11:12:04Z",
  "published": "2026-08-01T11:12:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3193"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9323"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "python-urwid security update",
  "upstream": [
    "CVE-2026-9323"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…