CVE-2026-24058: Github.com/charmbracelet/soft serve Authentication Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-pchf-49fh-w34r
CWE-289
Published
Advisory Summary

CVE-2026-24058 is a HIGH authentication bypass vulnerability (CWE-289: Authentication Bypass by Alternate Name) affecting Github.com/charmbracelet/soft serve libraries in the Go ecosystem. The issue involves soft serve affected by an authentication bypass. Remediation is available by upgrading affected packages to version 0.11.3.

CVE-2026-24058 at a Glance

CVE Identifier CVE-2026-24058
GHSA Identifier GHSA-pchf-49fh-w34r
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-289: Authentication Bypass by Alternate Name
Affected Product Github.com/charmbracelet/soft serve
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-24058

To remediate this vulnerability, upgrade all affected Github.com/charmbracelet/soft serve dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/charmbracelet/soft-serve fixed: 0.11.3
Upgrade github.com/charmbracelet/soft-serve to 0.11.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/charmbracelet/soft-serve

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-24058, inspect your project dependencies for Github.com/charmbracelet/soft serve:

inspect dependencies for github.com/charmbracelet/soft-serve

Analyze the terminal output to locate any version of Github.com/charmbracelet/soft serve in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-289: Authentication Bypass by Alternate Name, where the product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor. In Github.com/charmbracelet/soft serve, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact _What kind of vulnerability is it? Who is impacted?_ This issue impacts every Soft Serve instance. A critical authentication bypass 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. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Yes, please upgrade to version 0.11.3 as soon as possible. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ You need to upgrade

CVE-2026-24058 Affected Github.com/charmbracelet/soft serve Versions

1 component(s)
Fixed Versions:
0.11.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/charmbracelet/soft-serve
Go
< 0.11.3
0.11.3

References

Frequently Asked Questions

What is CVE-2026-24058?
CVE-2026-24058 is a security vulnerability in Github.com/charmbracelet/soft serve involving Soft Serve Affected by an Authentication Bypass under CWE-289: Authentication Bypass by Alternate Name.
Which Github.com/charmbracelet/soft serve versions are affected?
Affected versions include releases prior to 0.11.3 across affected packages: github.com/charmbracelet/soft-serve.
What version fixes CVE-2026-24058?
Upgrading to 0.11.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/charmbracelet/soft-serve affected?
Yes, github.com/charmbracelet/soft-serve is affected in releases prior to 0.11.3. Upgrade your dependency to 0.11.3 or later.
What CWE is associated with CVE-2026-24058?
CVE-2026-24058 is classified under CWE-289: Authentication Bypass by Alternate Name (The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor.).
How can I check Go dependencies for CVE-2026-24058?
Run the dependency tree command: 'inspect dependencies for github.com/charmbracelet/soft-serve'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pchf-49fh-w34r",
  "modified" : "2026-01-23T15:46:52Z",
  "published" : "2026-01-21T23:02:07Z",
  "aliases" : [ "CVE-2026-24058" ],
  "summary" : "Soft Serve Affected by an Authentication Bypass",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nThis issue impacts every Soft Serve instance.\n\nA critical authentication bypass 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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes, please upgrade to version 0.11.3 as soon as possible.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nYou need to upgrade",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/charmbracelet/soft-serve"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.11.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.11.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-pchf-49fh-w34r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24058"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/commit/8539f9ad39918b67d612a35785a2b4326efc8741"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/charmbracelet/soft-serve"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/releases/tag/v0.11.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-289" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-21T23:02:07Z",
    "nvd_published_at" : "2026-01-22T22:16:21Z"
  }
}