CVE-2026-130164

Source
https://cve.org/CVERecord?id=CVE-2026-130164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-130164
Aliases
  • GHSA-p22p-9ph6-gmrh
Published
2026-11-23T20:18:45Z
Modified
2026-11-23T22:00:23Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends
Details

Hermes Agent is an open-source autonomous AI agent built by Nous Research for running tool-using workflows across CLI, desktop, and messaging interfaces. From 0.21.6 to 0.23.1, when Bot Desktop is hosted inside a non-local terminal backend, the agent process reads a backend-writable screen environment file without validating keys or values and merges its entries into the environment of processes started on the agent machine. Specifically, when terminal.backend is set to docker or ssh (or a plugin backend declaring supports_streams) with placement auto or terminal, _published() in tools/bot_desktop/sandbox_host.py accepts arbitrary KEY=VALUE lines from the hermes-bot-desktop env file and propagates them via tools/bot_desktop/runtime.py into the browser harness, computer-use helpers, and local terminal children. Code running inside the terminal backend can therefore set variables such as LD_PRELOAD, DYLD_INSERT_LIBRARIES, or PATH and gain code execution on the agent machine as the gateway user upon a subsequent browser or computer-use spawn, exposing credentials, tokens, and session history under the Hermes home directory. The default local backend, backends that cannot host a screen (Modal, Daytona, and Vercel), and Hermes Cloud in its default configuration are not affected. This issue is fixed in version 0.23.2.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-15",
        "CWE-426"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130164.json"
}
References

Affected packages

Git / github.com/nousresearch/hermes-agent

Affected ranges

Type
GIT
Repo
https://github.com/nousresearch/hermes-agent
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.21.6"
                },
                {
                    "fixed":  "0.23.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "9c44c34ac74bec800ca25c32e7d5e9b1dd47168d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

abandoned-rc.*
abandoned-rc.1-v0.21.7
abandoned-rc.1-v0.22.0
abandoned-rc.1-v0.22.1
abandoned-rc.1-v0.22.3
abandoned-rc.1-v0.22.4
abandoned-rc.1-v0.22.5
abandoned-rc.1-v0.22.6
abandoned-rc.1-v0.23.0
abandoned-rc.1-v0.23.1
abandoned-rc.10-v0.21.7
abandoned-rc.11-v0.21.7
abandoned-rc.12-v0.21.7
abandoned-rc.13-v0.21.7
abandoned-rc.14-v0.21.7
abandoned-rc.2-v0.21.7
abandoned-rc.2-v0.22.0
abandoned-rc.2-v0.22.1
abandoned-rc.2-v0.22.3
abandoned-rc.2-v0.22.5
abandoned-rc.2-v0.22.6
abandoned-rc.2-v0.23.1
abandoned-rc.3-v0.21.7
abandoned-rc.3-v0.22.1
abandoned-rc.3-v0.22.3
abandoned-rc.4-v0.21.7
abandoned-rc.4-v0.22.1
abandoned-rc.4-v0.22.3
abandoned-rc.5-v0.21.7
abandoned-rc.6-v0.21.7
abandoned-rc.7-v0.21.7
abandoned-rc.8-v0.21.7
abandoned-rc.9-v0.21.7
rc.*
rc.1-v0.21.7
rc.1-v0.22.0
rc.1-v0.22.1
rc.1-v0.22.3
rc.1-v0.22.4
rc.1-v0.22.5
rc.1-v0.22.6
rc.1-v0.22.7
rc.1-v0.23.0
rc.1-v0.23.1
rc.10-v0.21.7
rc.11-v0.21.7
rc.12-v0.21.7
rc.13-v0.21.7
rc.14-v0.21.7
rc.15-v0.21.7
rc.2-v0.21.7
rc.2-v0.22.0
rc.2-v0.22.1
rc.2-v0.22.3
rc.2-v0.22.4
rc.2-v0.22.5
rc.2-v0.22.6
rc.2-v0.23.0
rc.2-v0.23.1
rc.3-v0.21.7
rc.3-v0.22.0
rc.3-v0.22.1
rc.3-v0.22.3
rc.3-v0.22.5
rc.3-v0.22.6
rc.3-v0.23.1
rc.4-v0.21.6
rc.4-v0.21.7
rc.4-v0.22.1
rc.4-v0.22.3
rc.5-v0.21.7
rc.5-v0.22.1
rc.5-v0.22.3
rc.6-v0.21.7
rc.7-v0.21.7
rc.8-v0.21.7
rc.9-v0.21.7
v0.*
v0.21.6
v0.21.7
v0.22.0
v0.22.1
v0.22.3
v0.22.4
v0.22.5
v0.22.6
v0.22.7
v0.23.0
v0.23.0+canary.20261109T065146Z
v0.23.1
v0.23.1+canary.20261110T064422Z
v0.23.1+canary.20261111T064456Z
v0.23.1+canary.20261112T064528Z

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130164.json"