The victim never shared its graphics buffer. A second app could not look it
up through the normal IOSurface API. The GPU driver handed the second app a
port for it anyway.
That was the boundary we crossed in our
CVE-2026-112533
research. On a Mac with SIP enabled, we ran two separate sandboxed apps. One
rendered a distinctive color into its live NSOpenGL drawable. The other
attached to that drawable by ID, read its pixels, and wrote a marker into the
same surface. No shared app group, root access, Screen Recording permission,
or prompt was involved.
Key findings
- An App Sandbox process could open the
AGXAcceleratorG17Gdrawable user client, supply another process's drawable ID, and obtain Mach ports for its backingIOSurfacebuffers. - The direct sharing route provided a negative control:
IOSurfaceLookupreturned no surfaces in the scanned range, including the exact surface ID the GPU path later exposed. - The attacker's read returned the victim's chosen BGRA pixel pattern. A read-write lock let it overwrite 16 bytes of the victim-owned surface; a fresh GPU connection read the marker back.
- The demonstrated scope is cross-process read and modification of live OpenGL drawable surfaces, not arbitrary screen capture, kernel memory access, or code execution.
At a glance
| Detail | Finding |
|---|---|
| Component | IOGPUFamily drawable client for AGXAcceleratorG17G |
| Tested build | macOS 27.0 26A5368g on an Apple M5 Mac, SIP enabled |
| Starting context | Ad-hoc-signed app with only com.apple.security.app-sandbox |
| Boundary crossed | One app's private NSOpenGL drawable to another app's GPU client |
| Demonstrated impact | Victim pixel read and confirmed write to its backing IOSurface |
| Public severity | CISA ADP CVSS 3.1 5.5 Medium |
| Fixed in | macOS Golden Gate 27.2, Tahoe 26.7.2, Sequoia 15.8.2 |
An ID is not permission
An NSOpenGL drawable needs backing storage for the pixels an app renders.
On the tested Apple silicon GPU, that storage could be reached through an
IOGPU drawable user client. The client accepted a drawable ID through one
method, then returned a Mach port for one of its IOSurface buffers through
another.
Open drawable user client (type 7)
-> attach caller-selected drawable ID (selector 1)
-> request buffer Mach port (selector 5)
-> map IOSurface and read or write its bytes
The missing question was who owned the named drawable. The ID was enough to
find it in the tested path; the caller did not have to be the process that
created it. Once the GPU client returned the port, ordinary IOSurface locks
gave the caller access to the buffer.
This was not a case where the victim voluntarily shared a surface. Direct
IOSurfaceLookup refused the same surface. The unauthorized handle came from
the drawable route.
Two apps and one unmistakable color
We used a synthetic victim rather than another person's application. It
created an accelerated, 256-by-256 NSOpenGL drawable and cleared it to a
known color. In BGRA memory order, the first pixel bytes were:
66 33 cc ff
The attacker app had a different bundle identifier and its own sandbox
container. Its runtime checks showed that HOME was redirected into that
container and a direct read of the real home directory was denied. It made
no matching drawable and never rendered the victim's color.
Before touching the GPU path, the attacker scanned IOSurface IDs 1 through
65,535. Direct lookup found zero accessible surfaces. It then opened the
GPU drawable client and found the victim's drawable at ID 0x108 in the
reference run. The returned buffer had global IOSurface ID 262, which
lay inside the range the direct scan had already checked. Its first 16 bytes
were four copies of the victim-only color.
| Check | Observed result |
|---|---|
| Attacker App Sandbox active | Yes; container home and denied real-home read |
Direct IOSurfaceLookup(262) |
No surface returned |
| GPU drawable buffer | IOSurface 262; victim's 66 33 cc ff pixels returned |
| Separate write-and-read-back | Exact 16-byte marker recovered through a fresh connection |
The numeric IDs are incidental; they change between runs. What matters is the relationship: the exact surface direct lookup refused was the surface the drawable client exposed.
The path was writable too
The first read established disclosure. We then tested whether the returned
surface was read-only. It was not. Through one drawable connection, the
attacker took a read-write IOSurface lock and wrote a 16-byte marker:
de ad be ef ca fe ba be 11 22 33 44 55 66 77 88
After closing that connection, a new connection attached to the same drawable and read the marker back. That second read matters: it shows the bytes were changed in shared surface storage, not merely in the first connection's local copy.
Our test establishes modification of a victim-owned drawable buffer. It does not claim that the marker stayed visible on screen after later OpenGL frames, or that every macOS window uses this path. The exposed surface is the live OpenGL drawable on the GPU configuration we tested.
Why this boundary matters
Apple's advisory describes the issue as an app gaining access to sensitive user data and credits Sihyun Roh (Compsec, SNU) and Andrey Chernykh (BypassLabs.AI). Our proof gives the access failure a concrete shape: a sandboxed app read another process's pixels from a surface it could not obtain through the intended sharing API. The same GPU route also allowed a confirmed write to that surface.
The GPU client had a legitimate reason to resolve a drawable ID, but that ID was not proof of ownership. The paired apps made the missing check visible: direct lookup refused the victim's surface, while the drawable route returned a portable handle to it. We could demonstrate both read and write without using a real person's screen contents.
Disclosure notes
We validated the paired-app read and write on macOS 27.0 beta build 26A5368g, then reported the ownership gap and matched controls to Apple. Apple credits Sihyun Roh (Compsec, SNU) and Andrey Chernykh (BypassLabs.AI).
Remediation
Install a fixed release for your macOS branch, or a later security update:
Use Software Update to install the update. The tested vulnerable builds are documented above; the fixed versions come from Apple’s CVE record.
Disclosure timeline
Apple ships the fix
macOS Golden Gate 27.2, macOS Tahoe 26.7.2, macOS Sequoia 15.8.2 are released and the CVE record is published.
Sources & references
- Apple security content: macOS Golden Gate 27.2support.apple.com
- Apple security content: macOS Tahoe 26.7.2support.apple.com
- Apple security content: macOS Sequoia 15.8.2support.apple.com
- CVE-2026-112533 — official recordcve.org
- CVE record data — dates and CISA ADP severity assessmentcveawg.mitre.org
- Apple Support — update macOSsupport.apple.com