GHSA-qp7j-x725-g67f: Github.com/hydraide/hydraide Authentication Bypass Vulnerability

CRITICAL
CVSS 10.0
CWE-290
Published
Advisory Summary

GHSA-qp7j-x725-g67f is a CRITICAL (CVSS 10.0) authentication bypass vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Github.com/hydraide/hydraide libraries in the Go ecosystem. The issue involves hydraide authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 2.2.1, 0.0.0-20250816184905-1256db38c33c.

GHSA-qp7j-x725-g67f at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qp7j-x725-g67f
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-290: Authentication Bypass by Spoofing
Affected Product Github.com/hydraide/hydraide
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 10.0

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

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

How to Fix GHSA-qp7j-x725-g67f

To remediate this vulnerability, upgrade all affected Github.com/hydraide/hydraide 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/hydraide/hydraide fixed: 2.2.1
Upgrade github.com/hydraide/hydraide to 2.2.1
github.com/hydraide/hydraide fixed: 0.0.0-20250816184905-1256db38c33c
Upgrade github.com/hydraide/hydraide to 0.0.0-20250816184905-1256db38c33c
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/hydraide/hydraide

How to Check if You Are Affected

To determine whether your application is affected by GHSA-qp7j-x725-g67f, inspect your project dependencies for Github.com/hydraide/hydraide:

inspect dependencies for github.com/hydraide/hydraide

Analyze the terminal output to locate any version of Github.com/hydraide/hydraide in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.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-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Github.com/hydraide/hydraide, 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 There is no authentication of any kind. ### Details TLS is implemented, the tunnel between the client and server is secure, however once data is on the server, it's free to be read by any adversaries. On the client side : https://github.com/hydraide/hydraide/blob/main/sdk/go/hydraidego/client/client.go#L221 It should be using a TLS Config with RootCAs and Certificates, currently RootCAs only (under NewClientTLSFromFile) And on the server side, there should be ClientCAs and ClientAuth filled. ### PoC To bypass as is, the simplest way is to take the client and modify the code as such : Modified from https://github.com/hydraide/hydraide/blob/main/sdk/go/hydraidego/client/client.go#L209 ```go // hostOnly := strings.Split(server.Host, ":")[0] // creds, certErr := credentials.NewClientTLSFromFile(server.CertFilePath, hostOnly) // if certErr != nil { // slog.Error("error while loading TLS credentials: ", "error", certErr, "server", server.Host, "fromIsland", server.FromIsland, "toIsland", server.ToIsland) // errorMessages = append(errorMessages, certErr) // } var opts []grpc.DialOption tlsConfig := &tls.Config{ InsecureSkipVerify: true, } creds := credentials.NewTLS(tlsConfig) opts = append(opts, grpc.WithTransportCredentials(creds)) ``` ### Impact It impacts everyone who think there is any kind of authentication. --- ## Resolution This vulnerability has been fully fixed in server/v2.2.1 together with hydraidectl/v0.2.1. All users are strongly advised to upgrade: 1. Update to hydraidectl v0.2.1 2. Re-initialize server instances with hydraidectl init into a new folder. This generates the required certificate files, downloads the latest binaries, and sets up the necessary environment variables. For migration help, join the community Discord: https://discord.gg/xE2YSkzFRm or open a GitHub Discussion. If anything does not work, please report it.

GHSA-qp7j-x725-g67f Affected Github.com/hydraide/hydraide Versions

2 component(s)
Fixed Versions:
2.2.10.0.0-20250816184905-1256db38c33c
Product / Package Ecosystem Affected Versions Fixed Version
github.com/hydraide/hydraide
Go
≥ 2.1.1
< 2.2.1
2.2.1
github.com/hydraide/hydraide
Go
< 0.0.0-20250816184905-1256db38c33c
0.0.0-20250816184905-1256db38c33c

References

Frequently Asked Questions

What is GHSA-qp7j-x725-g67f?
GHSA-qp7j-x725-g67f is a security vulnerability in Github.com/hydraide/hydraide involving HydrAIDE Authentication Bypass Vulnerability under CWE-290: Authentication Bypass by Spoofing.
Which Github.com/hydraide/hydraide versions are affected?
Affected versions include releases prior to 2.2.1, 0.0.0-20250816184905-1256db38c33c across affected packages: github.com/hydraide/hydraide.
What version fixes GHSA-qp7j-x725-g67f?
Upgrading to 2.2.1, 0.0.0-20250816184905-1256db38c33c (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/hydraide/hydraide affected?
Yes, github.com/hydraide/hydraide is affected in releases prior to 2.2.1, 0.0.0-20250816184905-1256db38c33c. Upgrade your dependency to 2.2.1, 0.0.0-20250816184905-1256db38c33c or later.
What is the CVSS score of GHSA-qp7j-x725-g67f?
GHSA-qp7j-x725-g67f has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with GHSA-qp7j-x725-g67f?
GHSA-qp7j-x725-g67f is classified under CWE-290: Authentication Bypass by Spoofing (This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.).
How can I check Go dependencies for GHSA-qp7j-x725-g67f?
Run the dependency tree command: 'inspect dependencies for github.com/hydraide/hydraide'. 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-qp7j-x725-g67f",
  "modified" : "2025-08-29T20:37:10Z",
  "published" : "2025-08-19T15:34:48Z",
  "aliases" : [ ],
  "summary" : "HydrAIDE Authentication Bypass Vulnerability",
  "details" : "### Summary\nThere is no authentication of any kind.\n\n\n### Details\nTLS is implemented, the tunnel between the client and server is secure, however once data is on the server, it's free to be read by any adversaries.\n\nOn the client side : https://github.com/hydraide/hydraide/blob/main/sdk/go/hydraidego/client/client.go#L221\nIt should be using a TLS Config with RootCAs and Certificates, currently RootCAs only (under NewClientTLSFromFile)\n\nAnd on the server side, there should be ClientCAs and ClientAuth filled.\n\n### PoC\nTo bypass as is, the simplest way is to take the client and modify the code as such : \n\nModified from https://github.com/hydraide/hydraide/blob/main/sdk/go/hydraidego/client/client.go#L209\n```go\n\t\t\t// hostOnly := strings.Split(server.Host, \":\")[0]\n\t\t\t// creds, certErr := credentials.NewClientTLSFromFile(server.CertFilePath, hostOnly)\n\t\t\t// if certErr != nil {\n\t\t\t// \tslog.Error(\"error while loading TLS credentials: \", \"error\", certErr, \"server\", server.Host, \"fromIsland\", server.FromIsland, \"toIsland\", server.ToIsland)\n\t\t\t// \terrorMessages = append(errorMessages, certErr)\n\t\t\t// }\n\t\t\tvar opts []grpc.DialOption\n\t\t\ttlsConfig := &tls.Config{\n\t\t\t\tInsecureSkipVerify: true,\n\t\t\t}\n\t\t\tcreds := credentials.NewTLS(tlsConfig)\n\t\t\topts = append(opts, grpc.WithTransportCredentials(creds))\n```\n\n### Impact\nIt impacts everyone who think there is any kind of authentication.\n\n---\n\n## Resolution\n\nThis vulnerability has been fully fixed in server/v2.2.1 together with hydraidectl/v0.2.1.\n\nAll users are strongly advised to upgrade:\n\n1. Update to hydraidectl v0.2.1\n2. Re-initialize server instances with hydraidectl init into a new folder. This generates the required certificate files, downloads the latest binaries, and sets up the necessary environment variables.\n\nFor migration help, join the community Discord: https://discord.gg/xE2YSkzFRm or open a GitHub Discussion.\nIf anything does not work, please report it.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/hydraide/hydraide"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.1"
      }, {
        "fixed" : "2.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/hydraide/hydraide"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20250816184905-1256db38c33c"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/hydraide/hydraide/security/advisories/GHSA-qp7j-x725-g67f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hydraide/hydraide/commit/b252554a811400a81951dc9f959b99077f187975#diff-63efbc8179fff403eb5cc642407b33c0fb21aea2c84baaf5e5223f76f5d75f55"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hydraide/hydraide"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3895"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-290" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-19T15:34:48Z",
    "nvd_published_at" : null
  }
}