Safari: kCFErrorDomainCFNetwork error 1 on local (HTML) files

Solution 1:

I was having the same issue with my homepage which is stored locally on my mac. Putting the HTML files in the Applications folder seemed to solve the problem.

I know it's not the best solution but at least I don't get an error anymore when opening a new tab.

Solution 2:

I was having the same issue. However, I also use Microsoft Edge and at some point, Edge asked me for permission and it worked again, though in Safari it didn't.

So I compared permissions and found out Edge got some permissions Safari never asked for. Giving Safari the permission "Full disk access" within Preferences > Security > Data Protection > Full Disk Access , click the '+' to Add Software, then locate Safari to add to the list. This solved the issue for me.