Live threats

All CVEs / Ultrajson Project

CVE-2026-54911Ultrajson Project Ultrajson

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Jun 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.13.0, ujson.dumps() (or ujson.dump() or ujson.encode()) have a reject_bytes=False option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues. This vulnerability is fixed in 5.13.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ultrajson.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ujson < 5.13.0 5.13.0 pip install "ujson>=5.13.0"
PyPI ujson < 5.13.0 5.13.0 pip install "ujson>=5.13.0"

Per OSV / GitHub Advisories (GHSA-3j69-69wj-xqx2, PYSEC-2026-2294). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ultrajson_projectultrajson< 5.13.0

Official sources

References

Links published by the sources. Open them with care.