CVE-2022-25328
HIGH 7.3CVSS 3.1Command injection in github.com/google/fscrypt
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
- Published
- 25 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-wxjg-p59j-6c92
- Sources
- NVDJSONOSV GHSA-wxjg-p59j-6c92JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fscryptcpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:* |
< 0.3.3 | 0.3.3 | |
| OSV | Go | github.com/google/fscrypt | < 0.3.3 | 0.3.3 |
References
- https://github.com/google/fscrypt/pull/346 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25328 · ADVISORY
- https://github.com/google/fscrypt · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2022)