A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-9352

CVE-2026-9352: hermes-agent Information Disclosure Flaw

CVE-2026-9352 is an information disclosure vulnerability in NousResearch hermes-agent affecting the _make_run_env function. Attackers can exploit this remotely to access sensitive data. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 28, 2026

CVE-2026-9352 Overview

CVE-2026-9352 is an information disclosure vulnerability in NousResearch hermes-agent versions up to 2026.4.23. The flaw resides in the _make_run_env function of tools/environments/local.py, part of the Messaging Gateway Handler component. An attacker can manipulate the function remotely to expose sensitive information without authentication or user interaction. The proof-of-concept exploit is publicly available on GitHub Gist, increasing the risk of opportunistic attacks. The vendor was contacted prior to disclosure but did not respond, leaving affected deployments without an official patch. This vulnerability is tracked under [CWE-200: Exposure of Sensitive Information to an Unauthorized Actor].

Critical Impact

Remote, unauthenticated attackers can extract sensitive environment data from hermes-agent deployments using a publicly available exploit, with no vendor patch currently available.

Affected Products

  • NousResearch hermes-agent versions up to and including 2026.4.23
  • Messaging Gateway Handler component (tools/environments/local.py)
  • Deployments exposing the _make_run_env function to network access

Discovery Timeline

  • 2026-05-24 - CVE-2026-9352 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9352

Vulnerability Analysis

The vulnerability stems from improper handling of environment data within the _make_run_env function located in tools/environments/local.py. This function constructs the runtime execution environment for the agent. Attackers can manipulate inputs processed by the Messaging Gateway Handler to trigger disclosure of sensitive environment information. The exploit requires no authentication, no user interaction, and can be launched over the network. Because the proof-of-concept code has been published publicly, attackers can replicate the technique without specialized knowledge.

Root Cause

The root cause maps to [CWE-200], where sensitive information held within the run environment context is exposed to unauthorized actors. The _make_run_env function does not adequately restrict what data is returned or logged when invoked through the Messaging Gateway Handler. Environment variables in agent runtimes commonly include API keys, model credentials, and connection strings, all of which become exposure candidates when this control fails.

Attack Vector

The attack vector is network-based. An attacker sends crafted messages to the Messaging Gateway Handler interface that reaches _make_run_env. The handler processes the request and returns environment context that should remain internal. No privileges are required, and the attack complexity is low. Refer to the published GitHub Gist PoC Code and VulDB Vulnerability #365315 for additional technical context. No verified exploit code is reproduced here.

Detection Methods for CVE-2026-9352

Indicators of Compromise

  • Unexpected outbound requests to the Messaging Gateway Handler endpoint of hermes-agent from untrusted networks.
  • Log entries showing invocations of _make_run_env from external or unauthenticated sources.
  • Anomalous responses from hermes-agent containing environment variables, file paths, or credentials.

Detection Strategies

  • Inspect application logs for _make_run_env calls originating outside expected internal service callers.
  • Deploy network monitoring on the messaging gateway interface to flag requests that return large response payloads consistent with environment dumps.
  • Hunt for credential reuse patterns from disclosed hermes-agent environment data across downstream services and APIs.

Monitoring Recommendations

  • Enable verbose logging on tools/environments/local.py calls and centralize logs for correlation.
  • Alert on access to the Messaging Gateway Handler from IP ranges outside the agent's expected operational scope.
  • Rotate any secrets or tokens previously exposed to the hermes-agent process and monitor for their misuse.

How to Mitigate CVE-2026-9352

Immediate Actions Required

  • Restrict network access to the hermes-agent Messaging Gateway Handler so only trusted internal callers can reach it.
  • Remove sensitive credentials and secrets from environment variables consumed by _make_run_env, replacing them with a secrets manager and runtime fetch.
  • Audit historical logs and traffic for prior invocations of _make_run_env that may indicate exploitation.

Patch Information

No vendor patch is available. According to the disclosure, NousResearch was contacted but did not respond. Until a fix is released, operators must rely on compensating controls. Monitor the VulDB Vulnerability #365315 entry and the project repository for updates.

Workarounds

  • Place hermes-agent behind an authenticated reverse proxy or service mesh that rejects unauthenticated requests to the messaging gateway.
  • Apply egress and ingress firewall rules restricting the agent to known peer services only.
  • Strip non-essential environment variables from the agent process and load sensitive values just-in-time within tightly scoped functions.
  • Disable the affected component if it is not required for current operational use cases.
bash
# Configuration example: restrict Messaging Gateway Handler exposure with iptables
iptables -A INPUT -p tcp --dport <hermes-agent-port> -s <trusted-subnet> -j ACCEPT
iptables -A INPUT -p tcp --dport <hermes-agent-port> -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechNousresearch

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Gist PoC Code

  • VulDB Submission #812215

  • VulDB Vulnerability #365315

  • VulDB CTI Data #365315
  • Related CVEs
  • CVE-2026-9368: NousResearch hermes-agent RCE Vulnerability

  • CVE-2026-9366: NousResearch hermes-agent RCE Vulnerability

  • CVE-2026-9369: Hermes-Agent Privilege Escalation Flaw

  • CVE-2026-9353: NousResearch hermes-agent RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English