Unrated severityNVD Advisory· Published Feb 13, 2026· Updated Feb 13, 2026
BACnet Stack Improperly Limits Pathnames to a Restricted Directory
CVE-2026-21878
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.
Affected products
1- Range: < 1.5.0.rc3
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/bacnet-stack/bacnet-stack/commit/c5dc00a77b4bc2550befa67a930b333e299c18f3mitrex_refsource_MISC
- github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-p8rx-c26w-545jmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.