CVE-2026-41242: protobufjs compiles protobuf definitions into JavaScript (JS) functions
CVE-2026-41242 is a critical-severity flaw (CVSS 9.8) affecting protobufjs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-04-18 |
| Last modified | 2026-09-09 |
Last updated 2026-09-09 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: 4chech/CVE-2026-41242 (0 stars)
- GitHub PoC: Giangdurian/CVE-2026-41242 (0 stars)
- Write-up: github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41242?
protobufjs: upgrade to 7.5.5. Exact commands for each OS are on this page.
Is CVE-2026-41242 being exploited?
CVE-2026-41242 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41242 affect?
CVE-2026-41242 affects protobufjs. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2026-41242?
Priority 61/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-48712 HIGH 7.5 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-54269 MEDIUM 5.3 UPGRADE UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-54270 MEDIUM 5.3 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-59877 MEDIUM 5.3 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-59876 MEDIUM 4.8 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions