OpenJDK Sandbox Escape via .jar MIME Handler on Ubuntu
CVE-2026-10037 Published on July 8, 2026
Sandbox Escape in Ubuntu OpenJDK Packages via xdg-desktop-portal
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.
Vulnerability Analysis
CVE-2026-10037 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Versions
Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu: Canonical Ubuntu:- Before 3.70+nmu1ubuntu1.22.04.1 is affected.
- Before 3.70+nmu1ubuntu1.24.04.1 is affected.
- Before 3.74ubuntu1.1 is affected.
- Before 3.75ubuntu1.1 is affected.