CVE-2026-22798

hermes's raw options logging may disclose secrets passed in via subcommand options argument

Published Jan 12, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jm5j-jfrm-hm23 hermes's raw options logging may disclose secrets passed in via subcommand options argument
History
Type Values Removed Values Added
First Time appeared Software-metadata.pub
Software-metadata.pub hermes
CPEs cpe:2.3:a:software-metadata.pub:hermes:*:*:*:*:*:python:*:*
Vendors & Products Software-metadata.pub
Software-metadata.pub hermes
Type Values Removed Values Added
First Time appeared Softwarepub
Softwarepub hermes
Vendors & Products Softwarepub
Softwarepub hermes
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title hermes's raw options logging may disclose secrets passed in via subcommand options argument
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 13, 2026, 7:08 PM
Reserved
Jan 9, 2026, 10:50 PM
Status
Analyzed
Published
Jan 12, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:20 AM