{"answers":{"affected":"4 open source packages ship an affected version, including protobufjs-cli. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-44295 in the wild and no public exploit code.","fix":"Upgrade protobufjs-cli to a fixed version for your release line: 1.2.1 or 2.0.2.","what":"CVE-2026-44295 is a high-severity code injection vulnerability in protobufjs protobuf.js, published on 13 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-44295 and fix it if it is affected.\n\nWhat it is: CVE-2026-44295 is a high-severity code injection vulnerability in protobufjs protobuf.js, published on 13 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-44295 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- protobufjs-cli (npm): affected all versions; fixed in 1.2.1\n- protobufjs-cli (npm): affected all versions; fixed in 1.2.1\n- protobufjs-cli (npm): affected from 2.0.0; fixed in 2.0.2\n- protobufjs-cli (npm): affected from 2.0.0; fixed in 2.0.2\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-44295/ (Markdown: https://insights.sbomify.com/CVE-2026-44295/index.md)","id":"CVE-2026-44295","markdown":"https://insights.sbomify.com/CVE-2026-44295/index.md","name":"CVE-2026-44295","record":{"aliases":["CLEANSTART-2026-XA34946","GHSA-6r35-46g8-jcw9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"protobufjs CLI tool","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code by providing crafted schema names to the protobufjs CLI static code generator.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"protobufjs-cli","vendor":"protobufjs_project"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.","ecosystems":["npm"],"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":"protobufjs-cli: Code injection in pbjs static output from crafted schema names","id":"CVE-2026-44295","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Deskflow: TLS multiplexer DoS on failed `SSL_accept`","id":"CVE-2026-44296"},"packages":[{"ecosystem":"npm","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"protobufjs-cli","purl":null,"source":"GHSA-6r35-46g8-jcw9"},{"ecosystem":"npm","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"protobufjs-cli","purl":"pkg:npm/protobufjs-cli","source":"GHSA-6r35-46g8-jcw9"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"protobufjs-cli","purl":null,"source":"GHSA-6r35-46g8-jcw9"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"protobufjs-cli","purl":"pkg:npm/protobufjs-cli","source":"GHSA-6r35-46g8-jcw9"}],"prev":{"headline":"protobufjs: Denial of service from crafted field names in generated code","id":"CVE-2026-44294"},"products":["protobuf.js"],"published":"2026-05-13","related":[{"cvss_score":8.2,"headline":"protobufjs-cli: Code injection in pbjs static output from crafted JSON descriptor names","id":"CVE-2026-54271","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.8,"headline":"protobufjs-cli: OS Command Injection","id":"CVE-2026-42290","kev_date_added":null,"published":"2026-05-13"}],"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":"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["protobufjs"]},"summary":"Attackers can execute arbitrary code by providing crafted schema names to the protobufjs CLI static code generator.","url":"https://insights.sbomify.com/CVE-2026-44295/"}