{"answers":{"affected":"4 open source packages ship an affected version, including Scriban and Scriban.Signed.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-74785 exists.","fix":"Upgrade Scriban to 7.0.0 or later.","what":"CVE-2026-74785 is a high-severity denial of service vulnerability in scriban, published on 16 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-74785 and fix it if it is affected.\n\nWhat it is: CVE-2026-74785 is a high-severity denial of service vulnerability in scriban, published on 16 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-74785 exists.\n\nAffected packages and fixed versions:\n- Scriban (NuGet): affected all versions; fixed in 7.0.0\n- Scriban (NuGet): affected all versions; fixed in 7.0.0\n- Scriban.Signed (NuGet): affected all versions; fixed in 7.0.0\n- Scriban.Signed (NuGet): affected all versions; fixed in 7.0.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-74785/ (Markdown: https://insights.sbomify.com/CVE-2026-74785/index.md)","id":"CVE-2026-74785","markdown":"https://insights.sbomify.com/CVE-2026-74785/index.md","name":"CVE-2026-74785","record":{"aliases":["GHSA-q5qx-vc88-69hw","GHSA-xw6w-9jjh-p9cr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Scriban template engine","requires_auth":"low_privilege","summary":"Attackers supplying templates can cause out-of-memory or CPU exhaustion in Scriban, terminating the host process.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Scriban before 7.0.0 contains three distinct denial-of-service vulnerabilities in expression evaluation that bypass existing safety controls through unbounded string multiplication, uncontrolled BigInteger shift operations, and LoopLimit bypass via range enumeration in builtin functions. Attackers who can supply templates can cause out-of-memory exceptions or CPU exhaustion, typically terminating the entire host process.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Scriban before 7.0.0 Denial of Service via Unbounded Resource Consumption","id":"CVE-2026-74785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"Scriban before 7.0.0 Denial of Service via Unbounded Template Output","id":"CVE-2026-74786"},"packages":[{"ecosystem":"NuGet","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"Scriban","purl":null,"source":"GHSA-xw6w-9jjh-p9cr"},{"ecosystem":"NuGet","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"Scriban","purl":"pkg:nuget/Scriban","source":"GHSA-xw6w-9jjh-p9cr"},{"ecosystem":"NuGet","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"Scriban.Signed","purl":null,"source":"GHSA-xw6w-9jjh-p9cr"},{"ecosystem":"NuGet","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"Scriban.Signed","purl":"pkg:nuget/Scriban.Signed","source":"GHSA-xw6w-9jjh-p9cr"}],"prev":{"headline":"Scriban before 7.2.0 Denial of Service via array.insert_at","id":"CVE-2026-74784"},"products":["scriban"],"published":"2026-08-16","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-08-17","vendors":["scriban"]},"summary":"Attackers supplying templates can cause out-of-memory or CPU exhaustion in Scriban, terminating the host process.","url":"https://insights.sbomify.com/CVE-2026-74785/"}