Skip to content
Heist/ feed
Back to feed
Medium

RustFS: Sensitive Information Leakage (SessionToken and SecretAccessKey) in RustFS Logs [Debug Mode]

Type: advisorySources: OSV

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, RustFS suffers from sensitive information leakage in log outputs. When the server is run with RUST_LOG=debug sensitive credentials including SessionToken (JWT), SecretAccessKey, and full JWT claims are printed in plaintext to the server logs. This vulnerability is fixed in 1.0.0-beta.2.

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

Source evidence

RustFS: Sensitive Information Leakage (SessionToken and SecretAccessKey) in RustFS Logs [Debug Mode]

core-osv · Original source

Published 28 May 2026, 18:35 UTC

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, RustFS suffers from sensitive information leakage in log outputs. When the server is run with RUST_LOG=debug sensitive credentials including SessionToken (JWT), SecretAccessKey, and full JWT claims are printed in plaintext to the server logs. This vulnerability is fixed in 1.0.0-beta.2.

osv:CVE-2026-45040
Complete source record
{
  "id": "205ac6c875a6f63d155868246571859434e90b60664e13961eacd17254ccb70f",
  "url": "https://osv.dev/vulnerability/CVE-2026-45040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RustFS: Sensitive Information Leakage (SessionToken and SecretAccessKey) in RustFS Logs [Debug Mode]",
    "summary": "RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, RustFS suffers from sensitive information leakage in log outputs. When the server is run with RUST_LOG=debug sensitive credentials including SessionToken (JWT), SecretAccessKey, and full JWT claims are printed in plaintext to the server logs. This vulnerability is fixed in 1.0.0-beta.2.",
    "evidence": "osv:CVE-2026-45040",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-45040",
      "aliases": [
        "CVE-2026-45040",
        "GHSA-8cm2-h255-v749"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rustfs/rustfs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9f07029373af3c989bb26ac98a7df2c086b37c5c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0-beta.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0-beta.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0-beta.1",
            "1.0.0-beta.1",
            "1.0.0-alpha.99",
            "1.0.0-alpha.98",
            "1.0.0-alpha.97",
            "1.0.0-alpha.96",
            "1.0.0-alpha.95",
            "1.0.0-alpha.94",
            "1.0.0-alpha.93",
            "1.0.0-alpha.92",
            "1.0.0-alpha.91",
            "1.0.0-alpha.90",
            "1.0.0-alpha.89",
            "1.0.0-alpha.88",
            "1.0.0-alpha.87",
            "1.0.0-alpha.86",
            "1.0.0-alpha.85",
            "1.0.0-alpha.84",
            "1.0.0-alpha.83",
            "1.0.0-alpha.82",
            "1.0.0-alpha.81",
            "1.0.0-alpha.80",
            "1.0.0-alpha.79",
            "1.0.0-alpha.78",
            "1.0.0-alpha.77",
            "1.0.0-alpha.76",
            "1.0.0-alpha.75",
            "1.0.0-alpha.74",
            "1.0.0-alpha.73",
            "1.0.0-alpha.72",
            "1.0.0-alpha.71",
            "1.0.0-alpha.70",
            "1.0.0-alpha.69",
            "1.0.0-alpha.68",
            "1.0.0-alpha.67",
            "1.0.0-alpha.66",
            "1.0.0-alpha.65",
            "1.0.0-alpha.64",
            "1.0.0-alpha.63",
            "1.0.0-alpha.62",
            "1.0.0-alpha.61",
            "1.0.0-alpha.60",
            "1.0.0-alpha.59",
            "1.0.0-alpha.58",
            "1.0.0-alpha.57",
            "1.0.0-alpha.56",
            "1.0.0-alpha.55",
            "1.0.0-alpha.54",
            "1.0.0-alpha.53",
            "1.0.0-alpha.52",
            "1.0.0-alpha.51",
            "1.0.0-alpha.50",
            "1.0.0-alpha.49",
            "1.0.0-alpha.48",
            "1.0.0-alpha.47",
            "1.0.0-alpha.46",
            "1.0.0-alpha.45",
            "1.0.0-alpha.44",
            "1.0.0-alpha.43",
            "1.0.0-alpha.42",
            "1.0.0-alpha.41",
            "1.0.0-alpha.40",
            "1.0.0-alpha.39",
            "1.0.0-alpha.38",
            "1.0.0-alpha.37",
            "1.0.0-alpha.36",
            "1.0.0-alpha.35",
            "1.0.0-alpha.34",
            "1.0.0-alpha.33",
            "1.0.0-alpha.32",
            "1.0.0-alpha.31",
            "1.0.0-alpha.30",
            "1.0.0-alpha.29",
            "1.0.0-alpha.28",
            "1.0.0-alpha.27",
            "1.0.0-alpha.26",
            "1.0.0-alpha.25",
            "1.0.0-alpha.24",
            "1.0.0-alpha.23",
            "1.0.0-alpha.22",
            "1.0.0-alpha.21",
            "1.0.0-alpha.20",
            "1.0.0-alpha.19",
            "1.0.0-alpha.18",
            "1.0.0-alpha.17",
            "1.0.0-alpha.16",
            "1.0.0-alpha.15",
            "1.0.0-alpha.14",
            "1.0.0-alpha.13",
            "1.0.0-alpha.12",
            "1.0.0-alpha.11",
            "1.0.0-alpha.10",
            "1.0.0-alpha.9",
            "1.0.0-alpha.8",
            "1.0.0-alpha.7",
            "1.0.0-alpha.6",
            "1.0.0-alpha.5",
            "1.0.0-alpha.4",
            "1.0.0-alpha.3",
            "1.0.0-alpha.2",
            "1.0.0-alpha.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45040.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.343614528Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45040.json",
        "https://github.com/rustfs/rustfs/security/advisories/GHSA-8cm2-h255-v749",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45040"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-312",
          "CWE-532"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45040.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45040",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496235,
  "published_at": "2026-05-28T18:35:48.505+00:00"
}