Live threats

All CVEs / Raspap

CVE-2021-38557Raspap

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Aug 24, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Raspap.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist billz/raspap-webgui ≤ 2.6.6 no fixed version —

Per OSV / GitHub Advisories (GHSA-536p-4pcj-5mr9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
raspapraspap2.6.6

Official sources

References

Links published by the sources. Open them with care.