Skip to main content

hermes-agent CVE-2026-9352

| EUVDEUVD-2026-31564 MEDIUM
Information Exposure (CWE-200)
2026-05-24 VulDB GHSA-8r48-r96c-p95w
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Scan for hermes-agent endpoints
  2. Delivery
    Send crafted request to Messaging Gateway Handler
  3. Exploit
    Trigger _make_run_env function
  4. Execution
    Extract environment configuration data
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hermes-agent 2026.4.16
hermes-agent 2026.4.15
hermes-agent 2026.4.19
hermes-agent 2026.4.6
hermes-agent 2026.4.17
hermes-agent 2026.4.2
hermes-agent 2026.4.0
hermes-agent 2026.4.12
hermes-agent 2026.4.5
hermes-agent 2026.4.18
hermes-agent 2026.4.11
hermes-agent 2026.4.4
hermes-agent 2026.4.3
hermes-agent 2026.4.20
hermes-agent 2026.4.10
hermes-agent 2026.4.1
hermes-agent 2026.4.21
hermes-agent 2026.4.22
hermes-agent 2026.4.23
hermes-agent 2026.4.13
hermes-agent 2026.4.8
hermes-agent 2026.4.9
hermes-agent 2026.4.7
hermes-agent 2026.4.14

Affected Packages

euvd hermes_agent no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 19:52 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-71963 HIGH POC
8.6 Sep 03

Remote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary

CVE-2026-9367 MEDIUM POC
5.5 May 24

Remote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands

CVE-2026-14628 MEDIUM POC
5.5 Jul 04

Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the

CVE-2026-9368 MEDIUM POC
5.5 May 24

Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula

CVE-2026-7396 MEDIUM POC
5.5 Apr 29

Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker

CVE-2026-10221 MEDIUM POC
5.5 Jun 01

Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _comp

CVE-2026-10220 MEDIUM POC
5.5 Jun 01

Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t

CVE-2026-9366 MEDIUM POC
5.5 May 24

Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi

CVE-2026-10224 MEDIUM POC
5.5 Jun 01

Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy