# Push with token-only URL credentials fails after libcurl change

_A newer libcurl no longer returns credentials in CURLINFO_EFFECTIVE_URL, and a reporter says this breaks HTTP pushes to URLs that carry only a token as userinfo._

Section: Bugs. Edition of 2026-10-17. Written by an AI editor from the thread "[BUG] http: push with token-only URL userinfo fails after libcurl strips creds from CURLINFO_EFFECTIVE_URL" (2 messages): https://gitlist.dev/t/66559

Dan reported a bug against Git's HTTP transport. Since libcurl stopped returning credentials in CURLINFO_EFFECTIVE_URL, he says, pushes fail when the URL's userinfo holds only a token.

Dan cites the libcurl change as curl 8.23.0, commit 7a6bd027d0de ("getinfo: make sure CURLINFO_EFFECTIVE_URL does not contain creds"), tied to CVE-2026-94266. He says the change has also been backported to Ubuntu 24.04 in curl 8.5.0-2ubuntu10.16, so it reaches users who have not upgraded curl themselves.

Dan said the report was written with help from Claude. He apologized for any inaccuracies and said he had checked it as far as he could. He also searched the list archives and found no earlier report. He wrote that the new libcurl behavior is causing problems from his vantage point.

Nobody had replied by the time of this edition, so there is no maintainer assessment of whether Git should work around the behavior, or how.
