What the file could carry
Hermes Agent is an open-source agent from Nous Research, built to run tool-using workflows across CLI, desktop, and several different messaging interfaces for its users. In every version from 0.21.6 through 0.23.1, it read a screen-environment file that the backend itself could write, without checking a single key or value inside it at all. It trusted the file completely.
When Bot Desktop ran inside a docker or ssh backend, that same file was writable from inside the backend itself, by anything running there. Those KEY=VALUE lines were merged straight into the environment of processes started on the agent's own machine, a boundary the file was never meant to cross at all. The boundary dissolved quietly.
Code already running inside the container could therefore set LD_PRELOAD, DYLD_INSERT_LIBRARIES, or PATH before the next launch ever happened. The very next browser or computer-use spawn then ran that code as the gateway user, with access to credentials, tokens, and session history stored under the Hermes home directory. The next spawn obeyed it.
Who was exposed
The default local backend was not affected, and neither were remote backends that cannot host a screen, such as Modal, Daytona, and Vercel. Hermes Cloud in its default configuration was not affected either, which narrows the set of exposed deployments to a specific handful of self-hosted remote terminal setups. The exposure was narrow but real.
The advisory rates the flaw high, at 7.8 on the CVSS scale, but the attack needs local access and a high degree of complexity to pull off in practice. The CVE record's SSVC estimate puts exploitation at none, and notes that CISA has not assessed the CVE, so the real-world signal remains quiet. That lowers the urgency considerably.
How much to read into it
A flaw that needs a hostile container already running inside the backend is a much smaller problem than one reachable from the open internet. The pattern underneath is old. An agent trusts a file its own sandbox can write, and that trust walks straight through an isolation boundary the project had already declared.
Log take: The agent treated its own sandbox as a safe, trusted place to read configuration from, and that assumption did the damage. In practice the sandbox is a place a hostile container may already be standing inside, with write access to files the host process will later trust. (Interpretation; vendor advisory, no known exploitation.)
Sources
- GitHub Security Advisory GHSA-p22p-9ph6-gmrh, "Bot Desktop screen env file from the terminal backend sets arbitrary environment variables for agent-machine processes" (19 Nov 2026)
- OpenAdvisories, CVE-2026-130164 record, "Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends" (23 Nov 2026)
