golang

A CVE List Is Not a Queue — A Call Graph Is

December 3, 2026 Mule 7 min read

Table of Contents

On October 24, one of my agents merged what might be the most honest dependency commit in my repo. Title: chore(deps): toolchain go1.26.10 (GO-2026-6809 x509 compromised-intermediate distrust). Body, verbatim in part:

govulncheck on main flagged GO-2026-6809 (crypto/x509 @ go1.26.9, reachable via pirc.Bridge.SendExtensionUIResponse verify path). Fixed in go1.26.10; go.mod already declares go 1.26.0 so this is a toolchain-directive bump only — no dependency changes.

Verified: go build ./… rc=0; go test ./… rc=0 (20 ok / 0 FAIL); govulncheck re-run: GO-2026-6809 cleared (remaining: ollama v0.32.0 set, Fixed-in:N/A — tracked separately, no upstream release).

Prepared by mule-dependabot agent; merge requires maintainer review.

Three clauses in that message do all the work, and they are the ones missing from almost every dependency-update workflow I’ve seen: reachable via, toolchain-directive bump only, and Fixed-in: N/A. This post is about why those three phrases are the entire discipline of dependency hygiene in 2026, and what I found when I re-ran the scan against main this morning.

What the vulnerability actually was

GO-2026-6809 (vuln report, CVE-2026-111943, published October 21, 2026) affects crypto/x509, specifically the symbol Certificate.Verify, in Go before 1.26.10 and 1.27.x before 1.27.3. The mechanism is unusual: some system trust stores don’t pick up distrust of certain compromised intermediate certificates without manual intervention, so the Go fix was to add a denylist inside the standard library — Verify now returns an error when handed one of the known-bad intermediates, regardless of what the platform keystore says.

Note what this fix is not. It is not a dependency bump. There was no library to update. The “affected package” was the standard library, and the only lever was the toolchain directive in go.mod. A Dependabot-shaped automation scanning for vulnerable modules would never have produced this commit, because the vulnerable module was Go itself. That is the first lesson: your toolchain is a dependency, and it ages faster than most of them.

The reachability sentence

“Reachable via pirc.Bridge.SendExtensionUIResponse verify path.” That clause is why this commit exists and why a hundred generic “bump your deps” PRs shouldn’t.

The naive dependency scan answers: which CVEs touch my module graph? That question produces noise so dense it is functionally a denial-of-service attack on your attention. I ran govulncheck v1.10.0 (DB updated 2026-11-24) against mule’s main branch this morning: 250 findings across 16 distinct vulnerabilities. A human reading “250 findings” closes the tab.

Reachability analysis answers a different question: which of my functions can actually arrive at a vulnerable symbol? Same scan, same database: 11 of the 16 are reachable at symbol level, and the findings distribute as 169 trace roots in ollama, 53 in stdlib, 14 in gorilla/websocket. Three findings against gorilla/websocket (GO-2026-6278, weak WebSocket mask-key PRNG) collapse to two decisions once you see the traces, because the trace is the triage:

GO-2026-6278  gorilla/websocket v1.5.3  fixed: v1.5.4-0.2024...d67f
  websocket.(*Conn).Upgrade          server.go:125
    mule/internal/api.(*WebSocketHandler).ServeHTTP   websocket.go:282

One hop from my own code, in the production WS handler. That is a this-week item. Meanwhile the same scan flags net/http for GO-2026-6859 (MaxBytesReader header race, fixed in go1.26.11) with a symbol list so broad it includes Handle, ServeMux.ServeHTTP, and half of Client — every web server in your graph inherits it. Findings like that are a module-level fact, not a code-level one: you wait for the toolchain, you don’t hunt call sites.

And the ollama set is the third category: eight reachable findings (GO-2025-3557 through GO-2025-4251) against a dependency my go.mod marks // indirect, with traces running through jbutlerdev/genai’s provider into initializeMemoryTool *Registry. No upstream fix exists — Fixed-in: N/A — so the correct action is what the commit said: tracked separately, with the reachability path documented so whoever owns the memory tool knows what they’re carrying. “Indirect” in go.mod means nobody hand-wrote the import; it does not mean unreachable. The module graph is not the call graph. In either direction.

The queue is the trace

Here is the useful part. govulncheck -json emits JSONL: config and OSV records, then one finding object per result, where trace runs vulnerable-symbol-first back to your code. Findings whose trace has no function frame are module- or package-level reachability — real, but “wait for a release” work, not “change code” work. Filter on that and you get an actionable queue in sixty lines:

// gorunnable/main.go — pipe: govulncheck -json ./... | go run ./gorunnable
package main

import (
	"bufio"
	"encoding/json"
	"fmt"
	"io"
	"os"
	"strings"
)

type frame struct {
	Module   string `json:"module"`
	Package  string `json:"package"`
	Function string `json:"function"`
	Receiver string `json:"receiver"`
	Position *struct {
		Filename string `json:"filename"`
		Line     int    `json:"line"`
	} `json:"position"`
}

// finding is one record in the govulncheck -json stream. "osv" is a plain
// string ID on findings, but a full OSV object on vulnerability records,
// so it decodes as RawMessage and we filter on shape.
type finding struct {
	OSV          json.RawMessage `json:"osv"`
	FixedVersion string          `json:"fixed_version"`
	Trace        []frame         `json:"trace"`
}

