Skip to content
Heist/ feed
Back to feed
High

Soft Serve has Critical Authentication Bypass

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-24058
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:13 UTC · Revision 1

Source evidence

Soft Serve has Critical Authentication Bypass

core-osv · Original source

Published 22 Jan 2026, 22:01 UTC

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.

osv:CVE-2026-24058
Complete source record
{
  "id": "1918f42db3b222886d5c4898d7fb2c152065a21e4eb8cce0e50f9a593b261bb7",
  "url": "https://osv.dev/vulnerability/CVE-2026-24058",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Soft Serve has Critical Authentication Bypass",
    "summary": "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.",
    "evidence": "osv:CVE-2026-24058",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-24058",
      "aliases": [
        "CVE-2026-24058",
        "GHSA-pchf-49fh-w34r",
        "GO-2026-4353"
      ],
      "metrics": [
        {
          "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/charmbracelet/soft-serve",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8539f9ad39918b67d612a35785a2b4326efc8741"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8539f9ad39918b67d612a35785a2b4326efc8741"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8539f9ad39918b67d612a35785a2b4326efc8741"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.11.3"
                  },
                  {
                    "cpe": "cpe:2.3:a:charm:soft_serve:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.6",
            "v0.7.5",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.4",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24058.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.991741067Z",
      "provider": "osv",
      "references": [
        "https://github.com/charmbracelet/soft-serve/releases/tag/v0.11.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24058.json",
        "https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-pchf-49fh-w34r",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-24058",
        "https://github.com/charmbracelet/soft-serve/commit/8539f9ad39918b67d612a35785a2b4326efc8741"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-289"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24058.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-24058",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495718,
  "published_at": "2026-01-22T22:01:22.276+00:00"
}