Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials for hermes-agent
-
DeliverySubmit crafted internal URL to xAI Image Generation Provider
-
Exploitsave_url_image fetches URL server-side
-
ExecutionServer contacts internal network resource or metadata endpoint
-
ImpactReceive 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
Network SSRF requiring low-privilege auth; partial confidentiality and integrity impact from server-side request forgery; no direct availability impact on the vulnerable system.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More 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
Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass
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
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t
Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti
EUVD-2026-52764
GHSA-pgm4-hcxr-45qw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB