# CVE-2022-3421: Privilege escalation in Google Drive for Desktop on MacOS

- Severity: Medium 5.6 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2022-10-17T00:00:00.000Z
- Modified: 2026-06-17T04:59:29.710Z
- Weaknesses: CWE-264, CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

An attacker can pre-create the `/Applications/Google\ Drive.app/Contents/MacOS` directory which is expected to be owned by root to be owned by a non-root user. When the Drive for Desktop installer is run for the first time, it will place a binary in that directory with execute permissions and set its setuid bit. Since the attacker owns the directory, the attacker can replace the binary with a symlink, causing the installer to set the setuid bit on the symlink. When the symlink is executed, it will run with root permissions. We recommend upgrading past version 64.0

(As written by CVE List.)

## Affected

- Google LLC Drive for Desktop MacOS: from unspecified before 64.0
- google drive: before 64.0

## Every score

- Google: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://support.google.com/a/answer/7577057?hl=en> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2022-3421](https://www.cve.org/CVERecord?id=CVE-2022-3421), CVE Terms of Use, modified 2025-04-21
- NVD: [CVE-2022-3421](https://nvd.nist.gov/vuln/detail/CVE-2022-3421), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-3421 · Whole record: https://cve.day/CVE-2022-3421.json · Rebuilt by cve.day 2026-11-25T22:58:15.781Z
