Description
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.
Published: 2026-08-05
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The BlobStorageController in IoTSharp lacks the required authentication checks that other controllers have, exposing Upload, Download, List, Modify, and Delete endpoints to unauthenticated users. Because the controller uses the supplied path and filename parameters directly in file system operations without sanitization, attackers can perform path traversal to read, write, modify, or delete arbitrary files on the host, including files in web‑accessible directories. This flaw can be leveraged to upload a web shell and execute code remotely, a classic remote code execution scenario. The weakness falls under CWE‑306, a missing authentication requirement.

Affected Systems

The affected product is IoTSharp by IoTSharp. No specific patch level or version is listed, so any instance that includes the BlobStorageController without proper authorization is vulnerable.

Risk and Exploitability

With a CVSS score of 9.8, this vulnerability is considered critical. Although the EPSS score is unavailable, the lack of authentication and path traversal means a remote attacker can exploit it easily over the network. The vulnerability is not yet listed in the CISA KEV catalog, but the combination of high severity and ease of exploitation results in a high risk to any exposed IoTSharp deployment.

Generated by OpenCVE AI on August 5, 2026 at 14:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest IoTSharp release that adds the missing [Authorize] attribute and sanitizes file paths in BlobStorageController endpoints.
  • Configure a global authorization fallback policy in the application to enforce authentication on all API endpoints.
  • Implement strict input validation or a whitelist for file paths so only the intended blob storage directory can be accessed, preventing path traversal attacks.

Generated by OpenCVE AI on August 5, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title IoTSharp BlobStorageController Missing Authentication and Path Traversal
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-05T15:38:42.279Z

Reserved: 2026-08-05T12:23:34.966Z

Link: CVE-2026-71262

cve-icon Vulnrichment

Updated: 2026-08-05T15:38:38.730Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T15:00:05Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function