Does having category name in permalinks affect SEO when having a post in multiple categories?

It should not affect it because WordPress redirects links to post leaving you with only one canonical and working one. Post would be visible in both categories but will have only one correct permalink.