CVE-2019-19609: OS Command Injection in Strapi
Summary
CVE-2019-19609: OS Command Injection in Strapi. Affects strapi versions < 3.0.0-beta.17.8. Fixed in 3.0.0-beta.17.8. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Strapi is an open-source headless CMS (Content Management System) that enables developers to build powerful APIs quickly. It provides a flexible and customizable admin panel for managing content. However, prior to version 3.0.0-beta.17.8, Strapi is vulnerable to OS Command Injection in the Install and Uninstall Plugin components of the Admin panel. This vulnerability arises due to the lack of input sanitization, allowing attackers to inject arbitrary shell commands that are executed by the execa function.
Vulnerability Detail
The OS Command Injection vulnerability in Strapi allows an attacker to execute arbitrary shell commands on the server hosting the application. By exploiting this vulnerability, an attacker can gain unauthorized access, escalate privileges, and potentially take control of the entire system. This can lead to data breaches, unauthorized data manipulation, and disruption of services. The vulnerability has a CVSS score of 7.2, indicating a high severity level.
How To Fix
Latest published version: 3.6.11 as of 22 Oct 2026
npm install strapi@3.6.11
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.0.0-beta.17.8
This is the first release that contains the fix.
npm install strapi@3.0.0-beta.17.8
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, if upgrading to the fixed version is not immediately feasible, it is recommended to disable the Install and Uninstall Plugin functionality in the Strapi Admin panel. This can be achieved by modifying the code or configuration to remove or restrict access to these features. However, this workaround should only be considered temporary, as it does not address the root cause of the vulnerability.
Conclusion
The OS Command Injection vulnerability in Strapi can have severe consequences, including unauthorized access and data manipulation. It is crucial to upgrade to the fixed version (3.0.0-beta.17.8 or later) as soon as possible to mitigate the risk. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for strapi →
FAQ
Strapi is an open-source headless CMS that allows developers to build APIs quickly and easily.
OS Command Injection is a vulnerability that allows an attacker to execute arbitrary shell commands on a server by injecting malicious input.
This vulnerability can lead to unauthorized access, privilege escalation, and potential control of the affected system, resulting in data breaches and service disruption.
Upgrade to Strapi version 3.0.0-beta.17.8 or later, which includes the necessary input sanitization to prevent OS Command Injection.
As a temporary workaround, you can disable the Install and Uninstall Plugin functionality in the Strapi Admin panel until you can upgrade to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for strapi.