CVE-2026-56712
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 reque…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Replicate
| Product | Affected versions |
|---|---|
| Cog | through 0.23.1 Version 0 ≤0.23.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/replicate/cog/pull/3225
- https://github.com/SaiTeja-Erukude/CVE-2026-56712-cog-ssrf
- https://www.vulncheck.com/advisories/replicate-cog-ssrf-via-cog-file-and-cog-path-url-inputs
- https://github.com/advisories/GHSA-h5cc-4jr5-gjxg
- https://nvd.nist.gov/vuln/detail/CVE-2026-56712