Skip to content
Heist/ feed
Back to feed
Medium

hermes's raw options logging may disclose secrets passed in via subcommand options argument

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-22798
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:46 UTC · Revision 1

Source evidence

hermes's raw options logging may disclose secrets passed in via subcommand options argument

core-osv · Original source

Published 12 Jan 2026, 22:00 UTC

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.

osv:CVE-2026-22798
Complete source record
{
  "id": "5ae2c6e2dc1a5404f5a940736fa43eadbcada37824e428131446f3f9db9bb4cf",
  "url": "https://osv.dev/vulnerability/CVE-2026-22798",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "hermes's raw options logging may disclose secrets passed in via subcommand options argument",
    "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.",
    "evidence": "osv:CVE-2026-22798",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-22798",
      "aliases": [
        "CVE-2026-22798",
        "GHSA-jm5j-jfrm-hm23",
        "PYSEC-2026-1449"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/softwarepub/hermes",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0e73ac96f8739d67d1d978b2ba9797f5e5b51f49"
                },
                {
                  "fixed": "890e081cfcbdc321901235098f5e85cbd9a2af5c"
                },
                {
                  "fixed": "7f64f102e916c76dc44404b77ab2a80f5a4e59b1"
                },
                {
                  "fixed": "90cb86acd026e7841f2539ae7a1b284a7f263514"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:software-metadata.pub:hermes:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0.8.1"
                      },
                      {
                        "fixed": "0.9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7f64f102e916c76dc44404b77ab2a80f5a4e59b1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "90cb86acd026e7841f2539ae7a1b284a7f263514"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22798.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.576026773Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22798.json",
        "https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22798",
        "https://github.com/softwarepub/hermes/commit/7f64f102e916c76dc44404b77ab2a80f5a4e59b1",
        "https://github.com/softwarepub/hermes/commit/90cb86acd026e7841f2539ae7a1b284a7f263514"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-532"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22798.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22798",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496076,
  "published_at": "2026-01-12T22:00:30.175+00:00"
}