CVE-2026-7396 NousResearch hermes-agent WeChat Work Platform Adapter wecom.py path traversal

Medium 6.9 Published Updated

Remote attackers can exploit a path traversal vulnerability in the WeChat Work adapter to read or modify arbitrary files on the host system.

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

What is CVE-2026-7396?

CVE-2026-7396 is a medium-severity path traversal vulnerability in NousResearch hermes-agent, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was identified in NousResearch hermes-agent 0.8.0. Affected by this issue is some unknown functionality of the file gateway/platforms/wecom.py of the component WeChat Work Platform Adapter. The manipulation leads to path traversal. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.

Weakness: CWE-22

Which versions are affected by CVE-2026-7396?

How do I fix CVE-2026-7396?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-7396 being exploited?

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

Sources

Also known as GHSA-4m29-hpfx-hxjv.

Is CVE-2026-7396 in your software?

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

Check your SBOMs for free