Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan for hermes-agent endpoints
-
DeliverySend crafted request to Messaging Gateway Handler
-
ExploitTrigger _make_run_env function
-
ExecutionExtract environment configuration data
-
ImpactExfiltrate sensitive information
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote exploitation against default configurations of NousResearch hermes-agent. No authentication required (PR:N). No user interaction needed (UI:N). Requires the Messaging Gateway Handler component to be network-accessible and the vulnerable _make_run_env function in tools/environments/local.py to be reachable via API endpoints. Attack complexity is low (AC:L), suggesting no special timing, race conditions, or environmental factors needed beyond basic network connectivity to the hermes-agent service. Exploitation is limited to information disclosure only - attacker cannot modify system state (I:N) or disrupt availability (A:N) through this vulnerability alone. |
| Impact | CVSS 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N indicates network-accessible exploitation requiring no authentication or user interaction, but limited to confidentiality impact (C:L) with no integrity or availability consequences. The E:P temporal metric confirms proof-of-concept exploit code exists and is publicly accessible via GitHub Gist. However, RL:X (remediation level unavailable) indicates no vendor patch, which significantly elevates operational risk. The low attack complexity combined with no authentication requirement makes this trivially exploitable despite the moderate CVSS score. Real-world risk is elevated by three factors: (1) public exploit code lowers attacker skill requirements, (2) vendor non-responsiveness suggests no imminent fix, and (3) information disclosure in AI agent frameworks could expose API keys, model configurations, or internal routing information valuable for supply chain attacks. Without EPSS or KEV data, we cannot confirm active exploitation, but the public POC and vendor silence suggest defenders should prioritize assessment over waiting for official guidance. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible hermes-agent deployment by scanning for characteristic API endpoints or service banners. Using the publicly available exploit code from GitHub Gist, they craft HTTP requests targeting the Messaging Gateway Handler that invoke the vulnerable _make_run_env function in tools/environments/local.py. The function improperly returns environment configuration details including API keys, model endpoints, internal network paths, or authentication tokens embedded in runtime variables. The attacker harvests this information to pivot into deeper infrastructure access, compromise connected AI models, or exfiltrate training data repositories. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 24, 2026
Information disclosure in NousResearch hermes-agent allows remote unauthenticated attackers to extract sensitive data via crafted requests to the Messaging Gateway Handler's environment configuration function. The vulnerability affects versions up to 2026.4.23 with publicly available exploit code demonstrating the attack. EPSS data not provided, but public POC availability increases immediate risk. Vendor has not responded to disclosure, suggesting no official patch timeline.
RemediationAI
No official vendor patch is available as NousResearch has not responded to vulnerability disclosure. Organizations running hermes-agent <=2026.4.23 should implement the following compensating controls in order of priority: (1) Restrict network access to the Messaging Gateway Handler using firewall rules or network segmentation to trusted IP ranges only, reducing AV:N to AV:A; trade-off is reduced agent accessibility for legitimate remote clients. (2) Implement authentication proxy or API gateway in front of hermes-agent endpoints to enforce PR:L/PR:H requirements, though this may break existing integrations expecting unauthenticated access. (3) Review tools/environments/local.py code (specifically _make_run_env function) to identify exposed environment variables and sanitize or remove sensitive data from runtime environment; this requires code modification skills and introduces maintenance burden for future updates. (4) Monitor logs for unusual queries to environment configuration endpoints using patterns from the public exploit (https://gist.github.com/YLChen-007/760b3940f708990e535214529c0c7a27). Consider migrating to alternative AI agent frameworks with active security maintenance if NousResearch remains unresponsive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the _make_run_env function within tools/environments/local.py, which handles environment configuration for the Messaging Gateway Handler component of hermes-agent. The affected product (CPE: cpe:2.3:a:nousresearch:hermes-agent) is an AI agent framework from NousResearch. The root cause is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), indicating the function improperly exposes environment variables, configuration details, or internal system information that should remain protected. The Messaging Gateway Handler likely processes incoming agent communication requests, and the _make_run_env function appears responsible for setting up execution contexts with access to potentially sensitive runtime configuration.
Know when Hermes Agent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in NousResearch hermes-agent up to 2026.4.23. This issue affects the function _make_run_env of the file tools/environments/local.py of the component Messaging Gateway Handler. Executing a manipulation can lead to information disclosure. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in NousResearch hermes-agent Security Flaws
View all 5More in Hermes Agent
View allRemote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary
Remote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands
Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the
Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula
Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker
Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _comp
Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t
Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi
Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti
EUVD-2026-31564
GHSA-8r48-r96c-p95w
NVD
CVE.org
EPSS
VulDB
Exploit-DB