Go
GHSA-fgxm-5hvv-x4vh
charmbracelet/soft-serve HTTP responses disclose the existence and names of private repositories
- Severity
- Medium 5.3
- Published
- 30 Oct 2026
- Last changed
- 5 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.12.3
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Also known as
- GO-2026-6892
- Sources
- OSV.dev and GitHub
Description
Soft Serve answers Go's ?go-get=1 requests by walking up the requested path until it finds a repository, then rendering that repository's name and clone URL into a go-import meta tag. The walk checked that each candidate repository existed, but never that the caller could read it.
A request for a path inside a private repository, such as GET /secret/anything?go-get=1, therefore returned 200 naming secret and its clone URL, even though GET /secret?go-get=1 correctly returned 404. The same ?go-get=1 exception in the HTTP access middleware also let requests reach the LFS and dumb-HTTP routes with the repository existence check skipped, where two LFS handlers dereferenced the missing repository and panicked.
The same disclosure appears without ?go-get=1. The Git and LFS routes answered a repository the caller could not read differently depending on whether it existed: an anonymous clone of a private repository got 401 while a missing one got 404, and a signed-in user without access got…
Workarounds
None. Upgrade to the patched release.
Disabling the HTTP server (http.enabled: false) removes the exposure, at the cost of HTTP Git access. Setting anon-access to no-access limits the disclosure to authenticated users.
Affected software
| Software | Affected versions |
|---|---|
github.com/charmbracelet/soft-serveGo · osv:Go:github.com/charmbracelet/soft-serve |
|
About github.com/charmbracelet/soft-serve
Vulnerabilities in github.com/charmbracelet/soft-serve
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- GHSA-f3fj-9625-rv3mcharmbracelet/soft-serve: Race in `SetPrivate` leaves a private repository readable by unauthenticated usersMedium 5.9 30 Oct 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-fgxm-5hvv-x4vh