Repository navigation
🔐 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: withallowed_file_upload_paths=["/dir/*.txt"]a symlink/dir/a.txt -> /dir/secret.keyis 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:
- Animesh Pandey animep@amazon.com