patchminder
Proof of concept · GitHub CVE-2022-3328

Race conditionin Canonical snapd.

Published 8 Jan 2024 · Updated 3 Jun 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.8
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.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.57.6, 2.61.1
In plain words

Race condition in snap-confine's must_mkdir_and_open_with_perms()

What to do now
  • Upgrade snapd to 2.61.1 or later.
  • Upgrade github.com/snapcore/snapd (Go) to 2.57.6 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
snapd
before 2.61.1
2.61.1
CVE record
github.com/snapcore/snapd (Go)
before 2.57.6
2.57.6
GitHub advisory
github.com/snapcore/snapd (Go)
all versions
Not confirmed
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. 27 Sep 2022
    CVE ID reserved by canonical.
  2. 1 Dec 2022
    First public proof of concept on GitHub.
  3. 8 Jan 2024
    Published in the CVE List.
  4. 3 Jun 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundMr-xn/CVE-2022-33284 stars · created 1 Dec 2022CVE-2022-3328 with CVE-2022-41974 and CVE-2022-41973

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 snapd vulnerabilities

Same weakness: Race condition

All CWE-362 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-3328: Race condition in Canonical snapd. https://patchminder.com/cve/cve-2022-3328/ (accessed 5 December 2026).