raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the…
Priority MEDIUM 42CWE-732Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions. The www-data account can execute /etc/raspap/hostapd/enablelog.sh as root with no password; however, the www-data account can also overwrite /etc/raspap/hostapd/enablelog.sh with any executable content.
Why it matters now
EPSS 0.02224 82nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | billz/raspap-webgui (Packagist) | up to 2.6.6 | — | No fix listed | GHSA-536p-4pcj-5mr9 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- billz/raspap-webgui (Packagist) Vendor— Affected up to 2.6.6 Fixed in — No fix listed GHSA-536p-4pcj-5mr9
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-38557
- 2026-10-03 Alias added: GHSA-536p-4pcj-5mr9
References
More Raspap vulnerabilities
- TI-2022-18933 A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated… CVSS 3.1CRITICAL 9.8
- TI-2022-18934 A Command injection vulnerability in RaspAP 2.8.0 thru 2.9.2 allows an authenticated… CVSS 3.1HIGH 8.8
- TI-2024-02323 RaspAP raspap-webgui HTTP POST Request provider.php code injection CVSS 3.1HIGH 7.2
- TI-2021-12821 A vulnerability exists in RaspAP 2.6 to 2.6.5 in the "iface" GET parameter in… CVSS 3.1CRITICAL 9.8
- TI-2021-16152 includes/configure_client.php in RaspAP 2.6.6 allows attackers to execute commands via command injection. CVSS 3.1HIGH 8.8
- TI-2020-15053 An issue was discovered in includes/webconsole.php in RaspAP 2.5. CVSS 3.1HIGH 8.8
Sources
- CVE-2021-38557 · CVE Program
- CVE-2021-38557 · NVD
- FIRST EPSS
- GHSA-536p-4pcj-5mr9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences