{"schemaVersion":3,"id":"CVE-2026-54271","aliases":["CGA-3v4q-62q5-rq4x","CGA-42cq-cf2x-qcc6","CGA-ch3j-4q48-xrpp","GHSA-pr59-h9ph-3fr8","CGA-6p4v-3f5r-h2r2","CGA-8q9r-6ww9-x3pv"],"status":"published","duplicateOf":null,"title":null,"description":"protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.3.2 and 2.5.0, a previous fix for unsafe name handling in pbjs static / static-module code generation was incomplete. Affected versions of protobufjs-cli could still emit unsafe JavaScript references when generating static output from crafted JSON descriptor input. The common case of parsing schemas from .proto files is not affected. This is a bypass of CVE-2026-44295. An attacker who can provide or influence pre-parsed JSON descriptors passed to pbjs static code generation may be able to cause generated JavaScript output to contain attacker-controlled code. The injected code may execute if the generated file is later executed or imported and an affected generated API path is invoked. This vulnerability is fixed in 1.3.2 and 2.5.0.","dates":{"published":"2026-06-22T16:16:05.062Z","modified":"2026-06-23T13:49:08.385Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00303,"percentile":0.21639,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00303},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00303,"percentile":0.21639}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00303,"percentile":0.21639}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"chainguard","product":"vitess-22","name":"vitess-22","label":"vitess-22","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-22","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-24","purlType":"apk","versions":[{"text":"< 24.0.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.1-r4","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-24-compat","name":"vitess-24-compat","label":"vitess-24-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-24-compat","purlType":"apk","versions":[{"text":"< 24.0.3-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.3-r7","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-24","purlType":"apk","versions":[{"text":"< 24.0.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.1-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-24-compat","name":"vitess-24-compat","label":"vitess-24-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-24-compat","purlType":"apk","versions":[{"text":"< 24.0.3-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.0.3-r7","eol":null,"hubHref":null},{"vendor":"Npm","product":"protobufjs-cli","name":"protobufjs-cli","label":"protobufjs-cli","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/protobufjs-cli","purlType":"npm","versions":[{"text":"< 1.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.2 | ≥ 2.0.0, < 2.5.0","eol":null,"hubHref":null},{"vendor":"protobufjs_project","product":"protobufjs-cli","name":"protobufjs-cli","label":"protobufjs-cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.2 | ≥ 2.0.0, < 2.5.0","eol":null,"hubHref":"/vendor/protobufjs_project/protobufjs-cli"},{"vendor":"protobufjs","product":"protobufjs-cli","name":"protobufjs-cli","label":"protobufjs-cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.2 | ≥ 2.0.0, < 2.4.2","eol":null,"hubHref":"/vendor/protobufjs/protobufjs-cli"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-pr59-h9ph-3fr8","label":"github.com/protobufjs/protobuf.js/security/advisories/GHSA-pr59-h9ph-3fr8","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Mitigation","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54271.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54271.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54271","label":"nvd.nist.gov/vuln/detail/CVE-2026-54271","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/protobufjs/protobuf.js","label":"github.com/protobufjs/protobuf.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-VHHH-3GGV-2X45"]},"timeline":[{"kind":"published","date":"2026-06-22T16:16:05.062Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-23T13:49:08.385Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:11:38.942Z","stale":false,"partial":false}}