Skip to content

Possible fix(deps): 2 vulnerable dependencies in go.mod #1478

Description

@begininvoke

Spotted what might be an issue in go.mod around line 1.

The project pins golang.org/x/mod at v0.38.0, which is vulnerable to CVE‑2026‑56864. A compromised GOSUMDB can serve arbitrary module code that bypasses the Go module checksum database and the transparency log, enabling supply‑chain attacks such as injection of malicious binaries or backdoors. Because this could affect any build that resolves modules, the risk is HIGH. Upgrading to a fixed version (≥ 0.40.0) restores proper verification of module content.

Something like this might fix it:

```diff
--- a/go.mod
+++ b/go.mod
@@
-require golang.org/x/mod v0.38.0
+require golang.org/x/mod v0.40.0
```

For reference: rule CVE-2026-56864. Rated high.

I may be wrong about this one — closing it costs you nothing if so.


Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions