Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111684 Overview
CVE-2026-111684 is a cross-tenant authorization bypass vulnerability in Magistrala through version 1.0.0. The flaw resides in the certificates service, where the authorization middleware fails to validate that requested certificate serials and entity identifiers belong to the caller's workspace. Any authenticated workspace member can therefore manipulate certificates owned by other tenants. The vulnerability is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Authenticated attackers can disconnect other tenants' Internet of Things (IoT) devices, disclose their certificates, and mint CA-signed certificates for arbitrary device identifiers across tenant boundaries.
Affected Products
- Magistrala IoT platform (absmach/magistrala) versions through 1.0.0
- certs service component (authorization middleware)
- Deployments exposing IssueCert, ViewCert, ListCerts, RevokeBySerial, and RevokeAll endpoints
Discovery Timeline
- 2026-10-16 - CVE-2026-111684 published to the National Vulnerability Database (NVD)
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-111684
Vulnerability Analysis
Magistrala is an open-source IoT platform that issues X.509 device certificates signed by an internal certificate authority (CA). The certs service exposes operations to issue, list, view, and revoke those certificates. In version 1.0.0, the authorization middleware validates only that the caller holds a valid workspace token. It does not confirm that the serial number or entity identifier referenced in the request actually belongs to that workspace.
As a result, an authenticated member of workspace A can call RevokeBySerial, RevokeAll, ViewCert, ListCerts, or IssueCert while supplying serials or entity identifiers owned by workspace B. The service executes the operation under the attacker's workspace path but acts on another tenant's resources. This breaks the tenant isolation guarantee that multi-tenant IoT deployments depend on.
The impact spans confidentiality and integrity of device identity. Attackers can disclose certificate material, mint CA-signed certificates bound to victim device identifiers, or revoke certificates to disconnect victim devices from the broker.
Root Cause
The root cause is a missing workspace scope check in the certs authorization layer. The middleware authorizes the user but never cross-checks the input parameters against the user's tenant ownership. Technical details are available in the HackMD analysis and in the vulnerable authorization middleware and service implementation.
Attack Vector
Exploitation requires low-privilege authenticated access to any workspace on the Magistrala deployment. The attacker then submits certificate operations over the network, substituting a foreign serial number or entity identifier obtained through enumeration or prior reconnaissance. No user interaction is required. See the VulnCheck advisory for additional attack flow context.
No verified proof-of-concept code is published. The vulnerability mechanism is described in the referenced advisories without a weaponized exploit.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111684
Indicators of Compromise
- Certificate issuance, view, or revoke requests where the serial or entity_id parameter does not map to the caller's workspace in application logs
- Unexpected RevokeAll or RevokeBySerial calls followed by device disconnection events for tenants that did not initiate the action
- Newly issued CA-signed certificates for device identifiers that already existed under a different workspace
Detection Strategies
- Correlate certs service audit logs against the workspace membership database to flag any operation referencing a resource outside the caller's workspace
- Alert on bursts of ListCerts or ViewCert activity from a single authenticated principal that touches identifiers across multiple workspaces
- Monitor the internal CA for certificate issuance volume anomalies and for duplicate certificates bound to the same device identifier
Monitoring Recommendations
- Forward Magistrala API gateway and certs service logs to a centralized analytics platform for cross-tenant query baselining
- Track Message Queuing Telemetry Transport (MQTT) broker disconnect events and correlate with recent certificate revocations
- Enable mutual TLS (mTLS) handshake failure logging on IoT device gateways to surface revoked or replaced device certificates
How to Mitigate CVE-2026-111684
Immediate Actions Required
- Restrict access to the certs service endpoints to trusted administrative networks until a patched release is deployed
- Reduce the number of accounts holding workspace membership on shared Magistrala instances to limit the attacker population
- Rotate device certificates and audit CA-issued certificates for identifiers that do not match their expected workspace
Patch Information
The advisory identifies Magistrala through 1.0.0 as vulnerable. Monitor the upstream Magistrala GitHub repository for a fixed release that enforces workspace scope inside the certs authorization middleware. Apply the fix as soon as it is published and re-issue any certificates that may have been minted or disclosed during the exposure window.
Workarounds
- Deploy a reverse proxy or API gateway rule that validates the workspace_id claim in the caller token against the serial and entity_id parameters before forwarding to the certs service
- Operate single-tenant Magistrala deployments per customer where feasible, eliminating the cross-tenant attack surface
- Disable the IssueCert, RevokeBySerial, and RevokeAll endpoints for non-administrative roles via gateway access control lists
# Example reverse-proxy enforcement (nginx + njs pseudocode)
# Reject certs requests whose serial/entity_id does not match the caller workspace
location /certs/ {
auth_request /validate_workspace_scope;
proxy_pass http://magistrala_certs_upstream;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

