Advisory record · GHSA-v6v8-xj6m-xwqh

go-retryablehttp can leak basic auth credentials to log files

CVSS 6.0 MediumEPSS 0.0036 · 30th percentile

Published by the GitHub Advisory Database at 24 Jun 2024, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/hashicorp/go-retryablehttpGo<0.7.70.7.7
Identifiers
GHSA-v6v8-xj6m-xwqh · CVE-2024-6104 · GO-2024-2947
Weakness (CWE)
CWE-532
Published
24 Jun 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

go-retryablehttp versions before 0.7.7 do not sanitize URLs before writing them to its log file, so HTTP basic auth credentials can end up in those logs. An attacker who can read the log files can obtain these credentials, and no network access or account is described as needed. Upgrade go-retryablehttp to version 0.7.7 or later.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.0 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N CNA (HashiCorp)
  • CISA KEV Not listed.
  • EPSS 0.0036, the 30th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:15 UTC First seen by agentprime
  2. 31 Oct 2026, 14:15 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.