CVE-2026-22782: Rustfs RustFS's RPC Signature Verification Logs Vulnerability
LOWCVE-2026-22782 is a LOW rustfs's rpc signature verification logs vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Rustfs libraries in the crates.io ecosystem. The issue involves rustfs's rpc signature verification logs shared secret. Remediation is available by upgrading affected packages to version 1.0.0-alpha.80.
CVE-2026-22782 at a Glance
How to Fix CVE-2026-22782
To remediate this vulnerability, upgrade all affected Rustfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rustfs to 1.0.0-alpha.80
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rustfs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-22782, inspect your project dependencies for Rustfs:
inspect dependencies for rustfs
Analyze the terminal output to locate any version of Rustfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0-alpha.80), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Rustfs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22782 Affected Rustfs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rustfs
|
crates.io |
≥ 1.0.0-alpha.1
< 1.0.0-alpha.80
|
1.0.0-alpha.80
|
References
Frequently Asked Questions
What is CVE-2026-22782?
Which Rustfs versions are affected?
What version fixes CVE-2026-22782?
Is rustfs affected?
What CWE is associated with CVE-2026-22782?
How can I check crates.io dependencies for CVE-2026-22782?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-333v-68xh-8mmq",
"modified" : "2026-01-16T19:10:59Z",
"published" : "2026-01-16T15:48:58Z",
"aliases" : [ "CVE-2026-22782" ],
"summary" : "RustFS's RPC signature verification logs shared secret",
"details" : "### Summary\nInvalid RPC signatures cause the server to log the shared HMAC secret (and expected signature), which exposes the secret to log readers and enables forged RPC calls.\n\n### Details\nIn [`crates/ecstore/src/rpc/http_auth.rs:115-122`](https://github.com/rustfs/rustfs/blob/9e162b6e9ebb874cc1d06a7b33bc4a05786578aa/crates/ecstore/src/rpc/http_auth.rs#L115-L122) , the invalid signature branch logs sensitive data:\n```rs\nif signature != expected_signature {\n error!(\n \"verify_rpc_signature: Invalid signature: secret {}, url {}, method {}, timestamp {}, signature {}, expected_signature {}\",\n secret, url, method, timestamp, signature, expected_signature\n );\n\n return Err(std::io::Error::other(\"Invalid signature\"));\n}\n```\n\nThis log line includes `secret` and `expected_signature`, both derived from the shared HMAC key. Any invalidly signed request triggers this path. The function is reachable from RPC and admin request handlers.\n\n### PoC\n1. Run RustFS with error logging enabled.\n1. Send a request with an invalid signature:\n ```\n ts=$(date +%s)\n curl -v \\\n -H \"x-rustfs-timestamp: $ts\" \\\n -H \"x-rustfs-signature: invalid-signature\" \\\n \"http://localhost:9000/rustfs/rpc/read_file_stream?disk=foo&volume=bar&path=baz&offset=0&length=1\"\n ```\n1. Observed output:\n ```\n HTTP 403 AccessDenied: Invalid signature\n verify_rpc_signature: Invalid signature: secret rustfsadmin, url /rustfs/rpc/read_file_stream?disk=foo&volume=bar&path=baz&offset=0&length=1, method GET, timestamp 1767852115, signature invalid-signature, expected_signature oisNxNRTb80GXf97s/PGdScJzu8QB9Oxs+uOwf8RiK8=\n ```\n### Impact\n\n- Exposes the shared RPC HMAC secret to log readers.\n- Enables attackers with log access to forge valid RPC signatures and make unauthorized RPC calls.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "rustfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0-alpha.1"
}, {
"fixed" : "1.0.0-alpha.80"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0-alpha.79"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/security/advisories/GHSA-333v-68xh-8mmq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22782"
}, {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/commit/6b2eebee1d07399ef02c0863bd515b4412a5a560"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rustfs/rustfs"
}, {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/blob/9e162b6e9ebb874cc1d06a7b33bc4a05786578aa/crates/ecstore/src/rpc/http_auth.rs#L115-L122"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-16T15:48:58Z",
"nvd_published_at" : "2026-01-16T17:15:54Z"
}
}