{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-21878","published":"2026-02-13T19:17:28.650000Z","last_modified":"2026-06-17T10:19:04.633000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*","part":"a","vendor":"bacnetstack","product":"bacnet_stack","version":"1.5.0"},{"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*","part":"a","vendor":"bacnetstack","product":"bacnet_stack","version":"1.5.0"}],"cpes_truncated":false,"vendors":["bacnetstack"],"products":["bacnetstack/bacnet_stack"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-21878/","html_en":"/en/cve/CVE-2026-21878/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-21878","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-21878"},"untrusted":{"vendor_name":"Bacnetstack","product_name":"Bacnet Stack","desc_en":"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":[{"untrusted_vendor":"bacnet-stack","untrusted_product":"bacnet-stack","versions":[]}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/commit/c5dc00a77b4bc2550befa67a930b333e299c18f3","tags":["Patch"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-p8rx-c26w-545j","tags":["Exploit","Vendor Advisory"]}]}}