fix: upgrade shell-quote to 1.8.4 (CVE-2026-9277) - #29095
Conversation
Automated dependency upgrade by OrbisAI Security
|
📊 PR Size: size/S
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request performs a necessary security update for the 'shell-quote' package across the repository. By bumping the version to 1.9.0, the project mitigates a critical command injection vulnerability, ensuring safer processing of user-influenced input without altering existing application logic. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the shell-quote dependency from version 1.8.3 to 1.9.0 across the workspace, specifically in the root package.json, packages/cli/package.json, packages/core/package.json, and the lockfile. There are no review comments, and I have no feedback to provide on these changes.
Note: Security Review has been skipped due to the limited scope of the PR.
Summary
Upgrade shell-quote from 1.8.3 to 1.8.4 to fix CVE-2026-9277.
Vulnerability
CVE-2026-9277package-lock.json(dependency:shell-quote)Description: shell-quote: shell-quote: Arbitrary code execution via command injection due to unescaped line terminators
Evidence
Scanner confirmation: trivy rule
CVE-2026-9277flagged this pattern.Changes
package.jsonpackage-lock.jsonpackages/cli/package.jsonpackages/core/package.jsonBehavior Preservation
The change is scoped to 4 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security