Skip to content

v4.0.234.0

Latest

Choose a tag to compare

@apanimesh061 apanimesh061 released this 19 Nov 19:33

🔐 Security Updates

  • File Allowlist: Resolved Symlink Target Re-Matching: The file upload/open allowlist (allowed_file_upload_paths, allowed_file_open_paths) now re-matches a resolved symlink target against the full allowlist pattern, not only the allowed root directory. A pre-existing symlink inside an allowed directory can no longer point to a non-matching sibling to slip past a glob pattern: with allowed_file_upload_paths=["/dir/*.txt"] a symlink /dir/a.txt -> /dir/secret.key is now rejected, because the resolved target no longer matches *.txt. A legitimate location reached through a symlink (for example /tmp -> /private/tmp) still matches, and an exact-file allowlist entry that itself names a symlink is still permitted.

Authors

Public-facing changes in this release were authored by: