---
id: 2026-11-agent-device-0-21-36-remote-open-file-url-local-file-disclosure-cve-2026-129130-fixed-0-21-37
title: "agent-device 0.21.36: a remote caller with a daemon token can read host files through `file://` navigation (CVE-2026-129130); upgrade to 0.21.37"
date_disclosed: 2026-11-13
last_updated: 2026-11-14
severity: high
status: patched
ecosystems: [npm, javascript, ai-agents, mobile, browser-automation]
tools_affected: ["agent-device (npm) 0.21.36", "agent-device daemons that accept remote `/rpc` callers", "coding agents that drive devices or a managed browser through a shared agent-device daemon"]
tags: [cve, agent-device, callstack, npm, ai-agents, local-file-disclosure, browser-automation, authenticated, patched]
---

## TL;DR
agent-device 0.21.36, Callstack's device and browser automation CLI for AI agents, let an authenticated remote caller open a `file://` URL in the managed browser and read the result with `snapshot`. That returns any plaintext file the daemon's account can read. Only 0.21.36 is listed as affected. It was on npm from 2026-11-02 until 0.21.37 on 2026-11-12. Upgrade to 0.21.37.

## What happened

The vendor advisory GHSA-g87j-p64h-w8wc was published on 2026-11-13. It rates the bug High, CVSS 3.1 7.7 (`AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`), affected `=0.21.36`, patched 0.21.37. It says the caller needs a valid bearer token for the `/rpc` endpoint, and that the remote host input policy did not inspect URL schemes for the web `open` command. The page lists no workaround and credits naroSEC.

VulnCheck published CVE-2026-129130 the same day with the same range and two scores of its own: CVSS 4.0 7.1 and CVSS 3.1 6.5 with scope unchanged. The vendor page printed "No known CVE" when read on 2026-11-14. The scores differ on scope only. This file keeps `high`.

Registry facts, read 2026-11-14: 0.21.35 on 2026-10-29, 0.21.36 on 2026-11-02, 0.21.37 on 2026-11-12, `latest` 0.21.37. npm counted 682,584 downloads in the week 2026-11-07 to 2026-11-13. The package's repository field points to `callstack/agent-device`.

## Am I affected?

```bash
npm ls agent-device
npm ls -g agent-device
```

- Version 0.21.36, and the daemon accepts callers other than you.
- A local-only daemon with one user is not the case the advisory describes.

## If you are affected

1. Upgrade to 0.21.37.
2. If other people or agents held a daemon token between 2026-11-02 and your upgrade, treat files readable by the daemon account as read. Rotate keys kept in that account's home directory. This step is this file's advice.

## Prevention

- Run automation daemons under an account with no credentials in its home directory, and do not expose `/rpc` beyond the hosts that need it.
- See [prevention/agent-sandboxing.md](../prevention/agent-sandboxing.md).

## Sources

- [GHSA-g87j-p64h-w8wc](https://github.com/callstack/agent-device/security/advisories/GHSA-g87j-p64h-w8wc), fetched 2026-11-14: published 2026-11-13, score, range, impact, credit, "No known CVE".
- [CVE Services: CVE-2026-129130](https://cveawg.mitre.org/api/cve/CVE-2026-129130), fetched 2026-11-14: VulnCheck, 2026-11-13, range, both scores, the reference to the vendor advisory.
- `npm view agent-device time dist-tags repository.url` and `api.npmjs.org/downloads/point/last-week/agent-device`, run 2026-11-14.
- Not covered: the fix commit, the release notes and VulnCheck's advisory page.
