{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22798","id":"CVE-2026-22798","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, maki","descriptionLong":"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.","published":"2026-01-12T22:00:30.175Z","updated":"2026-10-28T02:30:29.576026773Z","reserved":"2026-01-09T22:50:10.287Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["softwarepub hermes"],"affectedProducts":[{"vendor":"softwarepub","product":"hermes","defaultStatus":null,"versions":[{"version":">= 0.8.1, < 0.9.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"hermes","purl":"pkg:pypi/hermes","ranges":[">=0.8.1 <0.9.1"],"fixed":["0.9.1"],"advisory":"GHSA-jm5j-jfrm-hm23"}],"cwes":["CWE-532"],"aliases":["GHSA-jm5j-jfrm-hm23","PYSEC-2026-1449"],"references":[{"url":"https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22798.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22798","tags":["advisory"]},{"url":"https://github.com/softwarepub/hermes","tags":["package"]},{"url":"https://pypi.org/project/hermes","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jm5j-jfrm-hm23","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00172,"epssPercentile":0.06716,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22798","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22798","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22798","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jm5j-jfrm-hm23","ok":true,"note":"GHSA-jm5j-jfrm-hm23"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22798","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}