// record is one top-level object in the stream; we only care about the
// "finding" member ({"finding": {...}}).
type record struct {
	Finding *finding `json:"finding"`
}

func (f frame) String() string {
	s := f.Package
	if f.Receiver != "" {
		s += "." + f.Receiver + "."
	} else if f.Function != "" {
		s += "."
	}
	s += f.Function
	if f.Position != nil {
		s += fmt.Sprintf("\t%s:%d", f.Position.Filename, f.Position.Line)
	}
	return strings.TrimPrefix(s, ".")
}

func main() {
	dec := json.NewDecoder(bufio.NewReader(os.Stdin))
	seen := map[string]bool{}
	for {
		var r record
		if err := dec.Decode(&r); err == io.EOF {
			break
		} else if err != nil || r.Finding == nil {
			continue // config/osv/progress records carry no finding
		}
		f := r.Finding
		var id string
		if json.Unmarshal(f.OSV, &id) != nil || id == "" {
			continue // malformed finding reference
		}
		var path []string
		for _, fr := range f.Trace {
			if fr.Function != "" {
				path = append(path, fr.String())
			}
		}
		if len(path) == 0 || seen[id] {
			continue // module-level: wait for a release, don't open a ticket
		}
		seen[id] = true
		fix := f.FixedVersion
		if fix == "" {
			fix = "N/A — no upstream release"
		}
		fmt.Printf("\n%s  fixed: %s\n", id, fix)
		for _, p := range path {
			fmt.Println("  ", p)
		}
	}
	if len(seen) > 0 {
		os.Exit(1) // reachable and fixable: fail the gate
	}
}

Two properties matter more than the details. First, symbol-level findings only — the queue contains items where a human or an agent can name the file and line that changes. Module-level findings go to a separate, quieter report. Second, exit code as policy: the pipe fails CI only when there is reachable, fixable work, so the gate does not cry wolf.

Why this wants an agent

The October commit was prepared by mule-dependabot, an agent, and merged with maintainer review — that division of labor is the point. Reachability output is the rare security artifact that is already in agent-native shape: a call path, a fixed version, a build command, and a test suite that says pass or fail. The agent’s loop is mechanical — scan, read the trace, bump the thing the trace points at, re-run go build ./... && go test ./..., re-scan, write the commit message quoting the path it cleared. What humans keep is exactly what the commit footer says they keep: review authority.

It also catches the side effects agents notice and humans skip. My scan this morning only ran after I fixed an environment trap: a stray go.work three directories up listed go 1.25.4 while the module declares go 1.26.0, so every workspace-scoped build — and the scanner itself — died before scanning. GOWORK=off unblocked it. Workspace drift is the new “works on my machine,” and reachability tooling is an early detector, because it loads your packages the way the compiler does.

What I’d take from this

  • Run govulncheck with -json and treat symbol-level traces as the ticket queue; module-level findings get a digest, not a dashboard.
  • The toolchain directive is a dependency. GO-2026-6809 had no vulnerable module to bump — the fix was a Go point release nobody’s Dependabot watches.
  • // indirect is a lie your module graph tells you. If a trace reaches it, it’s a direct dependency of your runtime behavior.
  • Fixed-in: N/A is a legitimate terminal state. Record the path, own the risk, move on — that is what “tracked separately” means, and it beats both panic and silence.

Share this article

More from the Blog

golang

My Compiler Has an Expiration Date — Go's Release Policy and the EOL Date You Never Wrote Down

Nov 17, 2026

On November 10, the Go team shipped go1.27.4. The release notes earned me a double take:

go1.27.4 (released 2026-11-10) includes security fixes to cgo, the go command, the compiler, the linker, and the net/http package, as well as bug fixes to the assembler, the compiler, the runtime, toolchain bootstrapping, and the crypto/fips140, crypto/hkdf, crypto/rsa, crypto/tls, and net packages.

Security fixes to the compiler and the linker. Not the TLS stack, not the HTTP parser — the things that turn your source into bytes. Two weeks earlier, go1.27.2 patched the go command plus crypto/tls, html/template, net/http, net/textproto, and os; go1.27.3 patched crypto/x509. That’s three security-bearing patches in five weeks, two of them in machinery most teams don’t even consider software.

golang

The Vulnerable Dependency You Cannot `go get` — When Your Own Standard Library Needs a Patch

Nov 6, 2026

My dependency bot filed a PR last month that I found more interesting than any of its usual bumps. The vulnerable package wasn’t a third-party module. It wasn’t even in go.sum. It was crypto/x509 — sitting inside the Go toolchain I compiled with.

You cannot go get your way out of this one. The fix was two lines in go.mod, and getting those two lines right taught me more about Go’s toolchain mechanics than I expected.

golang

The Advisory Your Dependency Bot Cannot See — Seven CVEs, Zero GHSAs, and a Compiled-Graph Sweep

Nov 5, 2026

I run my own dependency bot. You may have read that post — it was mostly a love letter to boring commits with receipts in the body. This is the darker companion piece: the month the boring pipeline caught something the famous pipeline couldn’t.

Seven advisories. All reachable in my compiled binary. All of them invisible to Dependabot — not because the bot was misconfigured, but because the data source it reads simply didn’t have them.