Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 45%

CVE-2026-9277: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in shell-quote

0
High
Published: 05/22/2026 (05/22/2026, 13:22:38 UTC)
Source: GCVE Database
Product: shell-quote

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`.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
Red HatRed Hat OpenShift Container PlatformRed Hat OpenShift Container Platform 4.20amd64registry.redhat.io/openshift4/ose-agent-installer-ui-rhel9@sha256:ed16fd4d2195b6350c7851b636d6adf0dfc03a73a98635152191bfa34164ed9b_amd64Red Hat OpenShift Container Platform 4.21registry.redhat.io/openshift4/ose-agent-installer-ui-rhel9@sha256:b8ebed9ce8e30fc517241acb9ea189721a4501ad0bfc34026e5b616f5c2450b7_amd641.1.0Red Hat OpenShift Service MeshRed Hat OpenShift Service Mesh 2.6registry.redhat.io/openshift-service-mesh/kiali-rhel8@sha256:0425fb2f7d03cb753a5320b4e0c5f37cb1475ca9b73f1a2dbff26c59f1729edf_amd64

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/26/2026, 01:32:04 UTC

Technical Analysis

CVE-2026-9277 affects Kiali 1.73.32 in Red Hat OpenShift Service Mesh 2.6 and is caused by command injection via unescaped line terminators in the shell-quote component. This flaw enables arbitrary code execution remotely without requiring privileges or user interaction. The vulnerability is identified in the openshift-service-mesh/kiali-rhel8 and kiali-ossmc-rhel8 container images. Red Hat Product Security has rated this update as having a Moderate security impact, although the CVSS vector indicates a high severity (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). The advisory references updated container images and documentation for remediation but does not explicitly list a fixed version number. No known exploits in the wild have been reported. Users of Red Hat OpenShift Service Mesh 2.6 should review the advisory and update accordingly.

Potential Impact

The vulnerability allows remote attackers to execute arbitrary code on affected Kiali components via command injection due to improper handling of line terminators. This can lead to full compromise of the affected service mesh observability component, impacting confidentiality, integrity, and availability. The CVSS vector indicates high impact on confidentiality, integrity, and availability, but Red Hat rates the overall impact as Moderate. No known active exploitation has been reported.

Mitigation Recommendations

Red Hat has released updated container images for Kiali 1.73.32 addressing this vulnerability. Users should update to the latest Kiali 1.73.32 images for Red Hat OpenShift Service Mesh 2.6 as documented in the official Red Hat advisory and product documentation. Refer to https://access.redhat.com/errata/RHSA-2026:26072 and https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/service_mesh/service-mesh-2-x for detailed upgrade instructions. No additional mitigations are specified by the vendor. Patch status is not explicitly confirmed as fixed in a specific version, so users must follow vendor guidance and update images accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:26072
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a3088160b89be6888b7520d

Added to database: 06/15/2026, 23:17:42 UTC

Last enriched: 07/26/2026, 01:32:04 UTC

Last updated: 07/31/2026, 19:30:14 UTC

Views: 123

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses