CVE-2026-24058 Soft Serve has Critical Authentication Bypass
Attackers can impersonate any user, including admins, by exploiting an SSH handshake flaw in Soft Serve Git server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-24058?
CVE-2026-24058 is a high-severity authentication bypass vulnerability in charmbracelet soft-serve, published on 22 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Soft Serve is a self-hostable Git server for the command line. Versions 0.11.2 and below have a critical authentication bypass vulnerability that allows an attacker to impersonate any user (including admin) by "offering" the victim's public key during the SSH handshake before authenticating with their own valid key. This occurs because the user identity is stored in the session context during the "offer" phase and is not cleared if that specific authentication attempt fails. This issue has been fixed in version 0.11.3.
Weakness: CWE-289
Which versions are affected by CVE-2026-24058?
3 open source packages ship an affected version, including github.com/charmbracelet/soft-serve. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/charmbracelet/soft-serve Go | All versions | 0.11.3 |
github.com/charmbracelet/soft-serve Go | All versions | 0.11.3 |
github.com/charmbracelet/soft-serve Go | All versions | 0.11.3 |
Products include Charm Soft Serve.
How do I fix CVE-2026-24058?
Upgrade github.com/charmbracelet/soft-serve to 0.11.3 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-24058 being exploited?
There is no known exploitation of CVE-2026-24058 in the wild and no public exploit code.
Other vulnerabilities in charmbracelet soft-serve
- CVE-2026-30832 Soft Serve: SSRF via unvalidated LFS endpoint in repo import
- CVE-2025-64522 Soft Serve is vulnerable to SSRF through its Webhooks
- CVE-2023-43809 Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled
- CVE-2026-33353 Soft Serve: Authenticated repo import can clone server-local private repositories
- CVE-2026-22253 Soft Serve is missing an authorization check in LFS lock deletion
Sources
Also known as GHSA-pchf-49fh-w34r, GO-2026-4353.