CVE-2026-41242
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.
- Score
- CVSS 3.1 9.8 Critical
- Status
- Modified - security-advisories@github.com
- Published
- 2026-04-18
- Last modified
- 2026-09-09
- Weaknesses
- CWE-94
Affected products
- Protobuf.js (Protobufjs)
- Protobufjs (Protobufjs Project)
- Ansible Automation Platform (Redhat)
- Ansible Portal (Redhat)
- Apicurio Registry (Redhat)
- Ceph Storage (Redhat)
- Cryostat (Redhat)
- Enterprise Linux (Redhat)
- Enterprise Linux Ai (Redhat)
- Hummingbird (Redhat)
- Openshift (Redhat)
- Openshift Ai (Redhat)
- Openshift Data Foundation (Redhat)
- Openshift Devspaces (Redhat)
- Openshift Pipelines (Redhat)
- Podman Desktop (Redhat)
- Rhdh (Redhat)
- Service Mesh (Redhat)
References
- https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
- https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg
- https://access.redhat.com/errata/RHSA-2026:21338
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:26234
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:62260
- https://access.redhat.com/security/cve/CVE-2026-41242
- https://bugzilla.redhat.com/show_bug.cgi?id=2459442
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json