In Perl, if any file type is allowed to be uploaded to a server (not in web root) and consequently downloaded, can this be dangerous? It's not being executed as such but read as binary.
I'll reiterate @ThisSuitIsBlackNot's links to file upload security considerations...
These can be boiled down to...