{"id":"CVE-2026-22798","state":"PUBLISHED","title":"hermes's raw options logging may disclose secrets passed in via subcommand options argument","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.","publishedAt":"2026-01-12T22:00:30.175Z","updatedAt":"2026-01-13T19:08:22.846Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["softwarepub hermes"],"affected":[{"vendor":"softwarepub","product":"hermes","versions":[{"version":">= 0.8.1, < 0.9.1","status":"affected"}]}],"references":["https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23","https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1","https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22798.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22798","state":"PUBLISHED","datePublished":"2026-01-12T22:00:30.175Z","dateUpdated":"2026-01-13T19:08:22.846Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-09T22:50:10.287Z"},"containers":{"cna":{"title":"hermes's raw options logging may disclose secrets passed in via subcommand options argument","descriptions":[{"lang":"en","value":"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":[{"vendor":"softwarepub","product":"hermes","versions":[{"version":">= 0.8.1, < 0.9.1","status":"affected"}]}],"references":[{"url":"https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23","name":"https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1","name":"https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514","name":"https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-12T22:00:30.175Z"},"source":{"advisory":"GHSA-jm5j-jfrm-hm23","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-13T14:14:24.495713Z","id":"CVE-2026-22798","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-13T19:08:22.846Z"}}]}}}