CVE-2025-64522: Github.com/charmbracelet/soft serve Soft Serve Is Vulnerable To Vulnerability

CRITICAL
Advisory Identifier: GHSA-vwq2-jx9q-9h9f
CVSS 9.1
CWE-918
Published
Advisory Summary

CVE-2025-64522 is a CRITICAL (CVSS 9.1) soft serve is vulnerable to vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/charmbracelet/soft serve libraries in the Go ecosystem. The issue involves soft serve is vulnerable to ssrf through its webhooks. Remediation is available by upgrading affected packages to version 0.11.1.

CVE-2025-64522 at a Glance

CVE Identifier CVE-2025-64522
GHSA Identifier GHSA-vwq2-jx9q-9h9f
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Github.com/charmbracelet/soft serve
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-64522

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.1
Upgrade github.com/charmbracelet/soft-serve to 0.11.1
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-2025-64522, 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.1), 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. 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

SUMMARY We have identified and verified an SSRF vulnerability where webhook URLs are not validated, allowing repository administrators to create webhooks targeting internal services, private networks, and cloud metadata endpoints. AFFECTED COMPONENTS (VERIFIED) 1. Webhook Creation (pkg/ssh/cmd/webhooks.go:125) 2. Backend CreateWebhook (pkg/backend/webhooks.go:17) 3. Backend UpdateWebhook (pkg/backend/webhooks.go:122) 4. Webhook Delivery (pkg/webhook/webhook.go:97) IMPACT This vulnerability allows repository administrators to perform SSRF attacks, potentially enabling: a) Cloud Metadata Theft - Access AWS/Azure/GCP credentials via 169.254.169.254 b) Internal Network Access - Target localhost and private networks (10.x, 192.168.x, 172.16.x) c) Port Scanning - Enumerate internal services via response codes and timing d) Data Exfiltration - Full HTTP responses stored in webhook delivery logs e) Internal API Access - Call internal admin panels and Kubernetes endpoints PROOF OF CONCEPT Simple example demonstrating localhost access: ```sh ssh localhost webhook create my-repo http://127.0.0.1:8080/internal \ --events push --active ``` then push to trigger.

CVE-2025-64522 Affected Github.com/charmbracelet/soft serve Versions

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

References

Frequently Asked Questions

What is CVE-2025-64522?
CVE-2025-64522 is a security vulnerability in Github.com/charmbracelet/soft serve involving Soft Serve is vulnerable to SSRF through its Webhooks under CWE-918: Server-Side Request Forgery (SSRF).
Which Github.com/charmbracelet/soft serve versions are affected?
Affected versions include releases prior to 0.11.1 across affected packages: github.com/charmbracelet/soft-serve.
What version fixes CVE-2025-64522?
Upgrading to 0.11.1 (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.1. Upgrade your dependency to 0.11.1 or later.
What is the CVSS score of CVE-2025-64522?
CVE-2025-64522 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L.
What CWE is associated with CVE-2025-64522?
CVE-2025-64522 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Go dependencies for CVE-2025-64522?
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-vwq2-jx9q-9h9f",
  "modified" : "2025-11-15T02:51:46Z",
  "published" : "2025-11-10T21:34:44Z",
  "aliases" : [ "CVE-2025-64522" ],
  "summary" : "Soft Serve is vulnerable to SSRF through its Webhooks",
  "details" : "SUMMARY\n\nWe have identified and verified an SSRF vulnerability where webhook URLs are not validated, allowing repository administrators to create webhooks targeting internal services, private networks, and cloud metadata endpoints.\n\n\nAFFECTED COMPONENTS (VERIFIED)\n\n1. Webhook Creation (pkg/ssh/cmd/webhooks.go:125)\n2. Backend CreateWebhook (pkg/backend/webhooks.go:17)\n3. Backend UpdateWebhook (pkg/backend/webhooks.go:122)\n4. Webhook Delivery (pkg/webhook/webhook.go:97)\n\nIMPACT\n\nThis vulnerability allows repository administrators to perform SSRF attacks, potentially enabling:\n\na) Cloud Metadata Theft - Access AWS/Azure/GCP credentials via 169.254.169.254\nb) Internal Network Access - Target localhost and private networks (10.x, 192.168.x, 172.16.x)\nc) Port Scanning - Enumerate internal services via response codes and timing\nd) Data Exfiltration - Full HTTP responses stored in webhook delivery logs\ne) Internal API Access - Call internal admin panels and Kubernetes endpoints\n\nPROOF OF CONCEPT\n\nSimple example demonstrating localhost access:\n\n```sh\nssh localhost webhook create my-repo http://127.0.0.1:8080/internal \\\n    --events push --active\n```\n\nthen push to trigger.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/charmbracelet/soft-serve"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.11.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-vwq2-jx9q-9h9f"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64522"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/commit/bb73b9a0eea0d902da4811420535842a4f9aae3b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/charmbracelet/soft-serve"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/charmbracelet/soft-serve/releases/tag/v0.11.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-10T21:34:44Z",
    "nvd_published_at" : "2025-11-10T23:15:41Z"
  }
}