# CVE-2022-25328: Privilege escalation through command injection in fscrypt

- Priority: **Routine**
- Reason: Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-02-25 · Modified: 2025-04-21
- Aliases: UBUNTU-CVE-2022-25328, DEBIAN-CVE-2022-25328, GHSA-wxjg-p59j-6c92
- Record: https://cvemate.com/vulnerability/CVE-2022-25328 · JSON: https://cvemate.com/vulnerability/CVE-2022-25328/json

## Description

```text
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
```

## Signals

- CVSS: 7.3 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.202%, percentile 10.758%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian fscrypt (Debian): \< 0.3.3-1
- ubuntu fscrypt (Ubuntu): \< 0.3.3-1
- github.com/google fscrypt (Go): \< 0.3.3
- google llc fscrypt: ≥ unspecified, ≤ 0.3.2
- google fscrypt: \< 0.3.3

## References

- <https://github.com/google/fscrypt/pull/346>
- <https://ubuntu.com/security/CVE-2022-25328>
- <https://www.openwall.com/lists/oss-security/2022/02/24/1>
- <https://github.com/google/fscrypt/commit/fa1a1fdbdea65829ce24a6b6f86ce2961e465b02>
- <https://www.cve.org/CVERecord?id=CVE-2022-25328>
- <https://security-tracker.debian.org/tracker/CVE-2022-25328>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25328>
- <https://github.com/google/fscrypt>

---

Data as of 2026-12-05T02:45:34.628Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
