{"id":"CVE-2026-56712","published":"2026-11-09T22:18:52.290","lastModified":"2026-11-09T22:18:52.290","description":"Replicate Cog through 0.23.1 contains a server-side request forgery vulnerability that allows attackers to cause the Cog process to make server-side HTTP requests by submitting prediction inputs with attacker-controlled URLs that are not validated against the resolved destination host or IP before fetching. Attackers can supply malicious URLs or exploit HTTP redirects in cog.File and cog.Path predictor inputs to force requests to internal addresses, potentially exposing sensitive internal services or credentials.","cvssScore":8.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","cwes":["CWE-918"],"vendors":[],"products":[],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-56712-cog-ssrf","tags":[]},{"url":"https://github.com/replicate/cog/pull/3225","tags":[]},{"url":"https://www.vulncheck.com/advisories/replicate-cog-ssrf-via-cog-file-and-cog-path-url-inputs","tags":[]}],"exploitRefs":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-56712-cog-ssrf","tags":[]},{"url":"https://github.com/replicate/cog/pull/3225","tags":[]}],"hasPoc":true,"ai":{"summary":"Cog versions through 0.23.1 contain a server-side request forgery (SSRF) vulnerability in prediction inputs where attacker-controlled URLs in cog.File and cog.Path parameters are not validated against resolved host or IP before making HTTP requests. This allows authenticated attackers to force the Cog service to contact internal or sensitive endpoints, potentially exposing internal services or credentials.","exploitability":"Exploitation requires low skill and only valid user-level access to submit prediction inputs with malicious URLs; no authentication bypass is needed beyond standard login.","blast_radius":"Successful exploitation could expose internal network resources, metadata services (e.g., AWS IMDS), or credential stores accessible from the Cog host, leading to data leakage or lateral movement within the cloud or on-premises infrastructure.","remediation":"Upgrade to Cog version 0.23.2 or later, which implements strict URL validation and blocks requests to internal IP ranges and localhost.","detection":"Defenders should monitor for outbound HTTP/HTTPS requests from the Cog service to non-public IP addresses (e.g., 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or to internal metadata endpoints (e.g., 169.254.169.254); such requests in logs from prediction workflows are strong indicators of SSRF attempts.","tags":["ssrf","web","auth-bypass","cloud","internal-exposure"],"model":"garnet-coder","analyzedAt":"2026-11-10T09:49:31.703Z"}}