Skip to content

Bugfix/validate-user-provided-file-object-paths - #1197

Merged
skarg merged 6 commits into
masterfrom
bugfix/validate-user-provided-file-object-paths
Jan 5, 2026
Merged

Bugfix/validate-user-provided-file-object-paths#1197
skarg merged 6 commits into
masterfrom
bugfix/validate-user-provided-file-object-paths

Conversation

@skarg

@skarg skarg commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator
  • Secured BACnet file object pathname received from BACnet AtomicWriteFile
    or ReadFile service used without validation which was vulnerable to
    directory traversal attacks.

  • Added POSIX file path name checking for AtomicReadFile and AtomicWriteFile
    example applications. Prohibits use of relative and absolute file paths
    when BACNET_FILE_POSIX_PATH_RESTRICTED is non-zero.

@skarg
skarg merged commit c5dc00a into master Jan 5, 2026
36 checks passed
@skarg
skarg deleted the bugfix/validate-user-provided-file-object-paths branch January 5, 2026 17:19
skarg added a commit that referenced this pull request Feb 7, 2026
* Secured BACnet file object pathname received from BACnet AtomicWriteFile or ReadFile service used without validation which was vulnerable to directory traversal attacks. (#1197)
* Fixed bacfile-posix file write to return the number of bytes written. (#1223)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant