llamaCVEVulnerability Intelligence
/
Advisory · GitHub · crates.io · rustfs

GHSA-W5FH-F8XH-5X3P

RustFS: Missing Post Policy Validation leads to Arbitrary Object Write

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a 204 d de la divulgación
Exposición267 dDesde la divulgación, 25 feb 2026, 5:38 p. m.
Detección264 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 1.0.0
Monitoreo
Detectada
25 feb 26
17 sept 26
17 nov 26
20 nov 26
25 feb 26
3 may 26
9 jul 26
14 sept 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-W5FH-F8XH-5X3P divulgada
Divulgación Modificada Última actualización del registro
Remediación Parche 1.0.0 rustfs · 204 d desde divulgación
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Summary
RustFS 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.

### Details
When 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:

  1. `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.
  2. `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.
  3. `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.

The vulnerability exists in the PostObject endpoint implementation, where the signed policy conditions are not parsed and validated against the actual upload request.

### Impact
Vulnerability Type: Improper Input Validation / Authorization Bypass
##### Who is affected:
Any application using RustFS as an S3-compatible backend that relies on presigned POST policy conditions for access control or upload restrictions.
##### Potential attack scenarios:
1. Storage Exhaustion / Denial of Service: Attackers can upload arbitrarily large files, bypassing size limits, potentially filling up disk space and causing service outages.
2. 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).
3. 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.

Severity: The vulnerability allows complete bypass of server-enforced upload policies, undermining the security model that applications rely upon.

Versiones

Rangos afectados

Afectada Corregida Última
rustfs≥ 1.0.0-alpha.56 < 1.0.0-alpha.83
1.0.0-alpha.56
1.0.0-alpha.83
1.0.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iorustfs
Corregida 1.0.0 204 d 1.0.1 no afectada
Versiones corregidas1.0.0-alpha.831.0.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-27607
Otrahttps://github.com/rustfs/rustfs/security/advisories/GHSA-w5fh-f8xh-5x3p
Otrahttps://github.com/rustfs/rustfs
Otrahttps://github.com/rustfs/rustfs/releases/tag/1.0.0-alpha.83

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.