/

CVE-2026-102612

Severity:

HIGH RISK

(8.1)

TLS Certificate Validation Bypass (CWE-295) in BACnet Stack

CVE-2026-102612

Undergoing Analysis

Vulnerability type

Category:

Improper Certificate Validation

CWE:

CWE-295

Impact:

Unauthorized BACnet/SC mesh access

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

BACnet Stack's Linux WebSocket server may accept TLS connections from clients that present no certificate because it does not require a valid client certificate. A network-reachable host could join the BACnet/SC mesh without credentials when this server configuration is in use.

Affected context

The issue occurs in the Linux WebSocket server startup path, where the libwebsockets context is configured with a CA certificate but not with the option that requires valid client certificates. Builds before the relevant patched releases may be affected when the hub is reachable by clients that are not otherwise trusted.

Exploit preconditions

  • Attack surface: A network-reachable BACnet/SC WebSocket hub
  • Required access: Network connectivity to the hub; the issue does not require a client certificate or other credentials
  • Trigger point: Establishing a TLS connection to the server
  • Why exploitation is possible: The server loads a CA certificate but does not require clients to present a valid certificate, allowing a connection without certificate-based client authentication

Why this happens

The server configuration does not enforce client certificate validation. This maps to CWE-295: Improper Certificate Validation: a security-sensitive connection is accepted without verifying the peer's identity as required. Loading a CA certificate alone does not require a client to present a certificate.

Potential impact

  • An unauthenticated network host could join the BACnet/SC mesh
  • An unauthorized participant may be able to interact with reachable mesh services
  • Mesh integrity or availability could be affected, depending on the participant's access and the surrounding deployment

General mitigation guidance

Defensive patterns include requiring valid client certificates for connections to the hub and verifying that certificate validation is enforced in the server's effective runtime configuration.

  • Use mutual TLS or another strong client-authentication mechanism for mesh access
  • Validate certificate chains and relevant identity attributes
  • Restrict network access to the WebSocket listener to trusted systems
  • Apply least privilege to mesh participants and limit the services they can reach
  • Test that connections without valid client credentials are rejected

How teams detect issues like this

  • Review server initialization and TLS configuration for explicit enforcement of client certificate requirements
  • Use static analysis or code review checks to flag TLS servers that load trust roots but do not require peer certificates
  • Test the listener's behavior with no client certificate and with invalid or untrusted certificates
  • Monitor connection and mesh membership logs for clients without expected certificate identities
  • Enforce deployment policies requiring authenticated clients on BACnet/SC listeners

Sources

SourceLink
github.comgithub.com/bacnet-stack/bacnet-stack/pull/1436
github.comgithub.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-92q2-p4vr-fvmp

Frequently asked

questions

It can be exploited over the network if the BACnet/SC hub is reachable and accepts clients without certificates.

The described issue allows a client to connect without presenting a certificate. Network access to the hub is still required.

Require and validate client certificates at the server, and verify that unauthenticated or invalid-certificate connections are rejected.

Use secure-by-default TLS configurations, review peer-authentication settings, restrict listener exposure, and include negative certificate-authentication tests in security checks.

Find out what's already
exploitable in your codebase.