CVE-2019-10803
JavaScript vulnerability analysis and mitigation

Overview

CVE-2019-10803 affects push-dir through version 0.4.1, a package designed to push the contents of a directory to a remote branch. The vulnerability was discovered and disclosed on February 28, 2020. The issue affects all versions of push-dir up to and including version 0.4.1 running on Node.js (NVD).

Technical details

The vulnerability is a command injection flaw where arguments provided as part of the variable 'opt.branch' are not properly validated before being passed to the git command within index.js#L139. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating it is remotely exploitable with no privileges or user interaction required (NVD, Snyk).

Impact

If exploited, this vulnerability could allow an attacker to inject and execute arbitrary commands through the unvalidated opt.branch parameter. The high severity rating indicates potential for complete system compromise, with full confidentiality, integrity, and availability impacts (Snyk).

Mitigation and workarounds

There is currently no fixed version available for push-dir. Users are advised to either discontinue use of the package or implement additional input validation before passing values to the opt.branch parameter (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • nodejs-full-i18n
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management