The sanitize-filename Python package versions prior to 1.2.1 contain a path traversal vulnerability. The sanitize() function removes blacklisted characters before Unicode normalization, allowing certain Unicode characters that resemble path separators to bypass filtering. This can lead to sanitized filenames that are absolute paths, enabling attackers to manipulate file paths.