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

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-07-01T18:43:55.000Z
- Modified: 2026-11-20T13:18:34.610Z
- Also known as: GHSA-6c87-g9pw-78fx, GO-2026-5865
- Weaknesses: CWE-1289
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- edgelesssys contrast: before 1.21.0
- github.com/edgelesssys/contrast (Go): before 1.21.0

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/edgelesssys/contrast/security/advisories/GHSA-6c87-g9pw-78fx> (advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/edgeless-systems-contrast-through-1.20.0-credential-leak-via-registry-suffix-matching> (third-party-advisory)
- <https://github.com/edgelesssys/contrast/commit/10826b1d82613025767fb094e8aa51a7dcfbd2a1> (fix, web)
- <https://github.com/edgelesssys/contrast> (package)
- <https://github.com/edgelesssys/contrast/releases/tag/v1.21.0> (web)

## Sources

- CVE List: [CVE-2026-100837](https://www.cve.org/CVERecord?id=CVE-2026-100837), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-6c87-g9pw-78fx](https://github.com/advisories/GHSA-6c87-g9pw-78fx), CC-BY-4.0, modified 2026-09-27
- Go Vulnerability Database: [GO-2026-5865](https://pkg.go.dev/vuln/GO-2026-5865), CC-BY-4.0, modified 2026-09-27
- NVD: [CVE-2026-100837](https://nvd.nist.gov/vuln/detail/CVE-2026-100837), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-100837 · Whole record: https://cve.day/CVE-2026-100837.json · Rebuilt by cve.day 2026-11-25T22:59:41.252Z
