LiveActive security incident?Get immediate response
CVE Record

CVE-2026-22798: hermes's raw options logging may disclose secrets passed in via subcommand options argument

hermes is an implementation of the HERMES workflow to automatize software publication with rich metadata. From 0.8.1 to before 0.9.1, hermes subcommands take arbitrary options under the -O argument. These have been logged in raw form. If users provide sensitive data such as API tokens (e.g., via hermes deposit -O invenio_rdm.auth_token SECRET), these are written to the log file in plain text, making them available to whoever can access the log file. This vulnerability is fixed in 0.9.1.

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Hermes logged raw subcommand options, which could include secrets such as repository API tokens. Anyone with access to the log file could read those values in plain text. This affects hermes versions 0.8.1 through before 0.9.1 and is fixed in 0.9.1.

Executive priority

Treat as a targeted cleanup and credential-rotation issue, not an internet-wide emergency. Prioritize teams using hermes for publication workflows, especially where logs are centralized or broadly accessible.

Technical view

CVE-2026-22798 is a CWE-532 sensitive information exposure in softwarepub hermes. Arbitrary values supplied through the -O subcommand option were written to logs without redaction. The advisory cites examples such as invenio_rdm.auth_token. CVSS is 5.9 with local access, low complexity, low privileges, and user interaction required.

Likely exposure

Exposure is most likely where hermes was used with -O options containing tokens or other secrets, and where local users, CI systems, support staff, or log aggregation tools can access hermes log files.

Exploitation context

No active exploitation is reported in the provided sources, and the CVE is not marked KEV. Abuse depends on access to affected log files after a user supplied sensitive data through hermes options.

Researcher notes

The primary evidence is the GitHub advisory and related commits. The source description states fixed in 0.9.1. The CVSS vector indicates local access and user interaction. Provided sources do not establish remote exploitation or public weaponization.

Mitigation direction

  • Upgrade hermes to version 0.9.1 or later.
  • Review vendor advisory and commits for the exact logging change.
  • Rotate any secrets that may have been passed through -O options.
  • Restrict access to historical hermes logs until reviewed.
  • Remove exposed secrets from retained logs where operationally safe.

Validation and detection

  • Inventory hermes installations and identify versions 0.8.1 through before 0.9.1.
  • Check whether workflows used -O options for authentication tokens or secrets.
  • Review accessible hermes logs for accidental plaintext secret entries.
  • Confirm upgraded systems no longer log raw sensitive option values.
  • Verify rotated credentials replace any suspected exposed tokens.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-532: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22798 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N1.54Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2026-22798Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
softwarepubhermes>= 0.8.1, < 0.9.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-532 · source CWE mapping

Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log File represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.