CVE-2026-54911Ultrajson Project Ultrajson
Medium 6.5 No auth needed
Follow: this CVE · Ultrajson Project · Ultrajson Project Ultrajson We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ultrajson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| ultrajson_project | ultrajson | < 5.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Patch Vendor Advisory