{"id":"GHSA-w7jw-789q-3m8p","revision":null,"records":[{"revision":"4890624064f046da89fa4a328a24ac93","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-9277","aliases":[],"title":"shell-quote `quote()` does not validate object-token shapes, allowing command injection via line terminators in `.op`","description":"shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line terminators (\\n, \\r, U+2028, U+2029). A line terminator in `.op` therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it would execute as a second command. The vulnerable code path is reachable in two ways: (1) direct construction of `{ op: '...\\n...' }` from external input, and (2) via `parse(cmd, envFn)` when `envFn` returns object tokens whose `.op` is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: `.op` must match the parser's control-operator allowlist; `{ op: 'glob', pattern }` validates `pattern` and forbids line terminators; `{ comment }` validates `comment` and forbids line terminators; any other object shape throws `TypeError`.","state":0,"publishedAt":"2026-05-22T13:22:38.873+00:00","modifiedAt":"2026-09-14T12:04:27.683+00:00","affected":[{"ecosystem":"https://www.npmjs.com/package/shell-quote","name":"shell-quote","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"shell-quote\",\n                    \"collectionURL\": \"https://www.npmjs.com/package/shell-quote\",\n                    \"packageName\": \"shell-quote\",\n                    \"repo\": \"https://github.com/ljharb/shell-quote\",\n                    \"programFiles\": [\n                        \"quote.js\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"1.1.0\",\n                            \"lessThan\": \"1.8.4\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"severity":"HIGH"},{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"severity":"CRITICAL"}],"references":["https://github.com/ljharb/shell-quote/security/advisories/GHSA-w7jw-789q-3m8p","https://github.com/ljharb/shell-quote/commit/1518179","https://github.com/ljharb/shell-quote","https://www.npmjs.com/package/shell-quote"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-9277","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-9277","identifiers":["CVE-2026-9277"]},"retained":false,"historicalAffected":[]},{"revision":"6202093ce9a44b20b5ff36b351db2a67","observedAt":"2026-11-13T19:08:19.25+00:00","statement":{"source":"euvd","id":"EUVD-2026-31440","aliases":["CVE-2026-9277","GHSA-w7jw-789q-3m8p"],"title":"shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line termina…","description":"shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line terminators (\\n, \\r, U+2028, U+2029). A line terminator in `.op` therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it would execute as a second command. The vulnerable code path is reachable in two ways: (1) direct construction of `{ op: '...\\n...' }` from external input, and (2) via `parse(cmd, envFn)` when `envFn` returns object tokens whose `.op` is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: `.op` must match the parser's control-operator allowlist; `{ op: 'glob', pattern }` validates `pattern` and forbids line terminators; `{ comment }` validates `comment` and forbids line terminators; any other object shape throws `TypeError`.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"severity":null}],"references":["https://github.com/ljharb/shell-quote/security/advisories/GHSA-w7jw-789q-3m8p","https://github.com/ljharb/shell-quote/commit/1518179","https://github.com/ljharb/shell-quote","https://www.npmjs.com/package/shell-quote"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-31440","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 22, 2026, 1:22:38 PM","dateUpdated":"Sep 14, 2026, 12:04:27 PM"},"relatedAdvisories":[{"id":"RHSA-2026:41928","title":"Red Hat Security Advisory: Red Hat Migration Toolkit for Containers","vulnerabilityIds":["CVE-2025-7783","CVE-2025-12816","CVE-2025-13465","CVE-2025-15284","CVE-2025-52881","CVE-2025-58183","CVE-2025-58754","CVE-2025-61726","CVE-2025-61729","CVE-2025-62718","CVE-2025-66031","CVE-2025-66418","CVE-2025-66471","CVE-2025-66506","CVE-2025-68121","CVE-2025-69223","CVE-2025-69227","CVE-2025-69228","CVE-2026-4800","CVE-2026-6322","CVE-2026-9277","CVE-2026-9595","CVE-2026-12143","CVE-2026-13149","CVE-2026-13676","CVE-2026-21441","CVE-2026-22029","CVE-2026-23490","CVE-2026-23745","CVE-2026-25679","CVE-2026-25681","CVE-2026-27136","CVE-2026-27137","CVE-2026-29063","CVE-2026-30922","CVE-2026-32280","CVE-2026-32281","CVE-2026-32283","CVE-2026-33186","CVE-2026-33810","CVE-2026-33811","CVE-2026-34986","CVE-2026-39820","CVE-2026-39821","CVE-2026-40895","CVE-2026-42264","CVE-2026-42338","CVE-2026-42499","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45736","CVE-2026-45822","CVE-2026-48779"]},{"id":"RHSA-2026:62410","title":"Red Hat Security Advisory: OpenShift Container Platform 4.14.73 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-33814","CVE-2026-54423"]},{"id":"openSUSE-SU-2026:10861-1","title":"python311-pytest-html-4.2.0-2.1 on GA media","vulnerabilityIds":["CVE-2026-9277"]},{"id":"RHSA-2026:28571","title":"Red Hat Security Advisory: Red Hat Quay 3.9.23","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-44432","CVE-2026-44496","CVE-2026-48526"]},{"id":"RHSA-2026:29197","title":"Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage","vulnerabilityIds":["CVE-2024-12086","CVE-2025-14087","CVE-2025-14512","CVE-2026-3832","CVE-2026-3833","CVE-2026-4046","CVE-2026-4437","CVE-2026-4438","CVE-2026-4878","CVE-2026-5260","CVE-2026-5419","CVE-2026-6322","CVE-2026-7383","CVE-2026-9076","CVE-2026-9277","CVE-2026-28390","CVE-2026-29518","CVE-2026-33845","CVE-2026-33846","CVE-2026-34180","CVE-2026-34181","CVE-2026-34182","CVE-2026-34183","CVE-2026-40355","CVE-2026-40356","CVE-2026-41035","CVE-2026-42009","CVE-2026-42010","CVE-2026-42011","CVE-2026-42012","CVE-2026-42013","CVE-2026-42014","CVE-2026-42015","CVE-2026-42764","CVE-2026-42766","CVE-2026-42767","CVE-2026-42768","CVE-2026-42769","CVE-2026-42770","CVE-2026-43618","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45186","CVE-2026-45445","CVE-2026-45446","CVE-2026-45447","CVE-2026-45736","CVE-2026-48779"]},{"id":"RHSA-2026:29834","title":"Red Hat Security Advisory: OpenShift Container Platform 4.21.22 bug fix and security update","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277"]},{"id":"RHSA-2026:48699","title":"Red Hat Security Advisory: OpenShift Container Platform 4.18.51 bug fix and security update","vulnerabilityIds":["CVE-2026-4800","CVE-2026-9277","CVE-2026-16242","CVE-2026-33186","CVE-2026-40895","CVE-2026-42154"]},{"id":"RHSA-2026:34342","title":"Red Hat Security Advisory: Cluster Observability Operator 1.5.0","vulnerabilityIds":["CVE-2020-7753","CVE-2021-33623","CVE-2024-4068","CVE-2024-45338","CVE-2024-52011","CVE-2025-22868","CVE-2025-22870","CVE-2025-22872","CVE-2025-47911","CVE-2025-58190","CVE-2026-1526","CVE-2026-1528","CVE-2026-2229","CVE-2026-4800","CVE-2026-4867","CVE-2026-6321","CVE-2026-6322","CVE-2026-6734","CVE-2026-9277","CVE-2026-9697","CVE-2026-12143","CVE-2026-12151","CVE-2026-25680","CVE-2026-25681","CVE-2026-29063","CVE-2026-32141","CVE-2026-33228","CVE-2026-33671","CVE-2026-33814","CVE-2026-33891","CVE-2026-33894","CVE-2026-33895","CVE-2026-33896","CVE-2026-33937","CVE-2026-33938","CVE-2026-33939","CVE-2026-33940","CVE-2026-33941","CVE-2026-39821","CVE-2026-42506","CVE-2026-48779"]},{"id":"RHSA-2026:26079","title":"Red Hat Security Advisory: Kiali 2.17.9 for Red Hat OpenShift Service Mesh 3.2","vulnerabilityIds":["CVE-2026-9277","CVE-2026-32281"]},{"id":"RHSA-2026:26090","title":"Red Hat Security Advisory: Kiali 2.22.5 for Red Hat OpenShift Service Mesh 3.3","vulnerabilityIds":["CVE-2026-9277","CVE-2026-32281","CVE-2026-44293"]},{"id":"RHSA-2026:62260","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.30.0 Release.","vulnerabilityIds":["CVE-2025-55163","CVE-2026-8286","CVE-2026-9277","CVE-2026-9547","CVE-2026-9563","CVE-2026-10050","CVE-2026-10051","CVE-2026-12143","CVE-2026-12151","CVE-2026-13149","CVE-2026-15075","CVE-2026-15076","CVE-2026-27136","CVE-2026-34986","CVE-2026-39820","CVE-2026-39831","CVE-2026-39835","CVE-2026-40898","CVE-2026-40983","CVE-2026-40984","CVE-2026-41242","CVE-2026-41695","CVE-2026-41716","CVE-2026-42264","CVE-2026-42499","CVE-2026-44705","CVE-2026-45149","CVE-2026-45416","CVE-2026-45623","CVE-2026-45674","CVE-2026-46597","CVE-2026-46681","CVE-2026-47691","CVE-2026-48020","CVE-2026-48068","CVE-2026-48491","CVE-2026-49978","CVE-2026-50010","CVE-2026-50193","CVE-2026-53488","CVE-2026-53492","CVE-2026-53622","CVE-2026-54399","CVE-2026-54428","CVE-2026-54512","CVE-2026-54513","CVE-2026-54763","CVE-2026-55831","CVE-2026-55833","CVE-2026-56745","CVE-2026-56746","CVE-2026-56819","CVE-2026-59296","CVE-2026-59869","CVE-2026-59873","CVE-2026-59874","CVE-2026-59877","CVE-2026-59888","CVE-2026-59899","CVE-2026-65600","CVE-2026-65601","CVE-2026-67213","CVE-2026-67214","CVE-2026-68494","CVE-2026-69152","CVE-2026-69153","CVE-2026-73086","CVE-2026-73566","CVE-2026-73646","CVE-2026-75838"]},{"id":"openSUSE-SU-2026:20919-1","title":"Security update for agama-web-ui","vulnerabilityIds":["CVE-2025-7339","CVE-2026-42041","CVE-2026-42264","CVE-2026-9277"]},{"id":"RHSA-2026:26077","title":"Red Hat Security Advisory: Kiali 2.11.12 for Red Hat OpenShift Service Mesh 3.1","vulnerabilityIds":["CVE-2026-9277","CVE-2026-32281"]},{"id":"RHSA-2026:70267","title":"Red Hat Security Advisory: Red Hat Quay 3.14.9","vulnerabilityIds":["CVE-2026-4427","CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-12143","CVE-2026-13149","CVE-2026-13676","CVE-2026-14257","CVE-2026-15792","CVE-2026-15927","CVE-2026-16221","CVE-2026-18255","CVE-2026-32591","CVE-2026-33747","CVE-2026-33748","CVE-2026-33818","CVE-2026-39820","CVE-2026-39821","CVE-2026-39822","CVE-2026-39828","CVE-2026-39829","CVE-2026-39830","CVE-2026-39831","CVE-2026-39832","CVE-2026-39835","CVE-2026-42151","CVE-2026-42154","CVE-2026-42499","CVE-2026-42504","CVE-2026-42508","CVE-2026-44432","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-44705","CVE-2026-44990","CVE-2026-46595","CVE-2026-46597","CVE-2026-48526","CVE-2026-49477","CVE-2026-54058","CVE-2026-54060","CVE-2026-55379","CVE-2026-55380","CVE-2026-56852","CVE-2026-56853","CVE-2026-56858","CVE-2026-56859","CVE-2026-56860","CVE-2026-56862","CVE-2026-57231","CVE-2026-59197","CVE-2026-59199","CVE-2026-59200","CVE-2026-59204","CVE-2026-59205","CVE-2026-59869","CVE-2026-59885","CVE-2026-59886","CVE-2026-67213","CVE-2026-67214","CVE-2026-67313","CVE-2026-67314","CVE-2026-67320","CVE-2026-67321","CVE-2026-69152","CVE-2026-69153","CVE-2026-73086","CVE-2026-73088","CVE-2026-73089","CVE-2026-84375"]},{"id":"RHSA-2026:40765","title":"Red Hat Security Advisory: OpenShift Container Platform 4.19.39 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-13676"]},{"id":"RHSA-2026:36754","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.10.2 release.","vulnerabilityIds":["CVE-2026-6322","CVE-2026-6734","CVE-2026-9277","CVE-2026-9673","CVE-2026-9697","CVE-2026-12143","CVE-2026-12151","CVE-2026-24781","CVE-2026-27136","CVE-2026-39820","CVE-2026-42338","CVE-2026-42499","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45736","CVE-2026-47131","CVE-2026-47135","CVE-2026-47137","CVE-2026-47139","CVE-2026-47140","CVE-2026-47141","CVE-2026-47208","CVE-2026-47210","CVE-2026-48779"]},{"id":"RHSA-2026:28010","title":"Red Hat Security Advisory: Red Hat build of Cryostat security update","vulnerabilityIds":["CVE-2025-48431","CVE-2026-9277","CVE-2026-32281","CVE-2026-41240","CVE-2026-42578","CVE-2026-42579","CVE-2026-42581","CVE-2026-42584","CVE-2026-42587","CVE-2026-43869"]},{"id":"RHSA-2026:30076","title":"Red Hat Security Advisory: Red Hat Quay 3.12.19","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-44432","CVE-2026-44496","CVE-2026-48526"]},{"id":"WID-SEC-W-2026-1934","title":"Red Hat OpenShift Service Mesh: Schwachstelle ermöglicht Codeausführung","vulnerabilityIds":["CVE-2026-9277"]},{"id":"RHSA-2026:26072","title":"Red Hat Security Advisory: Kiali 1.73.32 for Red Hat OpenShift Service Mesh 2.6","vulnerabilityIds":["CVE-2026-9277"]},{"id":"RHSA-2026:44263","title":"Red Hat Security Advisory: OpenShift Container Platform 4.20.31 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-12143","CVE-2026-40895","CVE-2026-42154","CVE-2026-42338","CVE-2026-45736","CVE-2026-59869","CVE-2026-59873"]},{"id":"RHSA-2026:29795","title":"Red Hat Security Advisory: OpenShift Container Platform 4.22.3 bug fix and security update","vulnerabilityIds":["CVE-2026-4800","CVE-2026-6322","CVE-2026-9277","CVE-2026-35469","CVE-2026-44293"]},{"id":"RHSA-2026:93951","title":"Red Hat Security Advisory: OpenShift Virtualization v4.17 Images","vulnerabilityIds":["CVE-2026-9277","CVE-2026-59879","CVE-2026-84375"]},{"id":"RHSA-2026:44237","title":"Red Hat Security Advisory: OpenShift Container Platform 4.22.7 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-27136","CVE-2026-35469","CVE-2026-42338","CVE-2026-59869","CVE-2026-59873"]},{"id":"RHSA-2026:54395","title":"Red Hat Security Advisory: Red Hat Quay 3.17.4","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-12143","CVE-2026-13149","CVE-2026-13676","CVE-2026-15927","CVE-2026-39821","CVE-2026-39828","CVE-2026-39829","CVE-2026-39830","CVE-2026-39831","CVE-2026-39832","CVE-2026-39835","CVE-2026-42508","CVE-2026-44432","CVE-2026-44990","CVE-2026-46597","CVE-2026-54058","CVE-2026-54060","CVE-2026-55379","CVE-2026-55380","CVE-2026-57231","CVE-2026-59197","CVE-2026-59199","CVE-2026-59200","CVE-2026-59204","CVE-2026-59205","CVE-2026-59869","CVE-2026-59885","CVE-2026-59886","CVE-2026-73086"]},{"id":"RHSA-2026:60023","title":"Red Hat Security Advisory: OpenShift Container Platform 4.17.57 bug fix and security update","vulnerabilityIds":["CVE-2026-4800","CVE-2026-9277","CVE-2026-25681","CVE-2026-33814","CVE-2026-34986","CVE-2026-35469","CVE-2026-39820","CVE-2026-42499","CVE-2026-42504","CVE-2026-46597","CVE-2026-49332","CVE-2026-50236","CVE-2026-50237"]},{"id":"RHSA-2026:33574","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.9.6 release.","vulnerabilityIds":["CVE-2026-9277","CVE-2026-9673","CVE-2026-27145","CVE-2026-33811","CVE-2026-39820","CVE-2026-42033","CVE-2026-42035","CVE-2026-42039","CVE-2026-42041","CVE-2026-42043","CVE-2026-42044","CVE-2026-42338","CVE-2026-42499","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-44724","CVE-2026-45736","CVE-2026-47131","CVE-2026-47135","CVE-2026-47137","CVE-2026-47139","CVE-2026-47140","CVE-2026-47141","CVE-2026-47208","CVE-2026-47209","CVE-2026-48779"]},{"id":"RHSA-2026:70647","title":"Red Hat Security Advisory: OpenShift Container Platform 4.12.99 bug fix and security update","vulnerabilityIds":["CVE-2026-1784","CVE-2026-9277","CVE-2026-33814","CVE-2026-33818","CVE-2026-56859","CVE-2026-56860","CVE-2026-56862","CVE-2026-75885","CVE-2026-75887"]},{"id":"openSUSE-SU-2026:10979-1","title":"agama-web-ui-21+360.16caae772-44.1 on GA media","vulnerabilityIds":["CVE-2026-6402","CVE-2026-9277"]},{"id":"RHSA-2026:50850","title":"Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.1 security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-43997","CVE-2026-43998","CVE-2026-43999","CVE-2026-44000","CVE-2026-44001","CVE-2026-44002","CVE-2026-44003","CVE-2026-44004","CVE-2026-44005","CVE-2026-44006","CVE-2026-44007","CVE-2026-44008","CVE-2026-44009","CVE-2026-45411","CVE-2026-47131","CVE-2026-47135","CVE-2026-47137","CVE-2026-47139","CVE-2026-47140","CVE-2026-47141","CVE-2026-47209","CVE-2026-48068","CVE-2026-48801","CVE-2026-59877"]},{"id":"openSUSE-SU-2026:20839-1","title":"Security update for python-pytest-html","vulnerabilityIds":["CVE-2026-9277"]},{"id":"RHSA-2026:42796","title":"Red Hat Security Advisory: Red Hat Quay 3.15.6","vulnerabilityIds":["CVE-2026-9277","CVE-2026-10143","CVE-2026-12143","CVE-2026-32591","CVE-2026-39820","CVE-2026-39821","CVE-2026-39828","CVE-2026-39829","CVE-2026-39830","CVE-2026-39831","CVE-2026-39832","CVE-2026-39835","CVE-2026-42151","CVE-2026-42154","CVE-2026-42499","CVE-2026-42508","CVE-2026-44432","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-44990","CVE-2026-46595","CVE-2026-46597","CVE-2026-48526"]},{"id":"RHSA-2026:26225","title":"Red Hat Security Advisory: Technical preview of the satellite/iop-vulnerability-frontend-rhel9 container image","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-26996","CVE-2026-27904","CVE-2026-29063","CVE-2026-41680","CVE-2026-42033","CVE-2026-42035","CVE-2026-42039","CVE-2026-42041","CVE-2026-42043","CVE-2026-42044"]},{"id":"RHSA-2026:65840","title":"Red Hat Security Advisory: OpenShift Container Platform 4.13.71 bug fix and security update","vulnerabilityIds":["CVE-2025-68121","CVE-2026-9277","CVE-2026-27143","CVE-2026-27144","CVE-2026-32280","CVE-2026-33186","CVE-2026-33814","CVE-2026-39820","CVE-2026-42154","CVE-2026-42499","CVE-2026-44496"]},{"id":"RHSA-2026:26080","title":"Red Hat Security Advisory: Kiali 2.4.18 for Red Hat OpenShift Service Mesh 3.0","vulnerabilityIds":["CVE-2026-9277","CVE-2026-32281"]},{"id":"RHSA-2026:34791","title":"Red Hat Security Advisory: OpenShift Container Platform 4.20.28 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-35469"]},{"id":"RHSA-2026:44267","title":"Red Hat Security Advisory: OpenShift Container Platform 4.21.26 bug fix and security update","vulnerabilityIds":["CVE-2026-9277","CVE-2026-12143","CVE-2026-34986","CVE-2026-35469","CVE-2026-40895","CVE-2026-42338","CVE-2026-45736","CVE-2026-59869","CVE-2026-59873"]},{"id":"RHSA-2026:41066","title":"Red Hat Security Advisory: Red Hat Quay 3.16.5","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-12143","CVE-2026-13676","CVE-2026-32281","CVE-2026-32591","CVE-2026-39820","CVE-2026-39821","CVE-2026-39828","CVE-2026-39829","CVE-2026-39830","CVE-2026-39831","CVE-2026-39832","CVE-2026-39835","CVE-2026-42044","CVE-2026-42151","CVE-2026-42154","CVE-2026-42499","CVE-2026-42504","CVE-2026-42508","CVE-2026-44432","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-44990","CVE-2026-45822","CVE-2026-46597","CVE-2026-48526"]},{"id":"RHSA-2026:33683","title":"Red Hat Security Advisory: Red Hat Quay 3.10.23","vulnerabilityIds":["CVE-2026-6322","CVE-2026-9277","CVE-2026-10143","CVE-2026-44432","CVE-2026-44496","CVE-2026-48526"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-31440","identifiers":["EUVD-2026-31440","CVE-2026-9277","GHSA-w7jw-789q-3m8p"]},"retained":false,"historicalAffected":[]},{"revision":"fdf4dcc0c0904a2588012725bf41ba75","observedAt":"2026-10-25T16:19:22.228+00:00","statement":{"source":"nvd","id":"CVE-2026-9277","aliases":[],"title":"shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line termina…","description":"shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line terminators (\\n, \\r, U+2028, U+2029). A line terminator in `.op` therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it would execute as a second command. The vulnerable code path is reachable in two ways: (1) direct construction of `{ op: '...\\n...' }` from external input, and (2) via `parse(cmd, envFn)` when `envFn` returns object tokens whose `.op` is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: `.op` must match the parser's control-operator allowlist; `{ op: 'glob', pattern }` validates `pattern` and forbids line terminators; `{ comment }` validates `comment` and forbids line terminators; any other object shape throws `TypeError`.","state":0,"publishedAt":"2026-05-22T14:16:30.33+00:00","modifiedAt":"2026-09-14T13:19:33.133+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · 7ffcee3d-2c14-4c3e-b844-86c6a321a158 · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":9.2,"severity":"CRITICAL"},{"system":"CVSS 3.1 · 7ffcee3d-2c14-4c3e-b844-86c6a321a158 · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"severity":"HIGH"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"severity":"HIGH"}],"references":["https://github.com/ljharb/shell-quote","https://github.com/ljharb/shell-quote/commit/1518179","https://github.com/ljharb/shell-quote/security/advisories/GHSA-w7jw-789q-3m8p","https://www.npmjs.com/package/shell-quote","http://www.openwall.com/lists/oss-security/2026/05/23/2","https://access.redhat.com/errata/RHSA-2026:26072","https://access.redhat.com/errata/RHSA-2026:26077","https://access.redhat.com/errata/RHSA-2026:26079","https://access.redhat.com/errata/RHSA-2026:26080","https://access.redhat.com/errata/RHSA-2026:26090","https://access.redhat.com/errata/RHSA-2026:26225","https://access.redhat.com/errata/RHSA-2026:28010","https://access.redhat.com/errata/RHSA-2026:28571","https://access.redhat.com/errata/RHSA-2026:29197","https://access.redhat.com/errata/RHSA-2026:29795","https://access.redhat.com/errata/RHSA-2026:29834","https://access.redhat.com/errata/RHSA-2026:30076","https://access.redhat.com/errata/RHSA-2026:33574","https://access.redhat.com/errata/RHSA-2026:33683","https://access.redhat.com/errata/RHSA-2026:34342","https://access.redhat.com/errata/RHSA-2026:34791","https://access.redhat.com/errata/RHSA-2026:36754","https://access.redhat.com/errata/RHSA-2026:40765","https://access.redhat.com/errata/RHSA-2026:41066","https://access.redhat.com/errata/RHSA-2026:41928","https://access.redhat.com/errata/RHSA-2026:42796","https://access.redhat.com/errata/RHSA-2026:44237","https://access.redhat.com/errata/RHSA-2026:44263","https://access.redhat.com/errata/RHSA-2026:44267","https://access.redhat.com/errata/RHSA-2026:48699","https://access.redhat.com/errata/RHSA-2026:50850","https://access.redhat.com/errata/RHSA-2026:56854","https://access.redhat.com/errata/RHSA-2026:56912","https://access.redhat.com/errata/RHSA-2026:60023","https://access.redhat.com/errata/RHSA-2026:62260","https://access.redhat.com/errata/RHSA-2026:62410","https://access.redhat.com/security/cve/CVE-2026-9277","https://bugzilla.redhat.com/show_bug.cgi?id=2480741","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9277.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-9277","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-77","CWE-78"],"productCriteria":[],"sourceDates":{"published":"2026-05-22T14:16:30.330","lastModified":"2026-09-14T13:19:33.133"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-9277","identifiers":["CVE-2026-9277"]},"retained":false,"historicalAffected":[]},{"revision":"a49275f42ac64498bda025df1eecf463","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w7jw-789q-3m8p","aliases":["CVE-2026-9277"],"title":"shell-quote quote() does not escape newlines in object .op values","description":"### Summary\n\n`shell-quote`'s `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line terminators (`\\n`, `\\r`, U+2028, U+2029). A line terminator in `.op` therefore passed through unescaped into the output; POSIX shells treat a literal `\\n` as a command separator, so any content after it would execute as a second command.\n\nThe vulnerable code path is reachable in two ways. Neither requires the parser to misbehave — `parse()` only emits ops from a fixed control set — but both are documented API surface:\n\n1. **Direct construction.** A caller builds `{ op: '...\\n...' }` from external input (e.g. a deserialized argument array) and passes it to `quote()`.\n2. **`envFn` return.** `parse(cmd, envFn)` is documented to splice the return value of `envFn` into the result array when it is an object. An attacker-influenced data source consulted by `envFn` can introduce an object token whose `.op` reaches `quote()`.\n\n### Impact\n\nShell command injection in callers that pass object tokens with attacker-influenced `.op` values to `quote()` and then hand the result to a shell. The preconditions are narrower than ordinary string injection — they require the caller to feed object tokens into `quote()` — but object tokens are a public, documented part of the API surface, and `quote()` is intended to be a shell-safety boundary.\n\n### PoC\n\n```js\nconst { parse, quote } = require('shell-quote');\n\n// Direct construction\nquote([{ op: ';\\nid' }]);\n// → \"\\;\\n\\\\i\\\\d\"  ← literal newline; second line executes as a command\n\n// Via parse() with an envFn returning attacker-shaped objects\nconst tokens = parse('echo $X', () => ({ op: ';\\nid' }));\nrequire('child_process').execSync(quote(tokens), { shell: true });\n// Executes `id` after `echo \\;`.\n```\n\nConfirmed under `sh`, `bash`, `dash`, and `zsh`.\n\n### Patch\n\nFixed by replacing the per-character escape with strict shape validation in `quote()`. The object-token branch now:\n\n- **`{ op }`** — `.op` must be a string from the same allowlist the parser emits (`||`, `&&`, `;;`, `|&`, `<(`, `<<<`, `>>`, `>&`, `<&`, `&`, `;`, `(`, `)`, `|`, `<`, `>`). Anything else throws `TypeError`. This is the direct fix for the reported issue and removes the entire class of `.op` injection.\n- **`{ op: 'glob', pattern }`** — `.pattern` must be a string with no line terminators. Glob metacharacters (`*`, `?`, `[`, `]`, `{`, `}`, `,`) pass through; all other shell-special characters are backslash-escaped. (Previously the pattern field was discarded entirely and the literal string `\\g\\l\\o\\b` was emitted — a latent bug, not security-relevant.)\n- **`{ comment }`** — `.comment` must be a string with no line terminators (line terminators would end the shell comment and resume command parsing — same injection shape).\n- **Any other object shape** — `TypeError`.\n\nThe fix is allowlist-based rather than a targeted regex tweak, so it closes the reported vector and forecloses adjacent ones (U+2028 / U+2029 line separators in `.op`, line terminators in comments, unknown-shape objects coerced through `.replace`).\n\n### Workarounds\n\nPrior to upgrading, callers that build object tokens from untrusted input should validate `.op` against the parser's operator set themselves, and never construct `{ op }` from attacker-controlled strings.\n\n### Credits\n\nReported by Akshat Sinha","state":0,"publishedAt":"2026-06-09T14:27:15+00:00","modifiedAt":"2026-09-10T03:50:50.7497166+00:00","affected":[{"ecosystem":"npm","name":"shell-quote","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.1.0"},{"kind":"fixed","version":"1.8.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/ljharb/shell-quote/security/advisories/GHSA-w7jw-789q-3m8p","https://nvd.nist.gov/vuln/detail/CVE-2026-9277","https://github.com/ljharb/shell-quote/commit/1518179","https://github.com/ljharb/shell-quote","https://www.npmjs.com/package/shell-quote","http://www.openwall.com/lists/oss-security/2026/05/23/2"],"sourceUrl":"https://github.com/advisories/GHSA-w7jw-789q-3m8p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w7jw-789q-3m8p","identifiers":["GHSA-w7jw-789q-3m8p","CVE-2026-9277"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T22:59:33.2714411+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-13T22:59:33.2714411+00:00","lastSuccessAt":"2026-11-13T22:59:33.4326115+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:59:33.4326125+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-7022ddfe188a895009793eb3bd94c01114ebbb365b5f87320008950c31c7d9b8","complete":true,"records":425683,"lastAttemptAt":"2026-11-13T22:57:15.7620408+00:00","lastSuccessAt":"2026-11-13T22:57:15.3208341+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:57:15.7620408+00:00","snapshotPublishedAt":"2026-11-13T22:23:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b8c678a448304f2d81f23b996684d010","complete":false,"records":13812,"lastAttemptAt":"2026-11-13T23:10:23.8811519+00:00","lastSuccessAt":"2026-11-13T23:10:22.842+00:00","error":"873 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T23:10:22.842+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":12747,"expectedIdentifiers":13865,"failedIdentifiers":873},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T22:59:33.2714411+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T22:59:33.2714411+00:00","lastSuccessAt":"2026-11-13T22:59:33.4333825+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:59:33.4333826+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-354b5d6bc0704f2eb2aa5407bb4aaebc","complete":false,"records":13812,"lastAttemptAt":"2026-11-13T23:00:40.5422712+00:00","lastSuccessAt":"2026-11-13T23:00:40.535+00:00","error":"421 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T23:00:40.535+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13442,"expectedIdentifiers":13865,"failedIdentifiers":421},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-42fcfdf205d91101df44972429c2d05bf31e8d72c170c2c37fa979711144269f","complete":true,"records":9954,"lastAttemptAt":"2026-11-13T22:59:33.1221614+00:00","lastSuccessAt":"2026-11-13T19:59:30.1437394+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:59:33.1221614+00:00","snapshotPublishedAt":"2026-11-13T19:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-13T22:57:15.9301623+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:57:15.9301623+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b2a1c7e3d3a7a08d2f1d434cf7506729cd24e1899dd5ef84e8cad23331aabfc5","complete":true,"records":3148,"lastAttemptAt":"2026-11-13T22:59:33.230779+00:00","lastSuccessAt":"2026-11-13T19:59:34.677076+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:59:33.230779+00:00","snapshotPublishedAt":"2026-11-13T19:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-fd3547ad33f0a91b1788266eb2b6c43dc46b690597b8ba73a4e506f46a495599","complete":true,"records":232461,"lastAttemptAt":"2026-11-13T22:59:32.9950161+00:00","lastSuccessAt":"2026-11-13T22:59:31.4132954+00:00","error":null,"lastVerifiedAt":"2026-11-13T22:59:32.9950161+00:00","snapshotPublishedAt":"2026-11-13T22:33:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}