Test whether a valid credential can only control the device, tenant, or family it was issued for. If one account can publish commands to another account’s topic, authentication is present but authorisation is not. The right test is cross-account denial, not successful login.
Why This Matters for Security Teams
IoT authorisation is easy to misunderstand because a device can be authenticated and still have far too much reach. The practical question is not whether a sensor, gateway, or controller can present a valid credential, but whether that credential is constrained to the exact device, tenant, topic, or command family it was issued for. NIST’s control guidance on access enforcement in NIST SP 800-53 Rev 5 Security and Privacy Controls is helpful here, but it does not replace environment-specific testing of IoT trust boundaries.For security teams, the risk is operational as much as technical. IoT estates often mix fleet devices, vendor-maintained gateways, mobile apps, and cloud control planes, which creates multiple points where authentication can succeed while authorisation quietly fails open. NHI Management Group’s Ultimate Guide to NHIs shows how common over-privilege and weak lifecycle controls are across non-human identities, and the same patterns surface in IoT command channels. One account being able to publish to another tenant’s topic is not a minor misconfiguration, it is cross-boundary control failure. In practice, many security teams only discover this after an incident report or customer complaint, rather than through intentional negative testing.
How It Works in Practice
The right way to validate IoT authorisation is to test denial paths, not just successful logins. A valid token, client certificate, or API key should work only for the specific device identity, namespace, or message pattern it was issued to control. That means deliberately trying cross-account, cross-tenant, and cross-fleet actions and verifying that the platform rejects them at the authorisation layer, not merely at the UI or application layer.Start with the smallest enforceable unit of access. For MQTT, that may mean topic-level publish and subscribe constraints. For device APIs, it may mean per-device command scopes. For edge platforms, it may include tenant isolation, certificate binding, and device-to-service trust relationships. The test should confirm that the credential cannot:
- publish commands to another customer’s device topic,
- subscribe to telemetry outside its assigned fleet,
- invoke administrative actions beyond its role, or
- reuse a token after revocation or expiry.
This is where runtime policy matters. Static allow lists are often too coarse for IoT because device state, ownership, and risk context change over time. Current guidance suggests combining short-lived credentials, device-bound identity, and policy checks at request time, so the platform evaluates whether the device is allowed to do this action now, in this tenant, on this resource. NIST’s access control expectations in NIST SP 800-53 Rev 5 Security and Privacy Controls align with that approach, while NHI Management Group’s Schneider Electric credentials breach illustrates how credential exposure becomes materially worse when authorisation boundaries are weak or unclear. These controls tend to break down in multi-tenant MQTT deployments because topic naming, broker plugins, and app-layer checks are often inconsistent with the real device trust model.
Common Variations and Edge Cases
Tighter authorisation often increases operational overhead, requiring organisations to balance isolation against fleet manageability. That tradeoff shows up most clearly when device classes differ, firmware lags, or vendor integrations depend on broad service accounts.There is no universal standard for IoT authorisation testing yet, so teams should label their approach as a control objective rather than a compliance checkbox. One environment may rely on broker-enforced topic ACLs, another on API gateway policy, and another on signed device assertions. In all cases, the test should still answer the same question: can an identity act outside its intended boundary?
Edge cases matter. Shared devices in factories, temporary contractor access, and device families managed through a single provisioning pipeline can all make isolation harder to validate. Another common failure mode is assuming that a denied UI action means the backend is safe. It does not. Security teams need to test direct protocol access, expired credentials, revoked credentials, and cross-account requests from an independent client. If you are mapping findings to governance, the NHI patterns in The State of Non-Human Identity Security are useful context because they show how often excess privilege and poor visibility undermine confidence in non-human access. The check breaks down most often in hybrid IoT estates where brokers, mobile apps, and cloud APIs each enforce different policy logic.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Validates that device identities are scoped to least-privilege access boundaries. |
| OWASP Agentic AI Top 10 | A1 | Runtime authorization checks mirror dynamic policy enforcement for non-human workloads. |
| CSA MAESTRO | TRUST-03 | Zero-trust style trust boundaries are essential for device and tenant isolation. |
| NIST CSF 2.0 | PR.AC-4 | Access permissions should be managed and verified against intended authorisation boundaries. |
| NIST AI RMF | GOVERN | Authorisation testing depends on accountable policy, monitoring, and lifecycle oversight. |
Test every IoT credential against cross-account denial and restrict scope to the exact device or topic.
Related resources from NHI Mgmt Group
- How can security teams tell whether directory naming controls are actually working?
- How can security teams tell whether channel binding protections are actually working?
- How can security teams tell whether a CIAM migration is actually working?
- How can security teams tell whether IAM automation is actually working?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org