Skip to content

CVE-2026-100837 Edgeless Systems Contrast before 1.21.0 Credential Leak via Registry Suffix Matching

MediumCVSS 6.3 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Contrast (Edgeless Systems) before 1.21.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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
edgelesssys github.com/edgelesssys/contrast < 1.21.0 1.21.0 Fixed
edgelesssys github.com/edgelesssys/contrast(Go) < 1.21.0; <= 1.20.0 1.21.0 Fixed

Affected products

ProductAffected versionsFixed in
edgelesssys github.com/edgelesssys/contrast(Go) < 1.21.0 1.21.0
edgelesssys github.com/edgelesssys/contrast(Go) <= 1.20.0 No fix listed
edgelesssys github.com/edgelesssys/contrast < 1.21.0 1.21.0

References