sqlmap before 1.10.11.89 contains a credential exposure vulnerability that allows attackers to capture user-supplied Cookie and Authorization headers by redirecting requests to another host. Attackers controlling the scanned target or abusing an open redirect can make RedirectHandler.http_error_302 forward session cookies or bearer tokens to an attacker-controlled host.
https://github.com/sqlmapproject/sqlmap/issues/6185
https://github.com/sqlmapproject/sqlmap/commit/5db2e62884d91f3ed3b43ec55904737e4051e9d7
https://github.com/sqlmapproject/sqlmap/blob/1.10.11/lib/request/redirecthandler.py#L179-L183