cvelo
P2 · HighCVSS 7.7EPSS 0.4%

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

  • CVE-2026-102537
  • EUVD-2026-125695

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.

Text from the CVE.org record.

Recommendation

  • bacnetstack bacnet stack

    • If you run 1.5.xupdate to 1.5.2 or laterPatch update: breaking changes are unlikely
    • If you run a version before 1.4.6update to 1.4.6 or later

    Some affected versions have no stated fix.

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • bacnetstack bacnet stack

    Affected versionsFixed in
    from 1.5.0 to before 1.5.21.5.2
    before 1.4.61.4.6
    1.6.0none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.