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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-13T18:41:50.301Z
- Modified: 2026-11-16T19:17:23.837Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bacnet-stack bacnet-stack: < 1.4.6; >= 1.5.0, < 1.5.2; >= 1.6.0, < 1.6.1

## References

- <https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-jgm4-2wg9-jwfg>
- <https://github.com/bacnet-stack/bacnet-stack/pull/1434>

## Sources

- CVE List: [CVE-2026-102537](https://www.cve.org/CVERecord?id=CVE-2026-102537), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-102537](https://nvd.nist.gov/vuln/detail/CVE-2026-102537), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-102537 · Whole record: https://cve.day/CVE-2026-102537.json · Rebuilt by cve.day 2026-11-25T22:59:50.770Z
