{"answers":{"affected":"3 open source packages ship an affected version, including github.com/edgelesssys/contrast.","exploited":"There is no known exploitation of CVE-2026-100837 in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/contrast to 1.21.0 or later.","what":"CVE-2026-100837 is a medium-severity vulnerability in edgelesssys contrast, published on 27 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-100837 and fix it if it is affected.\n\nWhat it is: CVE-2026-100837 is a medium-severity vulnerability in edgelesssys contrast, published on 27 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-100837 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.21.0\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.21.0\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.21.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-100837/ (Markdown: https://insights.sbomify.com/CVE-2026-100837/index.md)","id":"CVE-2026-100837","markdown":"https://insights.sbomify.com/CVE-2026-100837/index.md","name":"CVE-2026-100837","record":{"aliases":["GHSA-6c87-g9pw-78fx","GHSA-frqc-cxqj-qxmv","GO-2026-5865"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Contrast container runtime","requires_auth":"none","summary":"Attackers can steal registry credentials and bypass TLS verification by registering domains that match unanchored suffixes in Contrast configuration.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Edgeless Systems Contrast through 1.20.0 Credential Leak via Registry Suffix Matching","id":"CVE-2026-100837","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Contrast before 1.19.1 CopyFile Policy Symlink Subversion","id":"CVE-2026-100838"},"packages":[{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":null,"source":"GHSA-6c87-g9pw-78fx"},{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GHSA-6c87-g9pw-78fx"},{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GO-2026-5865"}],"prev":{"headline":"Edgeless Systems Contrast through 1.20.0 Denial of Service via ciphertextContainer","id":"CVE-2026-100836"},"products":["contrast"],"published":"2026-09-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-28","vendors":["edgelesssys"]},"summary":"Attackers can steal registry credentials and bypass TLS verification by registering domains that match unanchored suffixes in Contrast configuration.","url":"https://insights.sbomify.com/CVE-2026-100837/"}