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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52764
GHSA-pgm4-hcxr-45qw