CVE-2022-25328

Privilege escalation through command injection in fscrypt

Published Feb 25, 2022 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1242 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
Github GHSA Github GHSA GHSA-wxjg-p59j-6c92 Command injection in github.com/google/fscrypt
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Apr 21, 2025, 1:56 PM
Reserved
Feb 18, 2022, 12:00 AM
Status
Modified
Published
Feb 25, 2022, 11:15 AM
Modified
Jun 17, 2026, 4:33 AM