Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.11% · P28
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-21878

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
BACnet Stack Improperly Limits Pathnames to a Restricted Directory
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
BACnet Stack 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
BACnet Stack是BACnet Stack开源的一个适用于嵌入式系统、Linux、MacOS、BSD 和 Windows 的 BACnet 开源协议栈 C 库。 BACnet Stack 1.5.0.rc3之前版本存在路径遍历漏洞,该漏洞源于文件写入功能未验证用户提供的文件路径,可能导致向任意目录写入文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
bacnet-stackbacnet-stack < 1.5.0.rc3 -

II. Public POCs for CVE-2026-21878

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-21878

登录查看更多情报信息。

Same Patch Batch · bacnet-stack · 2026-02-13 · 3 CVEs total

CVE-2026-218705.5 MEDIUMThe BACnet Protocol Stack library has an Off-by-one Stack-based Buffer Overflow in tokeniz
CVE-2026-26264BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash

IV. Related Vulnerabilities

V. Comments for CVE-2026-21878

No comments yet


Leave a comment