Skip to main content

hermes-agent CVE-2026-18774

| EUVDEUVD-2026-52764 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-04 VulDB GHSA-pgm4-hcxr-45qw
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege credentials for hermes-agent
  2. Delivery
    Submit crafted internal URL to xAI Image Generation Provider
  3. Exploit
    save_url_image fetches URL server-side
  4. Execution
    Server contacts internal network resource or metadata endpoint
  5. Impact
    Receive response data from internal service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a low-privileged authenticated session on the hermes-agent instance (PR:L in the CVSS 4.0 vector), ruling out fully unauthenticated remote exploitation. The vulnerable code path is specifically the xAI Image Generation Provider component; deployments that do not have this provider configured or enabled are not exposed to this attack surface. Exploitation is further constrained by whatever internal network resources the hermes-agent server process can reach - environments with strict egress filtering will experience reduced impact. No user interaction is required and complexity is low (AC:L, AT:N), meaning once prerequisites are met the attack is straightforward to execute.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects a genuine but constrained risk profile. The vector AV:N/AC:L/AT:N/PR:L/UI:N indicates network-reachable exploitation with low complexity requiring only low-privileged credentials - meaningfully limiting opportunistic mass exploitation but accessible to any authenticated user of the agent. Impact is rated partial across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), consistent with SSRF capabilities: internal service probing, metadata exfiltration, and potential request forgery. The E:P modifier confirms a proof-of-concept exploit exists on GitHub (gist by YLChen-007), elevating near-term exploitation probability above baseline. No CISA KEV listing is present, so confirmed active exploitation in the wild is not established. The vendor did not respond to disclosure, meaning no official patch or advisory exists, leaving all deployed instances exposed indefinitely. For organizations running hermes-agent in environments with accessible internal services or cloud metadata endpoints, real-world risk substantially exceeds what the moderate CVSS score implies.

Exploit ScenarioDerived

An attacker with a low-privileged account on a hermes-agent deployment submits a crafted image URL pointing to an internal cloud metadata endpoint (e.g., http://169.254.169.254/latest/meta-data/iam/security-credentials/) to the xAI Image Generation Provider. The save_url_image function fetches the URL server-side and the response - containing IAM credential material - is returned or logged in a manner accessible to the attacker. A public proof-of-concept demonstrating this technique exists on GitHub.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 04, 2026

Server-side request forgery in NousResearch hermes-agent through version 0.16.0 allows authenticated remote attackers to coerce the server into making arbitrary outbound HTTP requests by supplying a crafted URL to the xAI Image Generation Provider component. The vulnerability resides in the save_url_image function within agent/image_gen_provider.py, which fails to validate or restrict URLs before fetching them server-side. A proof-of-concept exploit has been publicly disclosed on GitHub; no vendor patch exists as the vendor did not respond to disclosure outreach.

RemediationAI

No vendor-released patch has been identified at time of analysis, as the vendor did not respond to disclosure. The most effective compensating control is to disable or remove the xAI Image Generation Provider component entirely if it is not required - this eliminates the vulnerable code path. If the provider must remain active, implement strict egress firewall rules to block the hermes-agent server from reaching RFC 1918 private address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local ranges (169.254.0.0/16, including AWS/GCP/Azure metadata endpoints at 169.254.169.254), and loopback (127.0.0.0/8). Deploying an application-level URL allowlist that restricts the save_url_image function to approved external image hosting domains is the most targeted mitigation, though it requires code modification. Monitoring outbound HTTP logs from the server process for anomalous internal destinations can serve as a detection control. Exploit code is publicly available at https://gist.github.com/YLChen-007/7c71603a25d84f372f2275dd570e99d4 - defenders should review it to understand the exact request structure for detection rule development.

Affected VersionsENISA

hermes-agent 0.16.0
hermes-agent 0.12
hermes-agent 0.13
hermes-agent 0.8
hermes-agent 0.11
hermes-agent 0.10
hermes-agent 0.6
hermes-agent 0.3
hermes-agent 0.2
hermes-agent 0.9
hermes-agent 0.5
hermes-agent 0.14
hermes-agent 0.1
hermes-agent 0.7
hermes-agent 0.4
hermes-agent 0.15

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 affected component is the xAI Image Generation Provider within NousResearch hermes-agent (CPE: cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*), an AI agent framework. The root cause is CWE-918 (Server-Side Request Forgery): the save_url_image function in agent/image_gen_provider.py accepts a user-supplied URL and passes it to a server-side HTTP fetching routine without adequate validation of scheme, destination host, or port. This allows the server to be directed to contact arbitrary endpoints including internal network services (e.g., cloud metadata endpoints, internal APIs, private subnets) that the attacker cannot reach directly.

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 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Network SSRF requiring low-privilege auth; partial confidentiality and integrity impact from server-side request forgery; no direct availability impact on the vulnerable system.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Aug 04, 2026 - 17:23 NVD
MEDIUM LOW
CVSS changed
Aug 04, 2026 - 17:23 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 04, 2026 - 16:00 cve.org
MEDIUM 5.3

DescriptionCVE.org

A flaw has been found in NousResearch hermes-agent up to 0.16.0. This affects the function save_url_image of the file agent/image_gen_provider.py of the component xAI Image Generation Provider. This manipulation causes server-side request forgery. The attack may be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Rare
niche AI agent framework with limited enterprise production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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-9351 MEDIUM POC
5.5 May 24

Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass

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-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2026-9353 MEDIUM POC
5.5 May 24

Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t

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