{"answers":{"affected":"3 open source packages ship an affected version, including ujson. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-54911 in the wild and no public exploit code.","fix":"Upgrade ujson to 5.13.0 or later.","what":"CVE-2026-54911 is a medium-severity vulnerability in ultrajson, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54911 and fix it if it is affected.\n\nWhat it is: CVE-2026-54911 is a medium-severity vulnerability in ultrajson, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54911 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ujson (PyPI): affected all versions; fixed in 5.13.0\n- ujson (PyPI): affected all versions; fixed in 5.13.0\n- ujson (PyPI): affected all versions; fixed in 5.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54911/ (Markdown: https://insights.sbomify.com/CVE-2026-54911/index.md)","id":"CVE-2026-54911","markdown":"https://insights.sbomify.com/CVE-2026-54911/index.md","name":"CVE-2026-54911","record":{"aliases":["DEBIAN-CVE-2026-54911","ECHO-0346-5369-6592","GHSA-3j69-69wj-xqx2","MINI-89q8-3p3r-9gwc","PYSEC-2026-2294","ROOT-APP-PYPI-CVE-2026-54911","UBUNTU-CVE-2026-54911"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Python JSON library","requires_auth":"none","summary":"Attackers can bypass input validation and corrupt data integrity by exploiting silent UTF-8 rewriting in UltraJSON when reject_bytes is disabled.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ultrajson","vendor":"ultrajson_project"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"UltraJSON: Malformed/Truncated UTF-8 Accepted and Silently Rewritten in ujson.dumps()","id":"CVE-2026-54911","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Tautulli: Open redirect via whitespace bypass in /auth/redirect","id":"CVE-2026-54915"},"packages":[{"ecosystem":"PyPI","fixed":["5.13.0"],"introduced":["0"],"last_affected":[],"package":"ujson","purl":null,"source":"GHSA-3j69-69wj-xqx2"},{"ecosystem":"PyPI","fixed":["5.13.0"],"introduced":["0"],"last_affected":[],"package":"ujson","purl":"pkg:pypi/ujson","source":"GHSA-3j69-69wj-xqx2"},{"ecosystem":"PyPI","fixed":["5.13.0"],"introduced":["0"],"last_affected":[],"package":"ujson","purl":"pkg:pypi/ujson","source":"PYSEC-2026-2294"}],"prev":{"headline":"FileBrowser Quantum's path traversal issue in subtitle handler allows any authenticated user to read arbitrary files","id":"CVE-2026-54910"},"products":["ultrajson"],"published":"2026-06-22","related":[{"cvss_score":8.7,"headline":"UltraJSON: Memory Leak in ujson.dump() on Write Failure","id":"CVE-2026-44660","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":7.5,"headline":"UltraJSON has a Memory Leak parsing large integers allows DoS","id":"CVE-2026-32874","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"UltraJSON has an integer overflow handling large indent leads to buffer overflow or infinite loop","id":"CVE-2026-32875","kev_date_added":null,"published":"2026-03-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["ultrajson"]},"summary":"Attackers can bypass input validation and corrupt data integrity by exploiting silent UTF-8 rewriting in UltraJSON when reject_bytes is disabled.","url":"https://insights.sbomify.com/CVE-2026-54911/"}