CVE-2026-41242
protobufjs compiles protobuf definitions into JavaScript (JS) …
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, 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 and 7.5.5 patch the issue.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
- github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
- github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5
- github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1
- github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg
- github.com/advisories/GHSA-xq3m-2v4x-88gg
- nvd.nist.gov/vuln/detail/CVE-2026-41242
- access.redhat.com/errata/RHSA-2026:21338
- nvd.nist.gov/vuln/detail/CVE-2026-41242
- cve.org/CVERecord?id=CVE-2026-41242
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.