HydrAIDE Authentication Bypass Vulnerability
Date: 2025-08
Affected: go/github.com/hydraide/hydraide, go/github.com/hydraide/hydraide
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: Critical
CWE: CWE-290
CVSS: 10 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)

### 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.


Mitigations:

Architectural layers (MAESTRO):