← Back to verifying a finding

eMudhra G3CA key compromiseOctober 2026

Guide  ·  Incident  ·  Affected software  ·  Fixes  ·  Checker rules  ·  Proof  ·  References

Flow C
A version below a fix

One of four flows for verifying a finding by hand, from the original sources. Trace a Go or Rust version from its security advisory to the fix in the source.

About this flow

Flow C checks a version rule by tracing the fixed version from its security advisory to the version recorded in the software. It does not run the check. A version rule states the first release that carries a fix.

The check reaches its verdict from rules in this repository. These steps rebuild the evidence for one finding from primary artifacts, so you can confirm it without trusting the checker. Setup lists the tools this flow needs.

The line being checked

On a Mac with Go 1.27.1 installed from Homebrew, the check printed this line:

FAIL  go [host] found 1.27.1, fixed 1.27.3 (CVE-2026-111943, rebuild binaries after upgrading)

What the steps do

The versions in steps 2 and 3 depend on the machine.

Step 1. Make an empty work directory

mktemp -d makes a new empty directory. GOTOOLCHAIN=local makes go use the installed toolchain and never download another one.

cd "$(mktemp -d)"
export GOTOOLCHAIN=local
ls -A | wc -l
       0

Step 2. Read the installed Go version

go version
go version go1.27.1 darwin/arm64

go1.27.1 is the toolchain version. darwin/arm64 is the operating system and processor.

Step 3. Read the version recorded in a Go binary

Go writes a build record into every program it builds, and the first line names the toolchain that built it. go version -m reads the record from the file without running the program. The go command is itself a Go program, so its own file is the example.

go version -m "$(go env GOROOT)/bin/go" | head -n 4
/opt/homebrew/Cellar/go/1.27.1/libexec/bin/go: go1.27.1
	path	cmd/go
	build	-buildmode=exe
	build	-compiler=gc

go env GOROOT prints where the toolchain is installed. The record names Go 1.27.1, the same version as step 2.

go list -deps lists every package a program is built from. crypto/x509, the package the fix changes, is one of the packages in the go command:

go list -deps cmd/go | grep -x crypto/x509
crypto/x509

A program whose list has no crypto/x509 does not contain the code the fix changes.

Step 4. Read Go's vulnerability entry

Go publishes its vulnerabilities in its own database. The entry for this fix is GO-2026-6809, shown in a browser at pkg.go.dev/vuln/GO-2026-6809. The machine-readable record is one long line of JSON, so grep -o prints only the three fields used below.

curl -sS https://vuln.go.dev/ID/GO-2026-6809.json | grep -o -E '"(aliases|events|symbols)":\[[^]]*\]'
"aliases":["CVE-2026-111943"]
"events":[{"introduced":"0"},{"fixed":"1.26.10"},{"introduced":"1.27.0-0"},{"fixed":"1.27.3"}]
"symbols":["Certificate.Verify"]

Step 5. Read the CVE record

Go assigns CVE IDs for its own vulnerabilities, so Go also wrote the CVE record. The CVE Program serves it as JSON.

curl -sS https://cveawg.mitre.org/api/cve/CVE-2026-111943 | grep -o -E '"(assignerShortName|packageName)":"[^"]*"|"versions":\[[^]]*\]'
"assignerShortName":"Go"
"packageName":"crypto/x509"
"versions":[{"version":"0","lessThan":"1.26.10","status":"affected","versionType":"semver"},{"version":"1.27.0-0","lessThan":"1.27.3","status":"affected","versionType":"semver"}]

Step 6. Read Go's release history

Go lists every release with its date and a one-line summary at go.dev/doc/devel/release. The command prints the entries for the two fixed releases, without blank lines.

curl -sS https://go.dev/doc/devel/release | grep -A10 -E 'id="go1\.(27\.3|26\.10)"' | grep -v -E '^[[:space:]]*$'
		<p id="go1.27.3">
		go1.27.3
		(released 2026-10-19)
			includes
				security
				fixes to the <code>crypto/x509</code> package.
--
		<p id="go1.26.10">
		go1.26.10
		(released 2026-10-19)
			includes
				security
				fixes to the <code>crypto/x509</code> package.

Both releases came out on 19 October 2026 with security fixes to crypto/x509. On the same page, the entries for 1.27.1 and 1.27.2 name no crypto/x509 fix.

Step 7. Find the fix in Go's source code

The vulnerability entry links the change that made the fix, CL 851047, and the Go issue, 82345. Gerrit, Go's code review site, serves the change as JSON. Its times are in UTC.

curl -sS "https://go-review.googlesource.com/changes/851047?o=CURRENT_COMMIT&o=CURRENT_REVISION" | grep -o -E '"(status|submitted)":"[^"]*"|crypto/x509: distrust a handful of intermediates|Fixes CVE-[0-9-]+|For golang/go#[0-9]+' | sort -u
"status":"MERGED"
"submitted":"2026-10-20 02:40:26.000000000"
crypto/x509: distrust a handful of intermediates
Fixes CVE-2026-111943
For golang/go#82345

That change went into Go's main branch. Go tracks the copy for each older release line as a backport issue, and the issue's milestone is the release that shipped it.

for n in 82348 82349; do curl -sS https://api.github.com/repos/golang/go/issues/$n | grep -E '^  "title"|^    "title"'; done
  "title": "security: fix CVE-2026-111943 [1.26 backport]",
    "title": "Go1.26.10",
  "title": "security: fix CVE-2026-111943 [1.27 backport]",
    "title": "Go1.27.3",

The first title of each pair is the issue and the second is its milestone.

The change adds a denylist called distrustedSPKIHashes to src/crypto/x509/verify.go. It holds the SHA-256 hashes of the public keys of the distrusted intermediates. Counting the name in that file at each release tag shows which releases carry the denylist:

for t in go1.26.9 go1.26.10 go1.27.2 go1.27.3; do printf '%s %s\n' "$t" "$(curl -sS https://raw.githubusercontent.com/golang/go/$t/src/crypto/x509/verify.go | grep -c distrustedSPKIHashes)"; done
go1.26.9 0
go1.26.10 4
go1.27.2 0
go1.27.3 4

The source of the installed toolchain has no denylist:

grep -c distrustedSPKIHashes "$(go env GOROOT)/src/crypto/x509/verify.go"
0

grep -c prints 0 for a file with no match, and an error for a file that does not exist.

Step 8. Compare the versions

The check keeps its fixed versions in emudhra_check/fixes.py. The command reads the copy published with release v2.0.0.

curl -sS https://raw.githubusercontent.com/fieldse/emudhra-ca-compromise-check/v2.0.0/emudhra_check/fixes.py | grep -n -A6 '^GO_FIXED'
23:GO_FIXED: Final = FixRule(  # PKG-002 (R206)
24-    (("1.26", "1.26.10"), ("1.27", "1.27.3")),
25-    2,
26-    Level.FAIL,
27-    Level.FAIL,
28-    "CVE-2026-111943, rebuild binaries after upgrading",
29-)

sort -V sorts version numbers, so the lower of the two prints first.

printf '%s\n' 1.27.3 1.27.1 | sort -V | head -n 1
1.27.1

The same trace for a version in Cargo.lock

A Rust project's Cargo.lock records the exact version of every crate, or Rust package, it builds with. The crate webpki-roots carries its own copy of Mozilla's trusted roots, and the check judges its version against WEBPKI_ROOTS_FIXED in fixes.py.

The lockfile below is written by hand. It pins webpki-roots 1.0.9.

mkdir demo
cat > demo/Cargo.lock <<'EOF'
version = 4

[[package]]
name = "demo"
version = "0.1.0"
dependencies = ["webpki-roots"]

[[package]]
name = "webpki-roots"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
EOF
grep -A1 '^name = "webpki-roots"' demo/Cargo.lock
name = "webpki-roots"
version = "1.0.9"

Run on this directory, the check printed the line below. <work dir> stands for the directory from step 1.

FAIL  webpki-roots [<work dir>/demo/Cargo.lock] found 1.0.9, fixed 1.0.10

RustSec, the Rust security advisory database, lists the fix as RUSTSEC-2026-0381. The command reads the advisory's source file at a fixed commit of the database and prints the lines that name the fix.

