CVE-2021-32090: Command injection in LocalStack

localstack Updated 02 Oct 2025

Summary

18/06/2021
Yes i
Critical
9.8

CVE-2021-32090: Command injection in LocalStack. Affects localstack versions < 0.12.10. Fixed in 0.12.10. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

LocalStack is a package available on PyPI that provides a local AWS cloud stack for testing and development purposes. It emulates various AWS services, allowing developers to work offline without the need for actual AWS resources. LocalStack includes a dashboard component that provides a web interface for managing and monitoring the emulated services. However, this component is vulnerable to command injection attacks.

Vulnerability Detail

The vulnerability, identified as CVE-2021-32090, allows attackers to inject arbitrary shell commands through the 'functionName' parameter in the LocalStack dashboard. This parameter is not properly validated, enabling malicious actors to execute unauthorized commands on the underlying system. Exploiting this vulnerability can lead to various consequences, including unauthorized access, data leakage, and potential compromise of the entire system.

How To Fix

Latest published version: 2026.8.2 as of 23 Oct 2026

pip install --upgrade "localstack==2026.8.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.10

This is the first release that contains the fix.

pip install --upgrade "localstack==0.12.10"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If updating to the latest version is not immediately feasible, a temporary workaround can be implemented by disabling or restricting access to the LocalStack dashboard. This can be achieved by modifying the configuration or firewall rules to block incoming connections to the dashboard component. However, this workaround should only be considered as a temporary measure until the package can be updated to a secure version.

Conclusion

CVE-2021-32090 is a critical command injection vulnerability in the LocalStack package's dashboard component. It allows attackers to execute arbitrary shell commands, potentially leading to unauthorized access and compromise of the system. To mitigate this vulnerability, it is crucial to update the LocalStack package to version 0.12.10 or later. Additionally, temporarily disabling or restricting access to the dashboard can provide a workaround until the update is applied. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for localstack →

Share this vulnerability

FAQ

LocalStack is a package that provides a local AWS cloud stack for testing and development purposes. It emulates various AWS services, allowing developers to work offline without the need for actual AWS resources.

The vulnerability, identified as CVE-2021-32090, is a command injection vulnerability in the LocalStack dashboard. Attackers can inject arbitrary shell commands through the 'functionName' parameter, potentially leading to unauthorized access and compromise of the system.

Exploiting this vulnerability can result in unauthorized access, data leakage, and potential compromise of the entire system. Attackers can execute arbitrary commands on the underlying system, leading to various malicious activities.

To fix this vulnerability, it is recommended to update the LocalStack package to version 0.12.10 or later. This update includes proper input validation and sanitization for the vulnerable parameter, preventing command injection attacks.

Yes, a temporary workaround is to disable or restrict access to the LocalStack dashboard. This can be achieved by modifying the configuration or firewall rules to block incoming connections to the dashboard component. However, updating to the latest secure version is still the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for localstack.

How To Fix

Latest published version: 2026.8.2 as of 23 Oct 2026

pip install --upgrade "localstack==2026.8.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.10

This is the first release that contains the fix.

pip install --upgrade "localstack==0.12.10"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback