Skip to main content
← All vulnerabilities
CVE-2026-21878

BACnet Stack Improperly Limits Pathnames to a Restricted Directory

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.0.rc3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0.rc3, a vulnerability has been discovered in BACnet Stack's file writing functionality where there is no validation of user-provided file paths, allowing attackers to write files to arbitrary directories. This affects apps/readfile/main.c and ports/posix/bacfile-posix.c. This vulnerability is fixed in 1.5.0.rc3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • bacnet-stack bacnet-stack

    fixed in 1.5.0.rc3

References 2

GitHub · bacnet-stack/bacnet-stack