What’s Vulnerable › Vulnerabilities
CVE-2026-22798: hermes's raw options logging may disclose secrets passed in via subcommand options argument
- Severity: medium (CVSS 5.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-12 · updated 2026-06-17
- Weakness: CWE-532
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.
Affected products
- softwarepub hermes: from 0.8.1 before 0.9.1 — fixed in 0.9.1
How to fix
Upgrade to a fixed version: softwarepub hermes 0.9.1. Check the vendor advisory for mitigations.
References
- https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1
- https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514
- https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23
Get alerted when CVE-2026-22798 or the next vulnerability affects your stack