# CVE-2021-38557: raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.

Source: https://junglewise.ai/threats/cve-2021-38557-raspap-webgui-in-raspap-2-6-6-allows-attackers-to-execute  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-09-02  
License: CC BY 4.0 with a link back

CVE-2021-38557 · Severity: low · CVSS 3.1 · Published 2021-09-02

raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.

Technologies: [billz/raspap-webgui (Packagist)](https://junglewise.ai/threats/technologies/billz-raspap-webgui). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-38557 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-38557 being exploited in the wild.

**How severe is CVE-2021-38557?** Low severity, with a CVSS score of 3.1, published 2 September 2021.

**Which products and versions are affected?** billz/raspap-webgui (Packagist) ECOSYSTEM:introduced=0,last_affected=2.6.6.

**Is there a fix for CVE-2021-38557?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2021-38557?** Check whether you run billz/raspap-webgui (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- billz/raspap-webgui (Packagist) ECOSYSTEM:introduced=0,last_affected=2.6.6

## Identifiers

- CVE-2021-38557
- GHSA-536p-4pcj-5mr9

## Related threats

- [RaspAP raspap-webgui contains an OS Command Injection vulnerability](https://junglewise.ai/threats/cve-2026-24788-raspap-raspap-webgui-contains-an-os-command-injection)
- [raspap-webgui has a Directory Traversal vulnerability](https://junglewise.ai/threats/cve-2025-44163-raspap-webgui-has-a-directory-traversal-vulnerability)
- [RaspAP allows an attacker to escalate privileges](https://junglewise.ai/threats/cve-2024-41637-raspap-allows-an-attacker-to-escalate-privileges)
- [RaspAP Vulnerable to Code Injection via an Unknown Process in File `includes/provider.php`](https://junglewise.ai/threats/cve-2024-2497-raspap-vulnerable-to-code-injection-via-an-unknown-process-in-file)
- [raspap-webgui vulnerable to denial of service](https://junglewise.ai/threats/cve-2024-28754-raspap-webgui-vulnerable-to-denial-of-service)
