patchminder
No public exploit found CVE-2022-25328

Command injectionin Google fscrypt.

Published 25 Feb 2022 · Updated 21 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 5.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.3.3 or later
In plain words

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

What to do now
  • Upgrade github.com/google/fscrypt (Go) to 0.3.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
fscrypt
0.3.2 and earlier
Not confirmed
CVE record
github.com/google/fscrypt (Go)
before 0.3.3
0.3.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Feb 2022
    CVE ID reserved by Google.
  2. 25 Feb 2022
    Published in the CVE List.
  3. 21 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other fscrypt vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-25328: Command injection in Google fscrypt. https://patchminder.com/cve/cve-2022-25328/ (accessed 5 December 2026).