CVE-2026-14628: NousResearch hermes-agent Path Traversal via Live Webhook Endpoint
NousResearch's hermes-agent contains a path traversal vulnerability in its Live Webhook Endpoint that allows remote attackers to manipulate file paths without authentication. By crafting specific requests to the extract_media function, an attacker can read sensitive files from the server, potentially exposing configuration data, credentials, or other confidential information. The vulnerability affects versions up to 2026.5.16, and exploit code is publicly available.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-04 / 2026-07-06
NVD description (verbatim)
A vulnerability was detected in NousResearch hermes-agent up to 2026.5.16. This impacts the function extract_media of the file gateway/platforms/base.py of the component Live Webhook Endpoint. Performing a manipulation results in path traversal. The attack may be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-14628 is a CWE-22 path traversal vulnerability in the extract_media function within gateway/platforms/base.py of NousResearch hermes-agent. The Live Webhook Endpoint fails to properly validate or sanitize file path inputs, enabling directory traversal attacks. The vulnerability requires no authentication, no user interaction, and can be triggered over the network. With a CVSS 3.1 base score of 5.3 (Medium), the attack vector is network-based with low complexity, resulting in limited confidentiality impact but no integrity or availability compromise.
Business impact
This vulnerability enables unauthorized information disclosure through remote path traversal attacks. Organizations deploying hermes-agent may have sensitive operational data, API keys, database credentials, or application source code exposed if an attacker exploits this weakness. The public availability of exploit code significantly increases risk, as opportunistic attackers can quickly weaponize the vulnerability. However, the Medium severity rating indicates the exposure is informational rather than enabling full system compromise or service disruption.
Affected systems
NousResearch hermes-agent versions up to and including 2026.5.16 are vulnerable. The affected component is the Live Webhook Endpoint in gateway/platforms/base.py. Any deployment of hermes-agent prior to 2026.5.17 or later should be considered at risk. Organizations should verify their exact version against the vendor advisory and patch accordingly.
Exploitability
The vulnerability is readily exploitable over the network without authentication or user interaction required. Public exploit code is already available, dramatically lowering the barrier to exploitation. An attacker with network access to the Live Webhook Endpoint can craft path traversal payloads to read arbitrary files the application process has access to. The low attack complexity means standard exploitation tools or simple HTTP requests are sufficient.
Remediation
Upgrade NousResearch hermes-agent to a patched version beyond 2026.5.16 as soon as possible. Verify the exact patched version against the vendor advisory. If immediate patching is not feasible, implement network segmentation and access controls to limit exposure of the Live Webhook Endpoint to trusted internal networks only. Monitor webhook traffic for suspicious path patterns such as dot-dot-slash sequences or encoded traversal sequences.
Patch guidance
Contact NousResearch or check their official repository and security advisory channels for patched versions beyond 2026.5.16. Verify patch availability before deployment planning. Note that the vendor did not respond to early disclosure outreach, so updates may be delayed or require community-driven monitoring. Test patches in a non-production environment first to ensure compatibility with your webhook integrations and downstream services.
Detection guidance
Monitor HTTP requests to the Live Webhook Endpoint for path traversal indicators: patterns containing '../', '..%2f', '%2e%2e%2f', or similar URL-encoded variants. Log all extract_media function calls and file access attempts originating from the webhook component. Check web server and application logs for 400-level errors combined with path traversal attempts. Set up alerts for any requests attempting to access system directories (/etc, /var, Windows\ equivalents) through the webhook interface.
Why prioritize this
Although classified as Medium severity, this vulnerability warrants prompt attention due to public exploit availability and the informational risk to deployed systems. Organizations running hermes-agent in production should patch within 30 days. Prioritize systems where the Live Webhook Endpoint is internet-facing or exposed to untrusted networks. Those with strict network boundaries limiting access to the endpoint may defer slightly but should still patch on a defined schedule.
Risk score, explained
The CVSS 3.1 score of 5.3 reflects a network-exploitable path traversal with no authentication barriers but limited to confidentiality impact (CWE-22). The Medium severity is appropriate because the attack cannot modify or delete data, nor can it disrupt service availability. However, the score does not fully capture the risk elevation from public exploit code; organizations should consider this a functional upgrade from the base score in practical threat modeling.
Frequently asked questions
Can this vulnerability be exploited to execute arbitrary code?
No. CVE-2026-14628 is a path traversal vulnerability limited to information disclosure. While an attacker can read files, they cannot directly execute commands or modify system files. Exploitation is confined to reading whatever files the hermes-agent process has permission to access.
Do I need to take action if my hermes-agent instance is only accessible within my private network?
Network isolation significantly reduces risk but does not eliminate it. You should still plan to patch within your maintenance window, particularly if any internal user account could be compromised. Patching remains the definitive mitigation regardless of network placement.
How do I know which version of hermes-agent I am running?
Check your deployment configuration, Docker image tag, or Python package metadata. Common locations include version strings in config files, package manager logs, or the application's diagnostic endpoints. Compare your version against 2026.5.16 and refer to the vendor advisory for confirmed patched versions.
The vendor did not respond to disclosure—should I wait for an official patch?
The lack of vendor response is concerning but does not change your remediation timeline. Monitor NousResearch's GitHub repository and community channels for updates or forks maintained by the community. If official patches are not forthcoming within a reasonable timeframe, evaluate alternative solutions or seek community-patched versions, with appropriate testing and vetting.
This analysis is provided for informational purposes to assist security professionals in vulnerability assessment and remediation planning. The specific version ranges, patch versions, and vendor responses described herein reflect the ground-truth source data and published advisories current as of the analysis date. Verify all patched version numbers, KEV status, and exploit details against the official NousResearch security advisory and CISA resources before finalizing your patch strategy. SEC.co and its authors assume no liability for inaccuracies, incomplete information, or downstream decisions made in reliance on this analysis. Source: NVD (public-domain), retrieved 2026-08-13. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2018-25393MEDIUMNavigate CMS 2.8.5 Path Traversal Vulnerability (CVSS 6.5)
- CVE-2018-25421MEDIUMOpen STA Manager 2.3 Path Traversal File Download Vulnerability
- CVE-2019-25734MEDIUMContact Form by WD CSRF & Local File Inclusion Vulnerability
- CVE-2019-25740MEDIUMJoomla com_jsjobs Arbitrary File Deletion Vulnerability
- CVE-2022-50953MEDIUMWordPress admin-word-count-column Plugin Local File Read Vulnerability
- CVE-2024-47263MEDIUMSynology Hyper Backup Path Traversal – Admin Privilege Required
- CVE-2024-47273MEDIUMSynology Hyper Backup Path Traversal Vulnerability (4.3 MEDIUM)
- CVE-2025-24268MEDIUMmacOS Path Traversal Vulnerability – Patch Sequoia 15.4