CVE-2026-27607: RustFS Missing Post Policy Validation Leads Vulnerability
HIGHCVE-2026-27607 is a HIGH (CVSS 8.1) missing post policy validation leads vulnerability (CWE-863: Incorrect Authorization) affecting RustFS libraries in the crates.io ecosystem. The issue involves missing post policy validation leads to arbitrary object write. Remediation is available by upgrading affected packages to version 1.0.0-alpha.83.
CVE-2026-27607 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).
How to Fix CVE-2026-27607
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.83
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-27607, 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.83), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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-27607 Affected RustFS Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rustfs
|
crates.io |
≥ 1.0.0-alpha.56
< 1.0.0-alpha.83
|
1.0.0-alpha.83
|
References
Frequently Asked Questions
What is CVE-2026-27607?
Which RustFS versions are affected?
What version fixes CVE-2026-27607?
Is rustfs affected?
What is the CVSS score of CVE-2026-27607?
What CWE is associated with CVE-2026-27607?
How can I check crates.io dependencies for CVE-2026-27607?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w5fh-f8xh-5x3p",
"modified" : "2026-02-25T22:38:40Z",
"published" : "2026-02-25T22:38:40Z",
"aliases" : [ "CVE-2026-27607" ],
"summary" : "RustFS: Missing Post Policy Validation leads to Arbitrary Object Write",
"details" : "### Summary\nRustFS does not validate policy conditions in presigned POST uploads (PostObject), allowing attackers to bypass content-length-range, starts-with, and Content-Type constraints. This enables unauthorized file uploads exceeding size limits, uploads to arbitrary object keys, and content-type spoofing, potentially leading to storage exhaustion, unauthorized data access, and security bypasses.\n\n### Details\nWhen generating presigned POST URLs via the AWS SDK, applications can specify policy conditions to restrict uploads. RustFS accepts these presigned requests but fails to validate the following conditions server-side:\n\n1. `content-length-range` not enforced: The server does not verify that the uploaded file size falls within the specified minimum and maximum bounds. An attacker can upload arbitrarily large files despite restrictions.\n2. `starts-with` not enforced: The server does not validate that the object key matches the required prefix. An attacker can modify the key field to upload files to any path in the bucket.\n3. `Content-Type` (exact match) not enforced: The server does not verify that the uploaded file's content type matches the policy constraint. An attacker can upload files with any content type.\n\nThe vulnerability exists in the PostObject endpoint implementation, where the signed policy conditions are not parsed and validated against the actual upload request.\n\n### Impact\nVulnerability Type: Improper Input Validation / Authorization Bypass\n##### Who is affected:\nAny application using RustFS as an S3-compatible backend that relies on presigned POST policy conditions for access control or upload restrictions.\n##### Potential attack scenarios:\n1. Storage Exhaustion / Denial of Service: Attackers can upload arbitrarily large files, bypassing size limits, potentially filling up disk space and causing service outages.\n2. Unauthorized Data Access/Modification: By bypassing starts-with conditions, attackers can upload files to restricted paths (e.g., overwriting configuration files, accessing other users' directories in multi-tenant systems).\n3. Content-Type Spoofing: Bypassing content-type restrictions could enable serving malicious content (e.g., HTML/JavaScript files in contexts expecting only images), potentially leading to XSS attacks if files are served to browsers.\n\n**Severity**: The vulnerability allows complete bypass of server-enforced upload policies, undermining the security model that applications rely upon.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "rustfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0-alpha.56"
}, {
"fixed" : "1.0.0-alpha.83"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 1.0.0-alpha.82"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/security/advisories/GHSA-w5fh-f8xh-5x3p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27607"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rustfs/rustfs"
}, {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/releases/tag/1.0.0-alpha.83"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T22:38:40Z",
"nvd_published_at" : "2026-02-25T03:16:04Z"
}
}