{"answers":{"affected":"2 open source packages ship an affected version, including smol-toml.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85730 exists.","fix":"Upgrade smol-toml to 1.7.1 or later.","what":"CVE-2026-85730 is a high-severity denial of service vulnerability in squirrelchat smol-toml, published on 4 Sep 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-85730 and fix it if it is affected.\n\nWhat it is: CVE-2026-85730 is a high-severity denial of service vulnerability in squirrelchat smol-toml, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85730 exists.\n\nAffected packages and fixed versions:\n- smol-toml (npm): affected all versions; fixed in 1.7.1\n- smol-toml (npm): affected all versions; fixed in 1.7.1\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-85730/ (Markdown: https://insights.sbomify.com/CVE-2026-85730/index.md)","id":"CVE-2026-85730","markdown":"https://insights.sbomify.com/CVE-2026-85730/index.md","name":"CVE-2026-85730","record":{"aliases":["CLEANSTART-2026-HU00504","CLSA-2026-1790597280","ECHO-f81a-70d3-16d3","GHSA-7w5x-hrqm-74c2","MINI-678v-8prr-4wmj","MINI-m3fc-m53c-vqqr","ROOT-APP-NPM-CVE-2026-85730"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"TOML parsing library","requires_auth":"none","summary":"An attacker can cause a denial of service by submitting malformed TOML data that triggers an infinite loop in the parser.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-606","name":"Unchecked Input for Loop Condition"}],"description":"smol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an infinite loop when a value inside an array or inline table is followed by a comment with no trailing newline. In src/util.ts, skipUntil() calls indexOfNewline(), receives -1 at the end of input, and resets the cursor to the beginning of the string instead of leaving the structure scan. The parser then hangs indefinitely and can consume a service's processing capacity when an application parses attacker-controlled TOML. This issue is fixed in version 1.7.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"smol-toml: Denial of Service via malformed TOML documents","id":"CVE-2026-85730","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)","id":"CVE-2026-85731"},"packages":[{"ecosystem":"npm","fixed":["1.7.1"],"introduced":["0"],"last_affected":[],"package":"smol-toml","purl":null,"source":"GHSA-7w5x-hrqm-74c2"},{"ecosystem":"npm","fixed":["1.7.1"],"introduced":["0"],"last_affected":[],"package":"smol-toml","purl":"pkg:npm/smol-toml","source":"GHSA-7w5x-hrqm-74c2"}],"prev":{"headline":"LightRAG: Plaintext Passwords Compared Without Constant-Time Function","id":"CVE-2026-85725"},"products":["smol-toml"],"published":"2026-09-04","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["squirrelchat"]},"summary":"An attacker can cause a denial of service by submitting malformed TOML data that triggers an infinite loop in the parser.","url":"https://insights.sbomify.com/CVE-2026-85730/"}