1. Home
  2. Vulnerabilities
  3. CVE-2026-102537

CVE-2026-102537

bacnet-stack BACnet/SC node always accepts a self-signed hub cert, so an attacker can MITM it

Published 13 Nov 2026 · modified 2 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 44/100

Summary

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.6, 1.5.2, and 1.6.1, bws_cli_connect() in ports/linux/websocket-cli.c loads the trusted CA cert into the libwebsockets context, then always sets LCCSCF_ALLOW_SELFSIGNED in the connection flags. So lws accepts any self-signed hub certificate, whether or not it chains to the loaded CA. A BACnet/SC node finishes the TLS handshake to a rogue hub that presents a self-signed cert. It then hands the attacker its identity (VMAC, UUID) and all later BACnet traffic. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.

Affected products and versions

bacnet-stack (1 line(s))
bacnet-stack
ProductVersionsFixed inSource
bacnet-stack Versions not specified — CNA (vendor or assigner)
Bacnetstack (3 line(s))
Bacnetstack
ProductVersionsFixed inSource
Bacnet stack before 1.4.6 (excluded) — NVD
Bacnet stack from 1.5.0 (included) to 1.5.2 (excluded) — NVD
Bacnet stack 1.6.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-295 · Autre (CWE-295)

How this data is obtained and calculated