Skip to content
Threat Feed
high advisory

Replicate Cog: Server-Side Request Forgery vulnerability (CVE-2026-56712)

Replicate Cog versions 0.23.1 and earlier are vulnerable to Server-Side Request Forgery (SSRF) due to improper URL validation in File and Path validators, enabling internal or loopback resource access.

CVE search metadata

CVE search record: CVE-2026-56712. KEV: no. Product: Cog (<= 0.23.1). Brief: Replicate Cog: Server-Side Request Forgery vulnerability (CVE-2026-56712). Brief link: https://feed.craftedsignal.io/briefs/2026-11-cve-2026-56712/

Triage facts

Revision 1
Applicability
Cog (<= 0.23.1)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
3 public sources
Freshness
Revision 1Nov 9, 07:20 UTC
Vulnerabilities
1 CVE
Source quality
B2Roughly even chance

CVE-2026-56712 is a Server-Side Request Forgery (SSRF) vulnerability affecting the Replicate Cog library. The cog.types.File.validate() and cog.types.Path.validate() functions fail to perform destination validation when processing user-provided HTTP(S) URLs. Because the library uses the requests library with default settings, it automatically follows redirects, allowing an attacker to reach internal or loopback resources by first contacting an attacker-controlled redirector. A public proof-of-concept exists, though no active exploitation has been confirmed.

Impact

Successful exploitation allows an unauthenticated attacker to make requests to internal services, local loopback resources (e.g., administrative interfaces, internal APIs), and cloud metadata services (e.g., 169.254.169.254), which could lead to unauthorized information disclosure.

Recommendation

  • Upgrade Cog to a version incorporating the fix described in the provided fix.md.
  • If upgrading is not immediately feasible, ensure that any user-controlled input to cog.File or cog.Path is strictly validated against a known allowlist of domains or CIDRs.
  • Implement a dedicated fetch proxy that enforces hostname resolution validation, disables automatic redirects, and blocks private/loopback address ranges (including 169.254.169.254).

Immediate actions

Audit environment for all instances of Cog library versions 0.23.1 and earlier.

IT Operations 48h

Threat Hunt

Search for unexpected outbound HTTP requests originating from infrastructure running Replicate Cog components to internal IP ranges or metadata services.

T1190 high medium confidence hunt now

Data: Firewall or VPC Flow logs, Application-level outbound HTTP proxy logs

Mitigations

Upgrade affected Cog instances to the patched version as recommended in fix.md.

immediate IT Operations

CVE-2026-56712