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.
- Example: the Go toolchain on a Mac, Go 1.27.1, below the fix in Go 1.27.3.
- Trace: from Go's vulnerability entry, its CVE record, its release history and its source code to the fixed release, and from the
gobinary to the toolchain version recorded in it. - Lockfiles: a dependency pinned in a lockfile, such as
webpki-rootsinCargo.lock, is checked the same way, from its advisory to the version the lockfile names.
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)
go [host]is thegocommand onPATH.found 1.27.1is the versiongo versionprints.fixed 1.27.3is the first 1.27 release with Go's fix for CVE-2026-111943.- A Go program carries the standard library it was built with. A program built with Go 1.27.1 keeps the unfixed code after the toolchain is upgraded, so the note asks for a rebuild.
What the steps do
- Steps 1 to 3: read the Go version on the machine, from the
gocommand and from the build record inside thegobinary. - Steps 4 to 7: trace the fix through four primary artifacts: Go's vulnerability entry, the CVE record, Go's release history and Go's source code.
- Step 8: compare the machine's version with the fix, and with the value in
emudhra_check/fixes.py. - Cargo.lock: run the same trace for
webpki-roots, from its advisory to a version pinned in a hand-written lockfile.
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"]aliasesties the entry to CVE-2026-111943.eventslists the affected ranges, and afixedversion is the first one not affected:- every version from
0up to1.26.10 - every version from
1.27.0-0up to1.27.3
- every version from
1.27.0-0is the lowest possible 1.27.0 pre-release, so the 1.27 release candidates are in the range too.symbolsnames the affected function,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"}]assignerShortNameshows that Go assigned the CVE.packageNameiscrypto/x509.versionsgives the same two ranges as step 4, withlessThanin place offixed.
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-)- Line 24 holds one fix per release line, 1.26.10 for 1.26 and 1.27.3 for 1.27. These are the two
fixedvalues from step 4. - The
2on line 25 makes the check pick the release line by the first two numbers of the version, so 1.27.1 is judged against 1.27.3. - Line 26 sets
FAILfor a version below its line's fix. - Line 27 sets
FAILfor a release line with no listed fix, such as 1.25. - Line 28 is the note at the end of the printed line.
R206is the entry on the references page that cites the sources in steps 4 to 6.
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.
patchedmakes 1.0.10 the first fixed release.- The root it removes is
emSign ECC Root CA - G3, named earlier in the same file. - 0.26.11 has no roots of its own. It is safe only when the lockfile resolves its 1.x dependency to 1.0.10 or later.
aliasesreuses Go's CVE ID.
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
- Go: the
gocommand on this Mac is Go 1.27.1, and the build record in thegobinary names the same toolchain. - Fix: Go's entry GO-2026-6809 and the CVE record for CVE-2026-111943 give 1.27.3 as the first fixed 1.27 release and 1.26.10 as the first fixed 1.26 release.
- Release: Go released both on 19 October 2026 with
crypto/x509security fixes. - Source: the denylist from CL 851047 is in
verify.goatgo1.26.10andgo1.27.3.- It is missing at
go1.26.9, atgo1.27.2and in the installed 1.27.1.
- It is missing at
- Check:
fixes.pyholds the same two versions.- 1.27.1 is below 1.27.3, so the
FAILline is correct for this machine.
- 1.27.1 is below 1.27.3, so the
- Cargo.lock: RUSTSEC-2026-0381 and the 1.0.10 release note make 1.0.10 the first
webpki-rootsrelease without the G3 root.fixes.pyholds 1.0.10, and a lockfile that pins 1.0.9 is below it.
Each claim in Flow C rests on one of these original sources:
| Claim | Step | Source and what to look for |
|---|---|---|
| Go's fix is in 1.27.3 and 1.26.10 | Step 4 | GO-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/x509 | Step 5 | CVE 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 fixes | Step 6 | Go release history. "go1.27.3 (released 2026-10-19) includes security fixes to the crypto/x509 package." Archived copy |
| CL 851047 is Go's fix | Step 7 | CL 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.3 | Step 7 | Go 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 not | Step 7 | verify.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-roots | Step 8 and the Cargo.lock trace | emudhra_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 release | Cargo.lock trace | RUSTSEC-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 root | Cargo.lock trace | webpki-roots v/1.0.10 release note. Removed "emSign ECC Root CA - G3". Archived copy |