CVE-2021-32090
Python vulnerability analysis and mitigation

Overview

The dashboard component of StackLift LocalStack 0.12.6 contains a critical command injection vulnerability (CVE-2021-32090) that allows attackers to inject arbitrary shell commands via the functionName parameter. The vulnerability was discovered in March 2021 and disclosed to the vendor in October 2020 (Sonar Blog, PortSwigger). LocalStack is a popular open source Python application that provides a test framework for cloud applications, enabling developers to host AWS cloud setups in local networks.

Technical details

The vulnerability exists in the LocalStack dashboard's lambda code functionality. When processing requests to '/lambda//code', the application passes unsanitized user input from the functionName parameter directly into a system command via string concatenation. The command is then executed using subprocess.check_output() with shell=True, allowing command injection. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

An attacker can exploit this vulnerability to execute arbitrary system commands on the host running LocalStack. When combined with other vulnerabilities like SSRF and XSS, it enables complete compromise of the local instance and the ability to execute arbitrary system commands on the developer's machine (Sonar Blog).

Mitigation and workarounds

The vendor was notified of the vulnerability in October 2020 but chose not to patch it, considering the risk limited due to LocalStack being executed on local machines. No official fixes or workarounds have been provided (Sonar Blog).

Community reactions

Security researchers from Sonarsource, who discovered the vulnerability, emphasized that while real-world attacks against local instances are less likely than against directly exposed applications, developers should be aware of these risks to protect their setups. The vendor's decision not to patch the vulnerability due to limited attack scenarios has been met with concern from security experts (PortSwigger).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

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