CVE-2026-7396
Received Received - Intake

Path Traversal in NousResearch Hermes-Agent

Vulnerability report for CVE-2026-7396, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-29

Last updated on: 2026-04-29

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-29
Last Modified
2026-04-29
Generated
2026-07-26
AI Q&A
2026-04-29
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nousresearch hermes-agent 0.8.0
wechat work *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the NousResearch hermes-agent version 0.8.0, specifically in the WeChat Work Platform Adapter component within the file gateway/platforms/wecom.py. It is a path traversal vulnerability, which means an attacker can manipulate file paths to access files and directories that are outside the intended scope.

The attack can be initiated remotely, and the exploit code is publicly available, making it easier for attackers to exploit this issue.

Detection Guidance

This vulnerability can be detected by monitoring for suspicious WeCom messages containing malicious file:// URLs that attempt path traversal to read arbitrary files. Network or system logs should be inspected for unusual file:// URL requests targeting the hermes-agent WeChat Work Platform Adapter component.

Since the vulnerability involves processing of file:// URLs in the gateway/platforms/wecom.py component, detection can include searching for such URLs in logs or intercepted traffic.

  • Use grep or similar tools to search logs for file:// URLs, e.g., `grep -r "file://" /var/log/hermes-agent/`
  • Monitor network traffic for suspicious HTTP or API requests containing file:// URLs targeting the hermes-agent.
  • Check for unexpected file read operations or errors in hermes-agent logs that may indicate exploitation attempts.
Impact Analysis

This vulnerability can allow an attacker to access unauthorized files on the system by exploiting the path traversal flaw. Since the attack can be performed remotely without any privileges or user interaction, it increases the risk of unauthorized data exposure.

The impact is limited to confidentiality as per the CVSS scores, meaning the attacker could read sensitive information but not modify or disrupt the system.

Compliance Impact

The vulnerability allows attackers to read arbitrary sensitive files on the affected system, including configuration files, SSH keys, and API credentials. This unauthorized access to sensitive information could lead to data breaches.

Such data breaches may impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information. Exposure of sensitive files could result in violations of confidentiality and data protection requirements mandated by these regulations.

Mitigation Strategies

Immediate mitigation steps include restricting or disabling the processing of file:// URLs in the hermes-agent WeChat Work Platform Adapter until a patch or fix is applied.

Implement input validation to ensure that file paths are restricted to allowed directories, preventing path traversal attacks.

Monitor and block suspicious incoming WeCom messages containing file:// URLs that could exploit this vulnerability.

If possible, update to a patched version of hermes-agent once available or apply custom fixes to enforce directory boundary checks as recommended.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7396. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart