CVE-2026-22798 json
hermes's raw options logging may disclose secrets passed in via subcommand options argument
published 2026-01-12 9 mo ago modified 2026-07-07 4 mo ago also GHSA-jm5j-jfrm-hm23 , PYSEC-2026-1449 , EUVD-2026-1996
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi hermes 0.9.1
- software-metadata.pub hermes 0.9.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | hermes | >=0.8.1, <0.9.1 |
0.9.1 |
Affected products
- softwarepub hermes
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1
web, patch
-
github.com
/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514
web, patch
-
github.com
/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23
web, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-22798
advisory
-
github.com
/softwarepub/hermes
package
-
pypi.org
/project/hermes
package
-
github.com
/advisories/GHSA-jm5j-jfrm-hm23
advisory
Sources
- CVE List CVE-2026-22798
- GitHub Advisory GHSA-jm5j-jfrm-hm23
- NVD CVE-2026-22798
- OSV PYSEC-2026-1449
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.