CVE-2026-24058 Soft Serve has Critical Authentication Bypass

High 8.1 Published Updated

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.

PackageAffectedFixed in
github.com/charmbracelet/soft-serve GoAll versions0.11.3
github.com/charmbracelet/soft-serve GoAll versions0.11.3
github.com/charmbracelet/soft-serve GoAll versions0.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.

Sources

Also known as GHSA-pchf-49fh-w34r, GO-2026-4353.

Is CVE-2026-24058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free