patchminder
No public exploit found CVE-2020-8903

Privilege escalationin Google guest-oslogin.

Published 22 Jun 2020 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.3% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 20200507 or later
In plain words

A vulnerability in Google Cloud Platform's guest-oslogin versions between 20190304 and 20200507 allows a user that is only granted the role "roles/compute.osLogin" to escalate privileges to root. Using their membership to the "adm" group, users with this role are able to read the DHCP XID from the systemd journal. Using the DHCP XID, it is then possible to set the IP address and hostname of the instance to any value, which is then stored in /etc/hosts. An attacker can then point metadata.google.internal to an arbitrary IP address and impersonate the GCE metadata server which make it is possible to instruct the OS Login PAM module to grant administrative privileges. All images created after 2020-May-07 (20200507) are fixed, and if you cannot update, we recommend you edit /etc/group/security.conf and remove the "adm" user from the OS Login entry.

What to do now
  • Upgrade guest-oslogin to 20200507 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
guest-oslogin
20190304 to before 20200507
20200507
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 12 Feb 2020
    CVE ID reserved by Google.
  2. 22 Jun 2020
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other guest-oslogin vulnerabilities

Same weakness: Incorrect default permissions

All CWE-276 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-8903: Privilege escalation in Google guest-oslogin. https://patchminder.com/cve/cve-2020-8903/ (accessed 5 December 2026).