A remote caller already holding a valid agent-device bearer token could invoke its browser open RPC with an argument such as a file:// destination. The remote-host guard examined path arguments but failed to apply scheme restrictions to the browser URL supplied in positionals[0]. When the managed browser accepted that navigation, the ordinary snapshot operat…
Case · DiggingBeagle record
An authenticated agent-device browser RPC could read local files through a file URL
A navigation-scheme validation gap let an authenticated remote agent-device caller open a local file URL in the managed browser and retrieve readable content through snapshot output; version 0.21.37 fixes the path.
Published by DiggingBeagle:
agent-device 0.21.36 affected, 0.21.37 fixed; authenticated remote browser RPC and local file readability required. No confirmed real customer file theft.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Maintainer advisory includes a bounded reproduction and fixed version, with a documented authenticated precondition and no field-victim count.
Assessed Nov 16, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-AGENTDEVICE-01 · CLM-AGENTDEVICE-02 · agent-device advisory: file-scheme read through browser snapshot
At a glance
The boundary failed at browser navigation, after the caller had passed the RPC authentication check: authorization to use a browser did not imply permission to read files accessible to its host account. The demonstrated effect was the snapshot of an attacker-named local file; extraction of another tenant’s credentials would require that file to exist, be…
Read the implicationsThe published proof used an authorized caller and test file, not a real compromised customer. Files outside the browser daemon’s OS permissions were not shown readable.
Limits and uncertaintyFull account
A remote caller already holding a valid agent-device bearer token could invoke its browser open RPC with an argument such as a file:// destination. The remote-host guard examined path arguments but failed to apply scheme restrictions to the browser URL supplied in positionals[0]. When the managed browser accepted that navigation, the ordinary snapshot operation returned text from local files readable by the daemon account. The public advisory includes a benign marker-file demonstration rather than reporting a customer breach.
The vulnerability illustrates a specific permission mismatch: authentication to drive a browser is not authorization to read the machine’s filesystem. A model can be given a browser tool ostensibly intended for navigating websites while the underlying browser process has access to local service keys, credentials or other private files. In this case an attacker still needed the valid RPC token and a known readable path; the issue was not an anonymous network directory traversal or an arbitrary privilege escalation in the operating system.
If a high-trust browser process carries model-service tokens or a home directory, the escalation could be severe, but only within the permissions of the running service and paths the caller can specify. The immediate fix is version 0.21.37 and scheme validation at the RPC boundary. Separately, a dedicated least-privilege browser account and a deny-by-default navigation scheme allowlist limit what a future validation bug could expose.
Mechanism and trust boundary
- 01
Starting access and objective
An authenticated remote caller can submit a browser navigation URL to agent-device.
Boundary: attacker or evaluator precondition
- 02
Trust or execution boundary
Scheme validation omits file URLs at the RPC boundary, granting the browser process access to daemon-readable local files.
Boundary: untrusted material and acquired authority
- 03
Observed result and limit
The browser snapshot exposes a controlled local test file; no anonymous access, OS privilege escalation or real secret disclosure was documented.
Boundary: measured effect and evidentiary limit
Claims & evidence
CLM-AGENTDEVICE-01The agent-device advisory reports that authenticated browser RPC navigation could open a local file URL and return its contents through a snapshot.supported
Basis: reported finding
- supportsagent-device advisory: file-scheme read through browser snapshotprimary disclosure
GHSA-g87j-p64h-w8wc, Impact and Proof of Concept
CLM-AGENTDEVICE-02The reported affected version is 0.21.36 and the fixed version 0.21.37; the proof does not claim anonymous remote access.supported
Basis: reported finding
- supportsagent-device advisory: file-scheme read through browser snapshotprimary disclosure
Affected versions and patched version
CLM-ENR253-AGENT-DEVICE-BROWSER-FILE-SNAPSHOTThe maintainer reproducer requires an authenticated remote agent-device caller, a file:// navigation target and a snapshot read: it does not demonstrate unauthenticated retrieval or access outside the browser process’s OS permissions.supported
Basis: reported finding
- supportsagent-device advisory: file-scheme read through browser snapshotprimary disclosure
GHSA-g87j-p64h-w8wc, Impact, Proof of Concept and Patched Versions
Implications
The boundary failed at browser navigation, after the caller had passed the RPC authentication check: authorization to use a browser did not imply permission to read files accessible to its host account. The demonstrated effect was the snapshot of an attacker-named local file; extraction of another tenant’s credentials would require that file to exist, be known and be readable by the browser process. Upgrade the affected release, reject local-file schemes in every navigation entry point and run browser workers without host secrets. A successful upgrade cannot revoke secrets already exposed before remediation.
Controls and mitigations
- Upgrade to agent-device 0.21.37 or later and reject non-HTTP(S) navigation schemes at every RPC entry point.
- Run browser workers under dedicated OS users without service credentials or host-mounted secrets, and log file-scheme navigation attempts.
- Test URL normalization, percent encoding, redirects and snapshot behavior as part of browser-tool security regression.
Unknowns and contradictions
- The published proof used an authorized caller and test file, not a real compromised customer.
- Files outside the browser daemon’s OS permissions were not shown readable.
Sources and citation
Material revision history
- Nov 16, 2026 · Published version · first publication · revision 254