CVE-2019-18276
bash: when effective UID is not equal to its real UID the saved UID is not dropped
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 1, 2019
Updated · November 21, 2025
Description
A privilege escalation vulnerability was found in bash in the way it dropped privileges when started with an effective user id not equal to the real user id. Bash may be vulnerable to this flaw if the setuid permission is set and the owner of the bash program itself is a non-root user. A local attacker could exploit this flaw to escalate their privileges on the system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-271 · Privilege Dropping / Lowering Errors