CVE-2026-22798 hermes's raw options logging may disclose secrets passed in via subcommand options argument
MediumCVSS 5.0
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi hermes(PyPI) | = 0.8.1; = 0.9.0; >= 0.8.1, < 0.9.1; >= 0.8.1, <= 0.9.0 | 0.9.1 | Fixed |
| software-metadata.pub hermes | >= 0.8.1, < 0.9.1 | 0.9.1 | Fixed |
| softwarepub hermes | = >= 0.8.1, < 0.9.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi hermes(PyPI) | >= 0.8.1, < 0.9.1 | 0.9.1 |
| pypi hermes(PyPI) | = 0.8.1 | No fix listed |
| pypi hermes(PyPI) | = 0.9.0 | No fix listed |
| softwarepub hermes | = >= 0.8.1, < 0.9.1 | No fix listed |
| pypi hermes(PyPI) | >= 0.8.1, <= 0.9.0 | No fix listed |
| software-metadata.pub hermes | >= 0.8.1, < 0.9.1 | 0.9.1 |
References
- https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1 patch
- https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514 patch
- github.com product
- pypi.org product
- github.com vendor-advisory