{"answers":{"affected":"5 open source packages ship an affected version, including github.com/hydraide/hydraide.","exploited":"There is no known exploitation of GHSA-qp7j-x725-g67f in the wild and no public exploit code.","fix":"Upgrade github.com/hydraide/hydraide to a fixed version for your release line: 0.0.0-20250816184905-1256db38c33c or 2.2.1.","what":"GHSA-qp7j-x725-g67f is an authentication bypass vulnerability in github.com/hydraide/hydraide, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-qp7j-x725-g67f and fix it if it is affected.\n\nWhat it is: GHSA-qp7j-x725-g67f is an authentication bypass vulnerability in github.com/hydraide/hydraide, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-qp7j-x725-g67f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hydraide/hydraide (Go): affected all versions; fixed in 0.0.0-20250816184905-1256db38c33c\n- github.com/hydraide/hydraide (Go): affected all versions; fixed in 0.0.0-20250816184905-1256db38c33c\n- github.com/hydraide/hydraide (Go): affected all versions; fixed in 0.0.0-20250816184905-1256db38c33c\n- github.com/hydraide/hydraide (Go): affected from 2.1.1; fixed in 2.2.1\n- github.com/hydraide/hydraide (Go): affected from 2.1.1; fixed in 2.2.1\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/GHSA-qp7j-x725-g67f/ (Markdown: https://insights.sbomify.com/GHSA-qp7j-x725-g67f/index.md)","id":"GHSA-qp7j-x725-g67f","markdown":"https://insights.sbomify.com/GHSA-qp7j-x725-g67f/index.md","name":"GHSA-qp7j-x725-g67f","record":{"aliases":["GO-2025-3895"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"HydrAIDE server","requires_auth":"none","summary":"HydrAIDE lacks authentication, allowing attackers to read server data without credentials. Users must upgrade to secure versions.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\nThere is no authentication of any kind.\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 := \u0026tls.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.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"HydrAIDE Authentication Bypass Vulnerability","id":"GHSA-qp7j-x725-g67f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":5,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250816184905-1256db38c33c"],"introduced":["0"],"last_affected":[],"package":"github.com/hydraide/hydraide","purl":null,"source":"GHSA-qp7j-x725-g67f"},{"ecosystem":"Go","fixed":["0.0.0-20250816184905-1256db38c33c"],"introduced":["0"],"last_affected":[],"package":"github.com/hydraide/hydraide","purl":"pkg:golang/github.com/hydraide/hydraide","source":"GHSA-qp7j-x725-g67f"},{"ecosystem":"Go","fixed":["0.0.0-20250816184905-1256db38c33c"],"introduced":["0"],"last_affected":[],"package":"github.com/hydraide/hydraide","purl":"pkg:golang/github.com/hydraide/hydraide","source":"GO-2025-3895"},{"ecosystem":"Go","fixed":["2.2.1"],"introduced":["2.1.1"],"last_affected":[],"package":"github.com/hydraide/hydraide","purl":null,"source":"GHSA-qp7j-x725-g67f"},{"ecosystem":"Go","fixed":["2.2.1"],"introduced":["2.1.1"],"last_affected":[],"package":"github.com/hydraide/hydraide","purl":"pkg:golang/github.com/hydraide/hydraide","source":"GHSA-qp7j-x725-g67f"}],"products":null,"published":"2025-08-19","related":[],"sources":[{"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"HydrAIDE lacks authentication, allowing attackers to read server data without credentials. Users must upgrade to secure versions.","url":"https://insights.sbomify.com/GHSA-qp7j-x725-g67f/"}