ProtobufjsApplication · Protobufjs Project

CVE-2026-44293

HIGH · 8.8 CVSS v3.1 Published 2026-05-13
Fix available
A fix is available. Upgrade to 7.5.6 / 8.0.2 or later.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

protobufjs generates JavaScript for toObject conversion functions. Prior to versions 7.5.6 and 8.0.2, a crafted protobuf descriptor with a non-string default value for a bytes field could inject attacker-controlled code into the generated conversion function, leading to arbitrary JavaScript execution.

MitigationUpgrade protobufjs to version 7.5.6 or 8.0.2 or later. If upgrading is not immediately feasible, validate and sanitize any protobuf descriptors from untrusted sources before processing.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ProtobufjsApplication
Affected:< 7.5.6>= 8.0.0, < 8.0.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check protobufjs installed version
    Run 'npm list protobufjs' or check package.json dependencies to find the installed version
    Affected if Version is less than 7.5.6, or >= 8.0.0 but less than 8.0.2
  2. Identify protobuf code generation usage
    Search codebase for calls to protobufjs load functions (load, loadSync) or usage of pbjs CLI tool that generate JavaScript from .proto files
    Affected if The codebase uses protobufjs to generate JavaScript from protobuf definitions (toObject conversion functions)
  3. Review source of protobuf descriptor files
    Identify all .proto files or protobuf descriptors loaded at runtime; check if they come from trusted sources or untrusted/remote sources
    Affected if Protobuf descriptors are loaded from untrusted or user-supplied sources rather than locally maintained, trusted definition files
  4. Inspect generated output for suspicious code
    Examine any recently generated .js files from protobuf compilation; look for unusual string concatenation or eval patterns in toObject conversion functions related to bytes fields with defaults
    Affected if Generated code contains unexpected JavaScript code injection in conversion functions, particularly involving bytes field default values

You are affected if protobufjs version is below 7.5.6 or between 8.0.0 and 8.0.1, AND you generate JavaScript code from protobuf definitions, especially from untrusted descriptor sources.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 7.5.6 / 8.0.2 or later
Fixed in 7.5.68.0.2
Interim mitigation

Upgrade protobufjs to version 7.5.6 or 8.0.2 or later. If upgrading is not immediately feasible, validate and sanitize any protobuf descriptors from untrusted sources before processing.

Recommended fix High confidence

protobufjs 7.5.6 or 8.0.2 (or later in respective major version branches)

  1. Identify the current version of protobufjs in your project by checking package.json or running npm list protobufjs
  2. Determine which major version branch you are on (7.x or 8.x)
  3. Upgrade to version 7.5.6 or higher if on the 7.x branch, or to version 8.0.2 or higher if on the 8.x branch
  4. Run npm update protobufjs or npm install [email protected] (or [email protected]) to apply the update
  5. Verify the upgrade was successful by running npm list protobufjs
  6. Rebuild and test your application to ensure the upgrade does not break existing functionality
Caveat Minimal risk - upgrading to patch/minor versions within the same major branch typically has low breaking change risk; however, test your application thoroughly

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Protobufjs Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-44293 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-44293 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data