CVE-2026-48831
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWine ships a .desktop file that registers itself as a MIME handler for EXE files and several other Windows executable file types. In some configurations, handling of an EXE file causes that file to be blindly executed with the permissions of the invoker. This allows escaping Flatpak and Snap sandboxes, because MIME handlers are not intended for use by code interpreters and loaders. NOTE: some parties feel that this is not a bug to be addressed in Wine, because there is no known solution that avoids a severe loss of usability (Wine could be a binfmt-misc handler, but binfmt-misc does not exist on all platforms supported by Wine).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWine registers a .desktop file as a MIME handler for EXE and other Windows executable types. When triggered, Wine blindly executes the referenced file with the permissions of the invoking user. This allows escaping Flatpak and Snap sandbox containment because MIME handlers are designed for document opening, not code interpretation, bypassing sandbox isolation that expects MIME handlers to be safe.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- Authentication
- None
- User interaction
- P
- Scope
- X
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:X/V:D/RE:X/U:Clear
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify Wine is installed on the systemRun 'which wine' or check your package manager for wine packages (wine, wine64, wine-stable, etc.)Affected if Wine is installed and the system uses a desktop environment that supports MIME type associations
-
Check for Wine MIME handler desktop fileLook for Wine .desktop files in ~/.local/share/applications/ or /usr/share/applications/ that handle executable MIME types. Search for files containing 'Wine' and executable extensions: find ~/.local/share/applications/ /usr/share/applications/ -name '*.desktop' 2>/dev/null | xargs grep -l -E '(application/x-executable|application/x-msdos-program|exe|application/x-wineextension)' 2>/dev/nullAffected if A Wine .desktop file exists and is registered as a handler for executable MIME types
-
Inspect registered MIME handlers for executable typesRun 'xdg-mime query default' for common Windows executable types: xdg-mime query default application/x-executable; xdg-mime query default application/x-msdos-program; xdg-mime query default application/x-msi; for ext in .exe .msi .bat .cmd .com .ps1; do xdg-mime query default "application/x-$ext" 2>/dev/null || xdg-mime query default "application/x-executable$ext" 2>/dev/null; doneAffected if The default handler for any Windows executable MIME type is a Wine-related .desktop file
-
Verify sandbox environment is in useCheck if running inside Flatpak or Snap: 'flatpak info self 2>/dev/null' or 'snap list 2>/dev/null'. Also check for sandboxing environment variables: 'env | grep -i sandbox' or 'env | grep -i flatpak'Affected if Wine is installed within a sandboxed environment (Flatpak or Snap) and the MIME handler is active
-
Check if desktop environment auto-opens EXE files with WineAttempt to open an EXE file through the desktop (if safe to test) or inspect: gio mime application/x-executable (GNOME) or kde-mime-settings (KDE) to see what handler is registeredAffected if Opening an EXE file through the desktop environment invokes Wine directly via MIME association rather than a safe application chooser
If Wine is installed and its .desktop file is registered as the default handler for any Windows executable MIME type (especially in a Flatpak or Snap environment), the system is vulnerable to this bypass of sandbox isolation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataDisable Wine's MIME handler registration for executable types by removing or not installing the Wine .desktop file, or configure sandboxing tools to block Wine's MIME handler associations to prevent sandbox escape.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-48831 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48831 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data