7.8

CVE-2019-18276: gnu bash Improper Check for Dropped Privileges

Modified
AliasesMGASA-2021-0288RHSA-2021:1679UBUNTU-CVE-2019-18276
Published 28-11-2019Last modified 14-10-2026

Vulnerability summary

CVE-2019-18276 is a high (CVSS 7.8) Improper Check for Dropped Privileges vulnerability in gnu bash. EPSS estimates a 4.59% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 29-11-2019)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
4.59%
0%100%
Low · +1.98 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3reference, exploit-database

Timeline

  1. 28-11-2019
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last 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

EPSS trend

Probability

4.59%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

Increase +1.98 pp

From 2.61% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (youtube.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • exploit-databaselocallinuxUnverified

    GNU Bash 5.0 Patch 11 - SUID Privilege Drop Bypass Local Privilege Escalation (LPE)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
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
Show all 22 references