CVE-2026-18774 Server-side request forgery in hermes-agent

Medium 5.3 Published Updated

Remote attackers can exploit a server-side request forgery flaw in the xAI Image Generation Provider to access internal resources or bypass security controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18774?

CVE-2026-18774 is a medium-severity server-side request forgery vulnerability in NousResearch hermes-agent, published on 4 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-918

Which versions are affected by CVE-2026-18774?

How do I fix CVE-2026-18774?

No fix has been published for CVE-2026-18774 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-18774 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-18774 exists.

Sources

Also known as GHSA-pgm4-hcxr-45qw.

Is CVE-2026-18774 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free