CVE-2026-9353: NousResearch hermes-agent Skills Guard Multi-Word Prompt skills_guard.py injection

Published May 24, 2026
·
Updated

A security vulnerability has been detected in NousResearch hermes-agent up to 2026.4.23. Impacted is an unknown function of the file agent/skillsguard.py of the component Skills Guard Multi-Word Prompt Handler. The manipulation of the argument THREATPATTERNS leads to injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Affected Software

1 affected component
NousResearch hermes-agent<=2026.4.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove NousResearch hermes-agent (Skills Guard Multi-Word Prompt Handler) from your environment.

    If the Skills Guard Multi-Word Prompt Handler is not required, uninstall or remove the handler (agent/skills_guard.py or the corresponding skills module) to eliminate the vulnerable code path.

  2. Configuration

    Ensure THREAT_PATTERNS is not accepted from untrusted sources. Apply strict validation, escaping, or a fixed allow-list for THREAT_PATTERNS values; if validation cannot be guaranteed, disable acceptance of external THREAT_PATTERNS inputs.

    NousResearch hermes-agent (agent/skills_guard.py - Skills Guard Multi-Word Prompt Handler) THREAT_PATTERNS input validation = sanitize/validate/deny untrusted input
  3. Compensating control

    Restrict network access to the hermes-agent instance (block/limit agent/management ports, allow only trusted IPs, or isolate the host) to prevent remote exploitation until a vendor patch or official fix is available.

Event History

May 24, 2026
CVE Published
via MITRE·03:45 AM
Data Sourced
via MITRE·03:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Apr 28, 58520
Event
via FIRST·12:17 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-9353?

The severity of CVE-2026-9353 is high with a score of 7.3.

2

What components of NousResearch hermes-agent are affected by CVE-2026-9353?

CVE-2026-9353 affects the Skills Guard Multi-Word Prompt Handler in the file agent/skills_guard.py.

3

How do I exploit CVE-2026-9353?

CVE-2026-9353 can be exploited by manipulating the THREAT_PATTERNS argument for injection.

4

What is the impact of CVE-2026-9353?

The impact of CVE-2026-9353 includes the potential for remote exploitation through injection.

5

How can I mitigate CVE-2026-9353?

To mitigate CVE-2026-9353, ensure your version of NousResearch hermes-agent is updated beyond 2026.4.23.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203