Skip to content

fix: upgrade shell-quote to 1.8.4 (CVE-2026-9277) - #57663

Open
anupamme wants to merge 1 commit into
react:mainfrom
anupamme:fix-repo-react-native-cve-2026-9277-shell-quote
Open

fix: upgrade shell-quote to 1.8.4 (CVE-2026-9277)#57663
anupamme wants to merge 1 commit into
react:mainfrom
anupamme:fix-repo-react-native-cve-2026-9277-shell-quote

Conversation

@anupamme

@anupamme anupamme commented Jul 24, 2026

Copy link
Copy Markdown

Summary

Upgrade shell-quote from 1.8.2 to 1.8.4 to fix CVE-2026-9277.

Vulnerability

Field Value
ID CVE-2026-9277
Severity CRITICAL
Scanner trivy
Rule CVE-2026-9277
File yarn.lock (dependency: shell-quote)
Assessment Present in dependency tree, not confirmed reachable

Description: shell-quote: shell-quote: Arbitrary code execution via command injection due to unescaped line terminators

Evidence

Scanner confirmation: trivy rule CVE-2026-9277 flagged this pattern.

Changes

  • package.json
  • yarn.lock

Behavior Preservation

The change is scoped to 2 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

@meta-cla

meta-cla Bot commented Jul 24, 2026

Copy link
Copy Markdown

Hi @anupamme!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@github-actions

Copy link
Copy Markdown

Warning

Missing Test Plan

Please add a "## Test Plan" section to your PR description. A Test Plan lets us know how these changes were tested.

Caution

Missing Changelog

Please add a Changelog to your PR description. See Changelog format

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2026
@meta-cla

meta-cla Bot commented Jul 24, 2026

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jul 24, 2026
Comment thread package.json Outdated
"fast-uri": "^3.1.2"
},
"dependencies": {
"shell-quote": "1.8.4"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added in the resolution block

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed.

@anupamme
anupamme force-pushed the fix-repo-react-native-cve-2026-9277-shell-quote branch from ea0ec4f to 68950a9 Compare July 27, 2026 09:52
Automated dependency upgrade by OrbisAI Security
@anupamme
anupamme force-pushed the fix-repo-react-native-cve-2026-9277-shell-quote branch from 68950a9 to b0e4f74 Compare August 23, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants