GHSA-49vv-6q7q-w5cf: Duplicate Advisory OS Command Injection Vulnerability

HIGH
CVSS 7.2
CWE-78 CWE-20
Published
Advisory Summary

GHSA-49vv-6q7q-w5cf is a HIGH (CVSS 7.2) os command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves os command injection in strapi. Remediation is available by upgrading affected packages to version 3.0.0-beta.17.8.

GHSA-49vv-6q7q-w5cf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-49vv-6q7q-w5cf
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-49vv-6q7q-w5cf

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

strapi fixed: 3.0.0-beta.17.8
npm install strapi@3.0.0-beta.17.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls strapi

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-49vv-6q7q-w5cf, inspect your project dependencies using npm:

npm ls strapi

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0-beta.17.8), your application is affected.

Note: The npm ls strapi command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-9p2w-rmx4-9mw7. This link is maintained to preserve external references. ### Original Description The Strapi framework before 3.0.0-beta.17.8 is vulnerable to Remote Code Execution in the Install and Uninstall Plugin components of the Admin panel, because it does not sanitize the plugin name, and attackers can inject arbitrary shell commands to be executed by the execa function.

GHSA-49vv-6q7q-w5cf Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
3.0.0-beta.17.8
Product / Package Ecosystem Affected Versions Fixed Version
strapi
npm
< 3.0.0-beta.17.8
3.0.0-beta.17.8

References

Frequently Asked Questions

What is GHSA-49vv-6q7q-w5cf?
GHSA-49vv-6q7q-w5cf is a security vulnerability in Duplicate Advisory involving OS Command Injection in Strapi under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 3.0.0-beta.17.8 across affected packages: strapi.
What version fixes GHSA-49vv-6q7q-w5cf?
Upgrading to 3.0.0-beta.17.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is strapi affected?
Yes, strapi is affected in releases prior to 3.0.0-beta.17.8. Upgrade your dependency to 3.0.0-beta.17.8 or later.
What is the CVSS score of GHSA-49vv-6q7q-w5cf?
GHSA-49vv-6q7q-w5cf has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-49vv-6q7q-w5cf?
GHSA-49vv-6q7q-w5cf is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check npm dependencies for GHSA-49vv-6q7q-w5cf?
Run the dependency tree command: 'npm ls strapi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-49vv-6q7q-w5cf",
  "modified" : "2025-12-29T15:34:37Z",
  "published" : "2021-12-10T17:22:12Z",
  "withdrawn" : "2025-12-29T15:34:37Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: OS Command Injection in Strapi",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9p2w-rmx4-9mw7. This link is maintained to preserve external references.\n\n### Original Description\nThe Strapi framework before 3.0.0-beta.17.8 is vulnerable to Remote Code Execution in the Install and Uninstall Plugin components of the Admin panel, because it does not sanitize the plugin name, and attackers can inject arbitrary shell commands to be executed by the execa function.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "strapi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0-beta.17.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.0-beta.17.7"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19609"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/pull/4636"
  }, {
    "type" : "WEB",
    "url" : "https://bittherapy.net/post/strapi-framework-remote-code-execution"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/strapi/strapi"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/163940/Strapi-3.0.0-beta.17.7-Remote-Code-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/163950/Strapi-CMS-3.0.0-beta.17.4-Remote-Code-Execution.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-78" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-07-27T15:24:09Z",
    "nvd_published_at" : "2019-12-05T20:15:00Z"
  }
}