nday
CVE-2019-18276

An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11Title composed by nday; the CVE record has none.

A public PoC appeared 1 day after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

improper privilege management
CWE-273, stated by the ADP CISA-ADP, NVD's analysts, and NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Exploit-DB
Exploit-DB entries 47726
stage
POC
disclosed
disclosure → PoC
T+1d POC is date-only
cvss
7.8 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2019-11-28T00:27Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2019-11-29, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by mitre. CVSS 7.8, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 207719,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2019-18276",
  "occurred_at": "2019-11-28T00:27:51Z",
  "observed_at": "2026-11-13T05:37:00.000703Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-06-09T15:50:29.163562Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2019-11-28T00:27:51.000Z",
    "assigner_short_name": "mitre"
  }
}
2019-11-29date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “GNU Bash 5.0 Patch 11 - SUID Priv Drop Exploit” (EDB-47726).

src exploitdb 47726 · nday , observed live · raw
{
  "id": 501684,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/47726",
  "occurred_at": "2019-11-29T00:00:00Z",
  "observed_at": "2026-11-23T14:02:02.56302Z",
  "is_backfill": false,
  "dedupe_key": "47726",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/47726",
    "file": "exploits/linux/local/47726.sh",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "GNU Bash 5.0 Patch 11 - SUID Priv Drop Exploit",
    "author": "Mohin Paramasivam",
    "edb_id": 47726,
    "cve_ids": [
      "CVE-2019-18276"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-11-29",
    "date_updated": "2026-11-23",
    "date_published": "2019-11-29"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.