{"id":"CVE-2026-41242","published":"2026-04-18T16:18:10Z","modified":"2026-11-03T16:07:22Z","title":"protobufjs has an arbitrary code execution issue","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, attackers can inject arbitrary code in the \"type\" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1, 7.5.5, and 6.11.6 patch the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01396,"percentile":0.73114,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21338","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26234","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37275","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62260","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41242","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459442","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/tree/v6.11.6","tags":["x_refsource_MISC"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json","tags":["x_refsource_MISC"]}],"priority":{"score":26.2,"factors":[{"name":"EPSS percentile","points":14.62},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2026-04-26","earliestUrl":"https://github.com/4chech/CVE-2026-41242","repos":[{"name":"4chech/CVE-2026-41242","url":"https://github.com/4chech/CVE-2026-41242","stars":0,"created":"2026-04-26"}]},"first":{"date":"2026-04-26","source":"PoC-in-GitHub","url":"https://github.com/4chech/CVE-2026-41242"},"provenance":"source"},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">= 7.0.0, < 7.5.5",">= 8.0.0-experimental, < 8.0.1","< 6.11.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-20T16:03:39.054181Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":[">=8.0.0, <8.0.1",">=7.0.0, <7.5.5","<6.11.6"],"patched":["8.0.1","7.5.5","6.11.6"],"from":["GHSA-xq3m-2v4x-88gg"],"provenance":"source"}],"summary":{"text":"The flaw is in protobuf.js, the protobufjs library's compiler that turns protobuf definitions into JavaScript functions, where attacker-supplied code can be injected through the \"type\" fields of protobuf definitions and then executed during object decoding. An attacker who can get a malicious protobuf definition processed by the library can run arbitrary code, and this requires only low-privilege authentication over the network with no user interaction and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:48Z"},"euvd":{"id":"EUVD-2026-23678","exploited":false,"provenance":"source"}}