Charmbracelet soft-serve
Soft Serve: SSRF via unvalidated LFS endpoint in repo import
Soft Serve is a self-hostable Git server for the command line. From version 0.6.0 to before version 0.11.4, an authenticated SSH user can force the server to make HTTP requests to internal/private IP addresses by running repo import with a crafted --lfs-endpoint URL. The initial batch request is blind (the response from a metadata endpoint won't parse as valid LFS JSON), but an attacker hosting a fake LFS server can chain this into full read access to internal services by returning download URLs that point at internal targets. This issue has been patched in version 0.11.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.6.0, < 0.11.4
Fixed in 0.11.4
Mitigation
Upgrade soft-serve to 0.11.4 or later.
References
- Vendor advisory github.com/charmbracelet/soft-serve/security/a…
- Patch github.com/charmbracelet/soft-serve/commit/3ef…
- Release notes github.com/charmbracelet/soft-serve/releases/t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.