Description
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
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fscrypt | unspecified – ≤ 0.3.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fscrypt | 0.3.3-1 | — |
| Debian 13 | fscrypt | 0.3.3-1 | — |
| Debian 12 | fscrypt | 0.3.3-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fscrypt | 0.3.3-1.1 | openSUSE-SU-2024:11902-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/google/fscrypt | < 0.3.3 | 0.3.3 | GHSA-wxjg-p59j-6c92 |
Advisories 1
- openSUSE-SU-2024:11902-1 fscrypt-0.3.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026