Datasette's Python-Multipart library has a path traversal vulnerability when configured with UPLOAD_DIR set and UPLOAD_KEEP_FILENAME=True. This allows an attacker to write uploaded files to arbitrary filesystem locations by using filenames starting with a slash. The vulnerability only affects configurations where uploaded files exceed MAX_MEMORY_FILE_SIZE, triggering a disk flush. The default configuration is not vulnerable. A fix is available in version 0.65.2_1.