CVE-2022-25328Google Fscrypt
High 7.3
Follow: this CVE · Google · Google Fscrypt We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 7.3
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 6
- Auth required
- Yes
- Published
- Feb 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
The bash_completion script for fscrypt allows injection of commands via crafted mountpoint paths, allowing privilege escalation under a specific set of circumstances. A local user who has control over mountpoint paths could potentially escalate their privileges if they create a malicious mountpoint path and if the system administrator happens to be using the fscrypt bash completion script to complete mountpoint paths. We recommend upgrading to version 0.3.3 or above
What to do
- Apply the vendor's security update for Fscrypt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/google/fscrypt |
< 0.3.3 |
0.3.3 |
go get github.com/google/fscrypt@v0.3.3 |
Per OSV / GitHub Advisories (GHSA-wxjg-p59j-6c92). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fscrypt | < 0.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory