Finder will block you from opening a CSV as an app. Because it isn’t one.
If some app is set to handle a CSV in Finder (Get Info), then that tool (Numbers, whatever) should be able to open this CSV file.
If nothing is set to handle CSV, then a double-click will try to invoke the file as an executable. And will get blocked, because a CSV can’t be signed or notarized.
It has been possible to remove the quarantine attribute from the file, but the rules here keep tightening. And again, this isn’t an app, so it can’t be opened as an app, which usually means nothing is configured to open the CSV file oGet Info) if it gets double-clicked.
To remove the quarantine attribute (which might not be enough, I don’t have macOS 15.0 handy to check), launch Terminal.app and use the following command:
xattr -d com.apple.quarantine /path/to/file.csv
You can use the following part of the command, with a space added at the end:
xattr -d com.apple.quarantine
and then drag the CSV file into the Terminal window, and Terminal.app will fill in the file path. Press return.
Related: