{"answers":{"affected":"3 open source packages ship an affected version, including github.com/charmbracelet/soft-serve. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-24058 in the wild and no public exploit code.","fix":"Upgrade github.com/charmbracelet/soft-serve to 0.11.3 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-24058 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-24058 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.11.3\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.11.3\n- github.com/charmbracelet/soft-serve (Go): affected all versions; fixed in 0.11.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24058/ (Markdown: https://insights.sbomify.com/CVE-2026-24058/index.md)","id":"CVE-2026-24058","markdown":"https://insights.sbomify.com/CVE-2026-24058/index.md","name":"CVE-2026-24058","record":{"aliases":["GHSA-pchf-49fh-w34r","GO-2026-4353"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Git server","requires_auth":"none","summary":"Attackers can impersonate any user, including admins, by exploiting an SSH handshake flaw in Soft Serve Git server.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"soft_serve","vendor":"charm"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Soft Serve has Critical Authentication Bypass","id":"CVE-2026-24058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Gitea runner registration-token GET endpoint performs a write under a read-only token scope","id":"CVE-2026-24059"},"packages":[{"ecosystem":"Go","fixed":["0.11.3"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":null,"source":"GHSA-pchf-49fh-w34r"},{"ecosystem":"Go","fixed":["0.11.3"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"GHSA-pchf-49fh-w34r"},{"ecosystem":"Go","fixed":["0.11.3"],"introduced":["0"],"last_affected":[],"package":"github.com/charmbracelet/soft-serve","purl":"pkg:golang/github.com/charmbracelet/soft-serve","source":"GO-2026-4353"}],"prev":{"headline":"pnpm has symlink traversal in file:/git dependencies","id":"CVE-2026-24056"},"products":["soft-serve"],"published":"2026-01-22","related":[{"cvss_score":9.1,"headline":"Soft Serve: SSRF via unvalidated LFS endpoint in repo import","id":"CVE-2026-30832","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":9.1,"headline":"Soft Serve is vulnerable to SSRF through its Webhooks","id":"CVE-2025-64522","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":7.5,"headline":"Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled","id":"CVE-2023-43809","kev_date_added":null,"published":"2023-10-04"},{"cvss_score":7.1,"headline":"Soft Serve: Authenticated repo import can clone server-local private repositories","id":"CVE-2026-33353","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":5.4,"headline":"Soft Serve is missing an authorization check in LFS lock deletion","id":"CVE-2026-22253","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":5.3,"headline":"Soft Serve allows path traversal attacks","id":"CVE-2025-22130","kev_date_added":null,"published":"2025-01-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-23","vendors":["charmbracelet"]},"summary":"Attackers can impersonate any user, including admins, by exploiting an SSH handshake flaw in Soft Serve Git server.","url":"https://insights.sbomify.com/CVE-2026-24058/"}