All vulnerabilities
CVE-2026-100837GHSA-6c87-g9pw-78fxGO-2026-5865

Edgeless Systems Contrast through 1.20.0 Credential Leak via Registry Suffix Matching

edgelesssys contrastGoLibraries & packages
CVSS
6.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.21%Chance of exploitation activity in the next 30 days, higher than 10% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.21.0Fixed versionOSV
Published27 Sep 2026Updated 28 Sep 2026CVE List

What fixes it

  • 1.21.0github.com/edgelesssys/contrast, GoOSVgo get github.com/edgelesssys/contrast@v1.21.0

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Contrast (Edgeless Systems) through 1.20.0 performs unanchored suffix matching when selecting per-registry configuration in the imagepuller. Config.registryFor strips a single trailing dot and then uses strings.HasSuffix(hostname, fqdn) without requiring a DNS label boundary, so a registry entry such as [registries."ghcr.io."] is also applied to any host whose name merely ends in that byte sequence, including attacker-registered domains such as evilghcr.io. When an image or layer is pulled from such a sibling domain, the imagepuller sends the configured Authorization header (basic auth, registry token, or identity token), trusts the configured custom CA bundle, follows the configured mirror, and honours insecure-skip-verify (disabling TLS verification) for that host. Image integrity is not affected, as image bytes remain pinned by digest in the policy and are validated after the pull. Configurations that use a leading dot (e.g., [registries.".example.registry"]) are unaffected.

Text from CVE List

Affected versions 2

  • contrastaffected: all versions through 1.20.0CVE List
  • github.com/edgelesssys/contrast, Gofrom first release, fixed in 1.21.0OSV

References 2