The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-22798

CVE-2026-22798: HERMES Information Disclosure Vulnerability

CVE-2026-22798 is an information disclosure flaw in HERMES workflow that exposes sensitive data like API tokens in plain text log files. This post covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2026-22798 Overview

A sensitive data exposure vulnerability has been identified in HERMES, an implementation of the HERMES workflow designed to automate software publication with rich metadata. From versions 0.8.1 to before 0.9.1, HERMES subcommands accept arbitrary options under the -O argument, which are logged in raw form. When users provide sensitive data such as API tokens via command-line arguments (e.g., hermes deposit -O invenio_rdm.auth_token SECRET), these credentials are written to the log file in plain text, making them accessible to anyone who can read the log file.

Critical Impact

API tokens and other sensitive credentials passed via command-line arguments are exposed in plain text within log files, potentially allowing unauthorized access to integrated services and repositories.

Affected Products

  • HERMES versions 0.8.1 to before 0.9.1
  • Systems running HERMES with sensitive authentication tokens passed via -O arguments
  • Environments where log files are accessible to unauthorized users

Discovery Timeline

  • January 12, 2026 - CVE-2026-22798 published to NVD
  • January 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-22798

Vulnerability Analysis

This vulnerability falls under CWE-532 (Insertion of Sensitive Information into Log File). The HERMES workflow tool provides a flexible option mechanism through the -O argument, allowing users to pass arbitrary key-value pairs to various subcommands. However, the logging implementation captures these arguments in their entirety without sanitizing or masking sensitive values.

The exposure occurs when users utilize this mechanism to pass authentication credentials, such as API tokens for repository services like InvenioRDM. Since the logging subsystem treats all -O arguments uniformly, tokens and other secrets are written to log files in clear text. This creates a significant security risk in multi-user environments or systems where log files may be accessed by unauthorized parties.

The vulnerability requires local access to exploit and user interaction (providing sensitive data via command line), but the potential impact on confidentiality is high as exposed credentials could grant unauthorized access to external services and repositories.

Root Cause

The root cause lies in the insufficient handling of sensitive data within the logging mechanism. The HERMES application logs command-line arguments provided through the -O flag without implementing any filtering, redaction, or masking logic for potentially sensitive values. This design oversight means that any authentication token, password, or API key passed as an option parameter is captured verbatim in application logs.

Attack Vector

The attack vector for this vulnerability is local, requiring an attacker to have read access to the HERMES log files. Exploitation scenarios include:

  1. Multi-user systems: On shared systems, other users with log file read permissions can extract credentials
  2. Log aggregation: Centralized logging systems may expose credentials to broader audiences
  3. Backup exposure: System backups containing log files preserve the exposed credentials
  4. Compromised systems: Attackers who gain limited access can harvest credentials from logs

The vulnerability mechanism involves users invoking HERMES commands with sensitive options. For example, when a user runs hermes deposit -O invenio_rdm.auth_token YOUR_SECRET_TOKEN, the entire argument including the token value is written to the log file. Attackers can then search log files for patterns like auth_token or similar keywords to extract credentials. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-22798

Indicators of Compromise

  • Log files containing raw API tokens or authentication credentials in plain text
  • Presence of sensitive parameter patterns (e.g., auth_token, api_key, password) in HERMES log entries
  • Evidence of log file access by unauthorized users or processes
  • Unusual authentication activity on integrated services (InvenioRDM, Zenodo, etc.) using potentially compromised tokens

Detection Strategies

  • Implement log file monitoring for sensitive data patterns using data loss prevention (DLP) tools
  • Audit file access permissions on HERMES log directories and files
  • Review HERMES command history for instances where sensitive data may have been passed via -O arguments
  • Monitor authentication logs of integrated services for unauthorized access attempts

Monitoring Recommendations

  • Configure alerting for read operations on HERMES log files by non-authorized processes
  • Implement file integrity monitoring on log directories to detect unexpected access
  • Set up regular scans of log files for credential patterns that may indicate exposure
  • Monitor for anomalous API activity on services that HERMES integrates with

How to Mitigate CVE-2026-22798

Immediate Actions Required

  • Upgrade HERMES to version 0.9.1 or later immediately
  • Review existing log files for exposed credentials and securely delete them after rotating affected tokens
  • Rotate all API tokens and credentials that may have been passed via HERMES -O arguments
  • Restrict file permissions on HERMES log files to minimize exposure

Patch Information

The vulnerability has been fixed in HERMES version 0.9.1. The fix involves proper handling of sensitive data in the logging subsystem to prevent plain-text exposure of credentials. Security patches are available through the following commits:

  • Commit 7f64f10
  • Commit 90cb86a

For complete details, see the GitHub Security Advisory GHSA-jm5j-jfrm-hm23.

Workarounds

  • Use environment variables or configuration files with restricted permissions to pass sensitive credentials instead of command-line arguments
  • Implement strict file permissions on log directories (e.g., chmod 600) to limit read access
  • Configure log rotation with secure deletion to minimize the window of credential exposure
  • Avoid passing authentication tokens via the -O argument until the upgrade is complete
bash
# Configuration example - Secure log file permissions
chmod 600 /var/log/hermes/*.log
chown root:root /var/log/hermes/*.log

# Use environment variables instead of command-line arguments
export HERMES_INVENIO_AUTH_TOKEN="your_token_here"
hermes deposit --use-env-credentials

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHermes

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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