AI·
NousResearch's Hermes-Agent Hit by Two Remote Vulnerabilities
NousResearch's `hermes-agent` framework, up to version 2026.4.16, has two critical security flaws: a path traversal issue and a missing authorization vulnerability. Both are remotely exploitable, allowing attackers to potentially access sensitive data or execute unauthorized commands. Public exploits are reportedly available.
Developers relying on NousResearch's `hermes-agent` for their AI agent deployments should pay close attention. Two distinct, remotely exploitable vulnerabilities—CVE-2026-9351 and CVE-2026-9350—were disclosed on May 24, 2026, impacting versions of the framework up to 2026.4.16. These aren't minor bugs; they represent serious potential avenues for attackers to compromise systems using the agent.
The first, CVE-2026-9351, details a path traversal flaw within the `read_file` tool. Specifically, the `isblockeddevice` function in `tools/file_tools.py` can be manipulated. For an AI agent that might interact with a local file system, path traversal is a particularly nasty problem. It means an attacker could trick the agent into reading or even writing files outside of its intended, secure directory. Think configuration files, sensitive user data, or system logs – all potentially exposed if an attacker can craft the right input. Given that `hermes-agent` is designed to be a flexible framework for AI applications, granting it access to tools like `read_file` is fundamental. But that access, if not perfectly secured, becomes a liability.
Authorization Bypass in Batch Runner
The second vulnerability, CVE-2026-9350, targets the `Batch Runner` component, specifically the `checkallcommandguards` function in `tools/approval.py`. This one is about authorization, or rather, the lack thereof. A missing authorization flaw allows an attacker to bypass security checks and execute actions or commands they shouldn't have permission to. In the context of an AI agent, this could mean an attacker could force the agent to perform operations it wasn't authorized for by its legitimate user, or even by the system itself. Imagine an agent designed for specific, limited tasks suddenly being coerced into running arbitrary commands on the host machine. That's a significant control bypass, potentially leading to full system compromise.
Both vulnerabilities are classified as remotely exploitable, meaning an attacker doesn't need physical access to the server or even a privileged network position. They can launch these attacks over the internet. Adding to the urgency, the sources indicate that public exploits for both CVEs are already available. This drastically shortens the window for developers to patch their systems before they become targets. The rapid disclosure of exploits highlights the ongoing challenge in securing new software, especially frameworks that grant autonomous agents significant system access.
The Broader AI Agent Security Picture
These incidents with `hermes-agent` underscore a growing concern in the AI development space: the security of AI agents. As these agents become more sophisticated and gain more autonomy—interacting with file systems, external APIs, and executing commands—the attack surface expands dramatically. Developers are building complex systems, often quickly, and integrating various tools. Each integration point, each tool, and each function within those tools represents a potential weak link if not rigorously tested and secured. This isn't just about NousResearch; it's a systemic challenge for the entire AI agent ecosystem. We'll likely see more such disclosures as these frameworks mature and receive more scrutiny from security researchers.
Why it matters
For anyone using or developing with NousResearch's `hermes-agent` up to version 2026.4.16, immediate action is required. Update your deployments as soon as a patched version is available. Beyond immediate patching, these vulnerabilities serve as a stark reminder for the broader AI community: giving agents more capabilities also means shouldering a heavier burden of security. Ensuring robust input validation, strict authorization checks, and secure defaults aren't just good practices; they're essential safeguards as AI agents take on more critical roles in our computing environments. Ignoring these foundational security principles risks turning powerful AI tools into dangerous backdoors.
- ai agents
- nousresearch
- cybersecurity
- vulnerability
- cve
Sources
- CVE-2026-9351 NousResearch hermes-agent read_file Tool file_tools.py _is_blocked_device path traversal · Unknown
- CVE-2026-9351 NousResearch hermes-agent read_file Tool file_tools.py _is_blocked_device path traversal · Unknown
- CVE-2026-9350 NousResearch hermes-agent Batch Runner approval.py check_all_command_guards authorization · Unknown
Related

Replit, Visa Empower AI Agents with Digital Identity and Payments
Replit and Visa are partnering to embed payment capabilities directly into AI agent workflows, allowing autonomous agents to pay for services. This collaboration includes a strategic investment from Visa and a new identity layer for agents, potentially reshaping how AI software operates and transacts online.
May 30, 2026

Nvidia Deepens Korea Ties with AI Hub Plan, Huang Visit
Nvidia is strengthening its footprint in South Korea. CEO Jensen Huang is expected to visit, coinciding with plans by Nvidia-backed Reflection AI to build a multi-billion dollar data center there. This move signals a strategic push for open AI infrastructure amid rising global competition.
May 30, 2026

OpenAI Taps Citi, JPMorgan for IPO Preparations
OpenAI is reportedly in talks with financial giants Citigroup and JPMorgan Chase to join its initial public offering banking lineup. This move, reported late last week, signals serious progress toward a highly anticipated public debut for the influential AI developer.
May 29, 2026