Edgeless Systems Contrast through 1.20.0 Credential Leak via Registry Suffix Matching
Published Sep 27, 2026
6.3
MEDIUMCVSS 4.0
EPSS 0.21%
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.
Affected products
-
- Version 0StatusaffectedConstraints<=1.20.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Edgelesssys | Contrast | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
github.com/edgelesssys/contrast
Go
Introduced 0 Fixed 1.21.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/edgelesssys/contrast | 0 | 1.21.0 |
Remediation
No remediation recorded yet.
Metrics
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Sep 28, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Not enough EPSS history yet for a chart. At least two recorded scores are needed.
Percentile over time
Not enough EPSS history yet for a chart. At least two recorded scores are needed.
References (2)
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-6c87-g9pw-78fx vendor-advisory
- https://www.vulncheck.com/advisories/edgeless-systems-contrast-through-1.20.0-credential-leak-via-registry-suffix-matching third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/edgelesssys/contrast/security/advisories/GHSA-6c87-g9pw-78fx | vendor-advisory | |
| https://www.vulncheck.com/advisories/edgeless-systems-contrast-through-1.20.0-credential-leak-via-registry-suffix-matching | third-party-advisory |
Change history (0)
No recorded changes yet.