Skip to content

CVE-2026-21878 BACnet Stack Improperly Limits Pathnames to a Restricted Directory

HighCVSS 7.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 0 fixed.

PackageAffectedFixed inStatus
bacnet-stack = < 1.5.0.rc3 No fix listed Versions listed
bacnetstack bacnet stack = 1.5.0-rc1; = 1.5.0-rc2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
bacnet-stack = < 1.5.0.rc3 No fix listed
bacnetstack bacnet stack = 1.5.0-rc1 No fix listed
bacnetstack bacnet stack = 1.5.0-rc2 No fix listed

References