All reports
High

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

Affected versions

Affected versions
<= 2.6.6
Fixed version
Not reported

Exploitation

CVE-2021-38557

Probability of exploitation in the next 30 days: 2.22%

FIRST EPSS · 2026-11-24

Description

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.

Links