CWE-669Weakness · CWE-669

CVE-2026-48831

HIGH · 7.3 CVSS v4.0 Published 2026-05-24
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
76/100
Remediation priority · High
No privileges

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 · unedited
Wine 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 confidence

Wine 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.

MitigationDisable 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Verify Wine is installed on the system
    Run '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
  2. Check for Wine MIME handler desktop file
    Look 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/null
    Affected if A Wine .desktop file exists and is registered as a handler for executable MIME types
  3. Inspect registered MIME handlers for executable types
    Run '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; done
    Affected if The default handler for any Windows executable MIME type is a Wine-related .desktop file
  4. Verify sandbox environment is in use
    Check 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
  5. Check if desktop environment auto-opens EXE files with Wine
    Attempt 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 registered
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Disable 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.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA4.0 h
22.0 hours of engineering $3,860
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-48831 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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