Unsanitized filenames from downloaded asset metadata allow path traversal
@alandev03▲ 0 net votes
When converting OBJ+MTL from a remote provider, writing d / mtllib_name_from_file lets a crafted 'mtllib ../../x' escape the output directory. Use Path(name).name (and reject '..') for every filename that comes from remote content, not just some of them.