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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 17, 2026-11-28)
- **CWE:** CWE-1289
- **Aliases:** GHSA-6c87-g9pw-78fx, GO-2026-5865
- **Published:** 2026-07-01T18:43:55.000Z
- **Modified:** 2026-11-20T13:18:34.610Z

## Who should check

- Projects that depend on Go package github.com/edgelesssys/contrast (\< 1.21.0)
- Anyone running edgelesssys contrast \< 1.21.0

## 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.

## Affected and fixed versions

- Go `github.com/edgelesssys/contrast`: affected \< 1.21.0; fixed 1.21.0 (osv)
- edgelesssys contrast: \< 1.21.0 (cvelist)

## Mitigation

- Upgrade github.com/edgelesssys/contrast to 1.21.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-100837. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-100837.md
Affected: github.com/edgelesssys/contrast < 1.21.0
Fixed in: 1.21.0

Steps:
1. Search this machine and project for github.com/edgelesssys/contrast (Go), edgelesssys contrast: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-100837 being exploited?

There is no confirmed exploitation: CVE-2026-100837 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-100837?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-100837?

github.com/edgelesssys/contrast \< 1.21.0.

### Is there a fix for CVE-2026-100837?

Yes. Fixed in 1.21.0. Upgrade github.com/edgelesssys/contrast to 1.21.0 or later.

### How do I check if I'm affected by CVE-2026-100837?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/edgelesssys/contrast/security/advisories/GHSA-6c87-g9pw-78fx>
- patch: <https://github.com/edgelesssys/contrast/commit/10826b1d82613025767fb094e8aa51a7dcfbd2a1>
- other: <https://www.vulncheck.com/advisories/edgeless-systems-contrast-through-1.20.0-credential-leak-via-registry-suffix-matching>
- other: <https://github.com/edgelesssys/contrast>
- other: <https://github.com/edgelesssys/contrast/releases/tag/v1.21.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-100837>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6c87-g9pw-78fx> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5865> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-100837> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-100837>
