# GHSA-w4f8-fxq2-j35v: Possible privilege escalation via bash completion script

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-03-01T21:04:57.000Z
- Modified: 2022-03-01T21:04:57.000Z

## Description

The bash completion script for `fscrypt` through v0.3.2 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 v0.3.3 or above.

For more details, see [CVE-2022-25328](https://www.cve.org/CVERecord?id=CVE-2022-25328).

(As written by GitHub Advisory Database.)

## Affected

- github.com/google/fscrypt (Go): before 0.3.3

## References

- <https://github.com/google/fscrypt/security/advisories/GHSA-w4f8-fxq2-j35v> (web)

## Sources

- GitHub Advisory Database: [GHSA-w4f8-fxq2-j35v](https://github.com/advisories/GHSA-w4f8-fxq2-j35v), CC-BY-4.0, modified 2022-03-01

---

Page: https://cve.day/GHSA-w4f8-fxq2-j35v · Whole record: https://cve.day/GHSA-w4f8-fxq2-j35v.json · Rebuilt by cve.day 2026-11-25T22:56:22.577Z
