CVE-2019-18276 — An issue was discovered in disable_priv_mode in shell
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 a
Published
2019-11-28T01:15:10.603
Last modified
2026-10-14T07:16:50.140
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01What is this vulnerability?
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…
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2019-11-28T01:15:10.603
- Last modified: 2026-10-14T07:16:50.140
09References
- packetstormsecurity.com — http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalati…
- github.com — https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff
- lists.apache.org — https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430…
- security.gentoo.org — https://security.gentoo.org/glsa/202105-34
- security.netapp.com — https://security.netapp.com/advisory/ntap-20200430-0003/
- www.oracle.com — https://www.oracle.com/security-alerts/cpuapr2022.html
- www.youtube.com — https://www.youtube.com/watch?v=-wGtxJ8opa8
- packetstormsecurity.com — http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalati…
- github.com — https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff
- lists.apache.org — https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →