bacnet-stack BACnet/SC node always accepts a self-signed hub cert, so an attacker can MITM it
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 13, 2026
- Updated
- Nov 16, 2026
- Reserved
- Sep 29, 2026
Description
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.
| Product | Versions |
|---|---|
| bacnet-stack bacnet-stack | < 1.4.6 Affected>= 1.5.0, < 1.5.2 Affected>= 1.6.0, < 1.6.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | GitHub_M |
Weaknesses
- CWE-295 Improper Certificate Validation
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.