Security Resilience

CVE-2026-130164

LPE in NousResearch hermes-agent

Published
23 November 2026
Modified
23 November 2026
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0016 5th percentile
Risk Priority 53 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-130164 is a high-severity External Control of System or Configuration Setting (CWE-15) vulnerability in NousResearch hermes-agent (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Startup Items (T1037.005); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
AI Agent Protocols and Integrations
Risk Domain
N/A
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: ai

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1037.005 Startup Items Persistence
Adversaries may use startup items automatically executed at boot initialization to establish persistence.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1112 Modify Registry Defense Impairment
Adversaries may interact with the Windows Registry as part of a variety of other techniques to aid in defense evasion, persistence, and execution.
T1137.002 Office Test Persistence
Adversaries may abuse the Microsoft Office "Office Test" Registry key to obtain persistence on a compromised system.
T1137.004 Outlook Home Page Persistence
Adversaries may abuse Microsoft Outlook's Home Page feature to obtain persistence on a compromised system.
T1547.001 Registry Run Keys / Startup Folder Persistence
Adversaries may achieve persistence by adding a program to a startup folder or referencing it with a Registry run key.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-19592Shared CWE-15
CVE-2026-87987Shared CWE-15
CVE-2026-27203Shared CWE-15
CVE-2026-66065Shared CWE-15
CVE-2023-46248Shared CWE-15
CVE-2024-39800Shared CWE-15
CVE-2024-39793Shared CWE-15
CVE-2026-22177Shared CWE-15
CVE-2025-41452Shared CWE-15
CVE-2026-130744Shared CWE-15

Affected Assets

NousResearch
hermes-agent
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces approved authorizations for logical access to configuration resources so external parties cannot alter them.

Enforces documented access restrictions on all changes to system configuration, directly blocking unauthorized external control of settings.

Limits privileges to the minimum needed, reducing the set of users who can externally modify configuration.

Secure baseline settings can enforce absolute, organization-controlled paths for critical resources.

Least-functionality configuration can prohibit unapproved directories or executables from being reachable via search paths.

Engineering principles such as trusted paths, complete mediation, and least privilege directly require hard-coded or validated search paths instead of external ones.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-05 full match
blocks

Preventing execution of unauthorized code directly blocks the malicious binaries that an untrusted search path would load.

PR.PS-01 mostly match
blocks

Hardened configuration baselines and change controls directly limit external manipulation of settings.

PR.PS-06 mostly match
blocks

Secure development practices include avoiding or sanitizing externally influenced search paths in application code.

ID.RA-07 partial match
blocks

Formal change and exception management catches externally driven configuration alterations.

PR.AA-05 partial match
blocks

Least-privilege access policies reduce unauthorized external modification of configuration values.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Privileged access rights reduce the number of users who can alter configuration.

finds

A.8.29's combined programme of code review, vulnerability scanning, and penetration testing discovers externally-controlled configuration settings in both first-party code and acquired products, but a nameable remainder exists in settings that are only exploitable through complex, multi-step attack chains that standard penetration testing may not uncover.

blocks

Configuration management directly prevents external tampering with system settings.

finds

A.5.22 governs the supplier relationship — monitoring compliance with agreements, reviewing service reports, conducting supplier audits — and has no technical mechanism (static analysis, code review, dynamic testing) to discover code-level implementation flaws like untrusted search paths in supplier code; this is the governance boundary, parallel to A.5.1 -> CWE-89.

prevents

Training developers about secure coding practices can reduce instances where they pass untrusted input directly to system configuration functions (sethostid, setCatalog, etc.), but this is an implementation-level defect that depends on developer skill and attention; the practice is fallible and a different clause (e.g., A.8.28 secure coding, A.8.29 security testing) carries the stronger effect, matching the A.6.3 -> CWE-598 anchor.

blocks

Use of privileged utility programs is controlled to prevent misuse of configuration tools.

References