Description
A sandbox escape vulnerability exists in the OpenJDK packages provided in Ubuntu. The .jar MIME handlers installed by these packages execute files marked as executable when the mailcap package is installed. A compromised or malicious sandboxed application with access to the OpenURI portal via xdg-desktop-portal-gtk can write a malicious .jar file to the host file system, set its executable bit, and trigger the handler to execute arbitrary code outside of the sandbox environment.
Published: 2026-07-08
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability in Ubuntu’s OpenJDK packages allows an attacker to escape a sandboxed application by creating an executable .jar file on the host system. When the mailcap package is present, the operating system automatically executes .jar files that have the executable bit set. This improper input validation (CWE‑20) enables an attacker to run arbitrary code outside the sandbox, potentially leading to full system compromise. The flaw requires the exploit chain to involve a malicious or compromised sandboxed application that can access the OpenURI portal via xdg-desktop-portal-gtk to write the malicious archive to disk.

Affected Systems

Any Ubuntu installation containing the OpenJDK packages together with the mailcap package and the xdg-desktop-portal-gtk component is affected. No specific package version range is provided, so the vulnerability applies to any such installation.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.8, indicating high severity, while the EPSS score of <1% suggests a very low probability of exploitation at present, and it has not been listed in the CISA KEV catalog. The likely attack path involves a sandboxed application with OpenURI portal access that writes a malicious .jar file to the host file system, marks it executable, and then triggers the system’s MIME handler to execute it, thereby bypassing the sandbox and granting the attacker arbitrary code execution on the host.

Generated by OpenCVE AI on July 29, 2026 at 13:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official OpenJDK update from Ubuntu as soon as it becomes available.
  • Disable or uninstall the mailcap package so that .jar MIME handlers are not automatically executed.
  • Restrict or disable the xdg-desktop-portal-gtk service to prevent sandboxed applications from using the OpenURI portal.

Generated by OpenCVE AI on July 29, 2026 at 13:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8518-1 mailcap vulnerability
History

Tue, 14 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

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


Thu, 09 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Vendors & Products Canonical
Canonical ubuntu

Wed, 08 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description A sandbox escape vulnerability exists in the OpenJDK packages provided in Ubuntu. The .jar MIME handlers installed by these packages execute files marked as executable when the mailcap package is installed. A compromised or malicious sandboxed application with access to the OpenURI portal via xdg-desktop-portal-gtk can write a malicious .jar file to the host file system, set its executable bit, and trigger the handler to execute arbitrary code outside of the sandbox environment.
Title Sandbox Escape in Ubuntu OpenJDK Packages via xdg-desktop-portal
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Canonical Ubuntu
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-07-14T14:33:19.237Z

Reserved: 2026-05-28T19:27:23.004Z

Link: CVE-2026-10037

cve-icon Vulnrichment

Updated: 2026-07-09T12:59:41.191Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T13:15:05Z

Weaknesses
  • CWE-20

    Improper Input Validation