CVE-2019-18276: gnu bash Improper Check for Dropped Privileges
Vulnerability summary
CVE-2019-18276 is a high (CVSS 7.8) Improper Check for Dropped Privileges vulnerability in gnu bash. EPSS estimates a 2.61% chance of exploitation in the next 30 days, higher than 85.1% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 28-11-2019PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.61%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
0.00 pp
From 2.61% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (youtube.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Redhat4 products
- bash< 0:4.4.19-14.el8
- bash-debuginfo< 0:4.4.19-14.el8
- bash-debugsource< 0:4.4.19-14.el8
- bash-doc< 0:4.4.19-14.el8
Netapp3 products
- hci_management_nodena
- oncommand_unified_manager≥ 9.5 (No fix recorded)
- solidfirena
Debian1 product
- bash< 5.1~rc1-2
Gnu1 product
- bash≤ 5.0 | 5.0:beta1 | 5.0:beta2 | 5.0:patch1 | 5.0:patch10 | 5.0:patch11 | 5.0:patch2 | 5.0:patch3 | 5.0:patch4 | 5.0:patch5 | 5.0:patch6 | 5.0:patch7 | 5.0:patch8 | 5.0:patch9 | 5.0:rc1
Mageia1 product
- bash< 4.4-23.1.2.mga7
Oracle1 product
Ubuntu1 product
- bash< 4.3-7ubuntu1.8+esm2 | < 4.3-14ubuntu1.4+esm1 | < 4.4.18-2ubuntu1.3 | < 5.0-6ubuntu1.2
7 vendors · 12 products
References
22 links- github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ffX Refsource CONFIRMPatchThird Party Advisory
- packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry