Skip to main content

rust-iot-platform CVE-2026-71277

| EUVDEUVD-2026-53362 CRITICAL
Improper Authentication (CWE-287)
2026-08-05 TuranSec GHSA-82xc-gf8p-89h7
9.1
CVSS 3.1 · Vendor: TuranSec
Share

Severity by source

Vendor (TuranSec) PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
9.1 CRITICAL

Remote, no auth, and no interaction since any non-empty header defeats the guard (AV:N/AC:L/PR:N/UI:N); full read/write of protected data gives C:H/I:H, with no availability impact so A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Analysis Generated
Aug 05, 2026 - 13:40 vuln.today
CVE Published
Aug 05, 2026 - 12:26 cve.org
CRITICAL 9.1

DescriptionCVE.org

rust-iot-platform's AuthToken request-guard implementation (api/src/main.rs) only checks whether the Authorization HTTP header is present, and never validates its value against any session, token store, or signature. Any request carrying an arbitrary non-empty Authorization header (e.g. Authorization: fake) satisfies the guard, granting access to every endpoint protected only by this request guard.

AnalysisAI

Authentication bypass in iot-ecology's rust-iot-platform lets any remote attacker reach every endpoint guarded by the AuthToken request guard simply by sending a non-empty Authorization header such as 'Authorization: fake'. The Rocket request guard in api/src/main.rs checks only for the header's presence and never validates its value against a session, token store, or signature, so unauthenticated attackers gain full access to protected API functionality. No public exploit identified at time of analysis, but the flaw is trivial to trigger and carries a CVSS 9.1.

Technical ContextAI

The platform is written in Rust and built on the Rocket web framework, which uses typed 'request guards' to enforce authorization before a handler runs. Here the custom AuthToken guard implemented in api/src/main.rs performs a presence-only check on the HTTP Authorization header and returns success as long as the header exists and is non-empty, without comparing it to any issued token, JWT signature, session record, or credential store. This maps to CWE-287 (Improper Authentication): the authentication decision is made on the existence of input rather than its correctness, so the guard is effectively a no-op. The affected component is identified by CPE cpe:2.3:a:iot-ecology:rust-iot-platform, an IoT data/management platform, meaning device, sensor, and configuration APIs sitting behind this guard are exposed.

RemediationAI

No vendor-released patch identified at time of analysis, and the CPE lists all versions as affected, so remediation must currently be applied at the source level: modify the AuthToken request guard in api/src/main.rs so it validates the Authorization header value - verify a signed/opaque token against the session or token store, reject empty and unrecognized values, and return an Unauthorized outcome (Rocket forward/failure) on any mismatch rather than succeeding on presence alone. Track upstream at https://github.com/iot-ecology/rust-iot-platform for a corrected commit or release. As compensating controls until a validated fix is deployed, place the API behind an authenticating reverse proxy or API gateway that enforces real credentials (side effect: legitimate clients must be reconfigured with those credentials), and restrict network exposure of the API endpoints to trusted management networks or a VPN via firewall/allowlist rules (side effect: breaks any intended public/device access, so IoT devices calling the API must be inside the allowed range). Avoid relying on the built-in guard for any sensitive route until it performs true validation.

Share

CVE-2026-71277 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy