CVE 7.5 HIGH

BACnet Stack Improperly Limits Pathnames to a Restricted Directory_CVE-2026-21878

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Basic Information

ID CVE-2026-21878
Source GitHub_M
Published Feb 13, 2026 at 18:10

Affected Product

Vendor bacnet-stack
Product bacnet-stack
Version < 1.5.0.rc3
Affected Versions bacnet-stack bacnet-stack < 1.5.0.rc3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.