CVE Catalog

CVE-2026-71262

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

The BlobStorageController in IoTSharp lacks the [Authorize] attribute, and no global authorization policy is configured, allowing unauthenticated attackers to access Upload/Download/List/Modify/Delete endpoints. Path parameters are not sanitized, enabling path traversal and arbitrary file operations, including webshell upload.

Risk Assessment

An attacker can gain full control of the server by uploading a webshell and executing arbitrary code. This can lead to confidentiality, integrity, and availability breaches.

Recommendation

Add the [Authorize] attribute to BlobStorageController or configure a global authorization policy. Sanitize path and filename parameters.

Original NVD description (English source)

IoTSharp BlobStorageController.cs lacks the [Authorize] attribute applied to every other controller in the application (DevicesController, CustomersController, TenantsController, etc.), and no global authorization FallbackPolicy is configured in Startup.cs, leaving its Upload/Download/List/Modify/Delete endpoints reachable by unauthenticated remote attackers. The path/filename parameters passed to these endpoints (e.g. `_blob.WriteFileAsync($"{path}/{formFile.FileName}", ...)`) are used without sanitization, enabling path traversal that allows writing, reading, modifying, and deleting arbitrary files outside the intended blob storage directory, including web-accessible paths that can be leveraged for remote code execution via webshell upload.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS