CVE-2026-137545 in Coder
Summary
by MITRE • 11/26/2026
Coder 2.9.0 before 2.29.27, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.3 contains a nil pointer dereference in the tailnet coordinator, which reads UpdateSelf.Node fields during authorization without checking that Node is set. An authenticated user or workspace agent token holder can send a CoordinateRequest with UpdateSelf present but Node empty to crash coderd, disconnecting all users on the affected replica.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in Coder versions prior to 2.9.27, 2.30.12, 2.35.9, 2.36.7, and 2.37.3 represents a critical availability risk stemming from improper input validation within the tailnet coordinator component. This flaw is classified under CWE-476, which denotes a NULL Pointer Dereference, indicating that the software fails to verify whether an object reference has been properly initialized before attempting to access its properties or methods. In this specific instance, the defect resides in the authorization logic of the Coordinator service, specifically during the processing of self-update requests where the Node field is expected but not validated for existence.
Technically, the vulnerability manifests when an authenticated user or a holder of a workspace agent token submits a CoordinateRequest containing an UpdateSelf structure that lacks the required Node data. The application proceeds to read fields from this uninitialized Node object without performing a null check. Because Go does not automatically handle nil pointer access gracefully in all contexts, attempting to dereference a nil pointer results in a runtime panic. This unhandled exception causes the coderd process on the affected replica to terminate abruptly. Such behavior is characteristic of CWE-20 Improper Input Validation, where the system accepts input that violates expected structural constraints without adequate sanitization or error handling mechanisms.
The operational impact of this vulnerability is severe due to its direct effect on service availability. Since Coder often operates in a multi-replica architecture for high availability and load balancing, crashing one replica can lead to significant disruption. Specifically, the termination of the coderd process disconnects all active users connected to that specific instance. In environments where replicas are not perfectly synchronized or if this crash occurs during critical operations, it may also result in data inconsistency or loss of session state for affected workspaces. This aligns with MITRE ATT&CK technique T1499 Endpoint Denial of Service, as an attacker can leverage this flaw to degrade the performance and availability of the Coder platform by forcing service crashes through crafted network requests.
To mitigate this risk, organizations must prioritize patching all instances running vulnerable versions of Coder immediately. The fixed releases listed above contain code changes that introduce proper nil checks before accessing fields within the Node object during authorization processes. Until patches are applied, administrators should consider implementing strict input validation at the reverse proxy or API gateway level to reject requests with malformed UpdateSelf structures lacking required Node data. Additionally, enabling robust monitoring and alerting for process crashes can help detect exploitation attempts early, allowing for rapid incident response before widespread user disruption occurs.