Basic authentication credentials transported over network are more susceptible to interception than other forms of authentication, and as they are not encrypted it means passwords and tokens are more easily leaked.
OWASP API2 2023 No HTTP Basic
Message: Security scheme uses HTTP Basic. Use a more secure authentication method, like OAuth 2 or OpenID.