{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-108551 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-108551 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-108551 is a critical code injection vulnerability in ferdikoomen openapi-typescript-codegen, published on 10 Oct 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-108551 and fix it if it is affected.\n\nWhat it is: CVE-2026-108551 is a critical code injection vulnerability in ferdikoomen openapi-typescript-codegen, published on 10 Oct 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-108551 in the wild and no public exploit code.\n\nAffected product: ferdikoomen openapi-typescript-codegen. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-108551/ (Markdown: https://insights.sbomify.com/CVE-2026-108551/index.md)","id":"CVE-2026-108551","markdown":"https://insights.sbomify.com/CVE-2026-108551/index.md","name":"CVE-2026-108551","record":{"aliases":["GHSA-3pr5-x7xf-mg4g"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenAPI code generator","requires_auth":"none","summary":"Attackers can inject JavaScript into generated TypeScript clients via malicious OpenAPI documents, leading to arbitrary code execution when the code is used.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a single quote in path keys, parameter names, servers[0].url, or info.version to execute arbitrary JavaScript when generated clients are imported or service methods called.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-23","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-23T13:32:59Z","kind":"github_poc","ref":"https://github.com/Zombie-Kaiser/CVE-2026-108551-POC","stars":1,"title":"Defense guide + static scanner for CVE-2026-108551 (openapi-typescript-codegen code injection)."}],"tier":"poc_unverified"},"has_fix":false,"headline":"openapi-typescript-codegen through 0.31.0 Code Injection via Handlebars Templates","id":"CVE-2026-108551","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"OpenRefine through 3.10.1 CSRF to RCE via get-rows Command","id":"CVE-2026-108553"},"packages":[],"prev":{"headline":"SkillHub before 0.2.22 Account Takeover via Account Merge Flow","id":"CVE-2026-108550"},"products":["openapi-typescript-codegen"],"published":"2026-10-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["ferdikoomen"]},"summary":"Attackers can inject JavaScript into generated TypeScript clients via malicious OpenAPI documents, leading to arbitrary code execution when the code is used.","url":"https://insights.sbomify.com/CVE-2026-108551/"}