curl -sS https://raw.githubusercontent.com/rustsec/advisory-db/8c25400939ad3954d97553d4dc48664c0771e1a7/crates/webpki-roots/RUSTSEC-2026-0381.md | sed -n '3,4p;13,17p;29,34p'
id = "RUSTSEC-2026-0381"
package = "webpki-roots"
aliases = ["CVE-2026-111943"]

[versions]
patched = [">= 1.0.10"]
unaffected = ["= 0.26.11"]
Version 1.0.10+ removes this root.

The `webpki-roots` 0.26.11 compatibility package contains no independent trust
store and re-exports the roots from its separately resolved 1.x dependency.
That parent dependency must resolve to 1.0.10 or newer; an older parent remains
affected by this advisory.

The webpki-roots release note for 1.0.10 names the removed root:

curl -sS "https://api.github.com/repos/rustls/webpki-roots/releases/tags/v%2F1.0.10" | grep -E -o '"(tag_name|published_at)": *"[^"]*"|Removed \\"[^\\]*\\"'
"tag_name": "v/1.0.10"
"published_at": "2026-10-19T20:12:29Z"
Removed \"emSign ECC Root CA - G3\"

The check's value is on line 66 of fixes.py, and line 67 holds the 0.26.11 version from the advisory:

curl -sS https://raw.githubusercontent.com/fieldse/emudhra-ca-compromise-check/v2.0.0/emudhra_check/fixes.py | grep -n -B1 '^WEBPKI'
65-# PKG-020 (R216), PKG-027 (R220)
66:WEBPKI_ROOTS_FIXED: Final = FixRule.single("1.0.10", Level.FAIL)
67:WEBPKI_WRAPPER: Final = "0.26.11"  # PKG-024 (R218)

FixRule.single is one fixed version with no release lines. A plain sort puts 1.0.10 before 1.0.9, so the comparison needs sort -V.

printf '%s\n' 1.0.10 1.0.9 | sort -V | head -n 1
1.0.9

Result

Each claim in Flow C rests on one of these original sources:

ClaimStepSource and what to look for
Go's fix is in 1.27.3 and 1.26.10Step 4GO-2026-6809 on pkg.go.dev. Alias CVE-2026-111943, fixed versions 1.27.3 and 1.26.10, symbol Certificate.Verify. Archived copy
Go assigned the CVE, for crypto/x509Step 5CVE record for CVE-2026-111943. "assignerShortName":"Go", "packageName":"crypto/x509" and "lessThan":"1.27.3". Archived copy
Go 1.27.3 and 1.26.10 came out on 19 October 2026 with crypto/x509 security fixesStep 6Go release history. "go1.27.3 (released 2026-10-19) includes security fixes to the crypto/x509 package." Archived copy
CL 851047 is Go's fixStep 7CL 851047. "crypto/x509: distrust a handful of intermediates", "Fixes CVE-2026-111943", merged 2026-10-20
The 1.27 backport shipped in Go 1.27.3Step 7Go issue 82349 in the GitHub API. "title": "security: fix CVE-2026-111943 [1.27 backport]" and the milestone's "title": "Go1.27.3"
go1.27.3 carries the denylist and go1.27.2 does notStep 7verify.go at tag go1.27.3. distrustedSPKIHashes, 4 times. The same file at tag go1.27.2 has none
The check's fixed versions for Go and webpki-rootsStep 8 and the Cargo.lock traceemudhra_check/fixes.py at release v2.0.0. Line 24 (("1.26", "1.26.10"), ("1.27", "1.27.3")) and line 66 FixRule.single("1.0.10", Level.FAIL)
webpki-roots 1.0.10 is the first fixed releaseCargo.lock traceRUSTSEC-2026-0381 at advisory-db commit 8c25400. patched = [">= 1.0.10"], unaffected = ["= 0.26.11"] and aliases = ["CVE-2026-111943"]
webpki-roots 1.0.10 removes the G3 rootCargo.lock tracewebpki-roots v/1.0.10 release note. Removed "emSign ECC Root CA - G3". Archived copy