Skip to main content

Replicate Cog CVE-2026-56712

| EUVDEUVD-2026-120404 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-09 VulnCheck GHSA-h5cc-4jr5-gjxg
7.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit prediction input with attacker URL
  2. Delivery
    Cog fetches cog.File/cog.Path URL
  3. Exploit
    Follow HTTP redirect to internal address
  4. Execution
    Reach internal service or metadata endpoint
  5. Impact
    Expose internal data or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to submit prediction inputs of type cog.File or cog.Path whose URL values the attacker controls, against a Cog instance (through 0.23.1) whose prediction API is reachable by untrusted clients; the URL (or an HTTP redirect from an attacker-controlled server) must resolve to an internal address because Cog does not validate the resolved destination host/IP before fetching. The practical value of exploitation is limited by what is actually reachable from the Cog host - internal HTTP services, cloud metadata (e.g., link-local/Azure 168.63.129.16) or credential endpoints must exist and respond for sensitive data to be exposed; hosts with no reachable internal services yield little. No authentication to Cog is required per PR:N, but the attacker must be able to reach and invoke the prediction endpoint.

Impact

This is a genuine but moderate-priority issue rather than a critical emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, unauthenticated, low-complexity exploitation, which raises real exposure where a Cog prediction endpoint is reachable by untrusted clients. However, the primary impact is confined: the vector reports no confidentiality/integrity/availability impact to the vulnerable system itself (VC:N/VI:L/VA:N) and locates the serious consequence in the subsequent system (SC:H/SI:L) - i.e., the internal services the SSRF reaches, not Cog itself. Exploitation signals are modest and consistent: EPSS is 0.40% (35th percentile), there is no CISA KEV listing, and the vuln.today decision label is 'this_week' (not act_now/emergency). A public PoC reference exists but is not verified as working exploit code. Net: a real, patch-worthy SSRF whose actual severity depends heavily on what internal services (cloud metadata, credential endpoints) are reachable from the Cog host; CVSS 7.8 overstates urgency relative to the low EPSS and absence of confirmed active exploitation.

Exploit ScenarioDerived

An attacker with access to a Cog model's prediction API submits a cog.File or cog.Path input whose URL points at an internal address (for example a cloud metadata endpoint), or at an attacker server that issues an HTTP redirect to one, since the destination host/IP is not validated before fetching. Cog then performs the request server-side and may expose internal services or credentials in the response. A public PoC reference exists but is not verified as working exploit code, so weaponization effort is unconfirmed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 12, 2026

Server-side request forgery in Replicate Cog through 0.23.1 lets an attacker who can submit predictions cause the Cog process to fetch attacker-chosen URLs supplied through cog.File and cog.Path inputs, because the resolved destination host/IP is never checked before the request is made. Requests to loopback, RFC1918, link-local metadata endpoints such as Azure's 168.63.129.16, or other internal HTTP services can therefore be issued from the Cog host, and an attacker-controlled server can also redirect a permitted fetch to an internal address. No CISA KEV listing and no confirmed working exploit exist, though a public PoC reference has been published; EPSS is low at roughly 0.4% (35th percentile), and the practical impact depends on which internal services are actually reachable from the Cog host.

Earlier versions of this analysis (1)
v1 Nov 09, 2026 - 20:51 CVSS 6.3

Replicate Cog through 0.23.1 is vulnerable to server-side request forgery: an attacker who can submit predictions to a reachable Cog HTTP server can make the Cog process fetch attacker-chosen URLs through cog.File or cog.Path inputs, including redirect chains to internal addresses. This can expose internal services or cloud metadata credentials, with impact depending on what the affected Cog deployment can reach. The vendor fix is in PR 3225; a public PoC reference exists but is not verified as working exploit code, and no active exploitation is confirmed.

RemediationAI

Upgrade Cog past 0.23.1 to a release containing the fix from PR #3225 (https://github.com/replicate/cog/pull/3225), which adds python/cog/_download.py with strict URL-authority validation, a single DNS resolution pinned to the actual TCP connection, and rejection of non-global, multicast, reserved, IPv4-mapped, 6to4/Teredo and explicitly blocked destinations (including 168.63.129.16 and NAT64 ranges); the advisory tracks patch availability at https://www.vulncheck.com/advisories/replicate-cog-ssrf-via-cog-file-and-cog-path-url-inputs. Because the vulnerability is only exploitable when an attacker can reach and invoke the prediction endpoint with cog.File/cog.Path URL inputs, interim mitigations are to restrict the prediction API to trusted callers (authentication, network policy or an API gateway in front of Cog) and to constrain what the Cog host can reach at the network layer - deny egress to link-local metadata addresses such as 169.254.169.254 and 168.63.129.16, to RFC1918 ranges and to internal service endpoints - accepting the trade-off that legitimate remote-URL inputs for those destinations will then fail. Neither mitigation is a complete substitute for the patched version, and Cog's patch is the only way to close the redirect and DNS-rebinding paths within the process itself.

Affected VersionsENISA

cog 0 ≤0.23.1

Affected Packages

euvd cog no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-918 (Server-Side Request Forgery) in the Python-based Cog container/prediction runtime. The cog.File and cog.Path predictor input types accept URL strings that Cog downloads on the server side; prior to the fix the download path used requests/urllib3 directly, so any hostname supplied by the caller - or any redirect chain returned by a caller-controlled server - was fetched regardless of where it resolved. That conflates the attacker's URL with the server's network position, exposing internal HTTP services, cloud metadata endpoints and credential endpoints. The upstream fix in PR #3225 introduces python/cog/_download.py, which validates the URL authority before Requests normalizes it (rejecting non-HTTP(S) schemes, embedded credentials, control characters, backslashes, percent-encodings and malformed ports), resolves the hostname once via getaddrinfo, rejects the entire answer set if any address is non-global, multicast, reserved, IPv4-mapped to a blocked range, 6to4/Teredo-encoded, or inside explicitly blocked networks (_INTERNAL_NETWORKS covering Azure's 168.63.129.16/32, NAT64 64:ff9b::/96 and 64:ff9b:1::/48, the deprecated 192.88.99.0/24 relay range, 3fff::/20, and fec0::/10), and then connects to the numeric addresses through a custom urllib3 connection so DNS is not re-resolved between check and fetch - closing the DNS-rebinding/TOCTOU gap. The PR also adds an explicit urllib3 dependency constraint (>=1.26.0,<3). The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:N/VI:L, SC:H/SI:L/SA:N) describes a network-reachable, unauthenticated request forgery whose primary severity comes from scope change and high confidentiality impact on the downstream system rather than on Cog itself.

Know when Cog gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.8 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N
vuln.today AI 9.3 CRITICAL

Network-reachable, unauthenticated, low-complexity SSRF (AV:N/AC:L/PR:N/UI:N); scope changes to internal services (S:C) with high confidentiality exposure of credentials/data and limited integrity, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Nov 12, 2026 - 19:43 vuln.today
v2 - CVSS changed
Severity Changed
Nov 12, 2026 - 19:37 NVD
MEDIUM HIGH
CVSS changed
Nov 12, 2026 - 19:37 NVD
6.3 (MEDIUM) 7.8 (HIGH)
CVE Published
Nov 09, 2026 - 20:21 cve.org
MEDIUM 6.3

DescriptionCVE.org

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.

Technical POC Analysis

CWE-918 (Server-Side Request Forgery).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-56712 is a high-severity server-side request forgery vulnerability in Replicate Cog (up to version 0.23.1) that allows an attacker who can submit predictions to force the Cog process to fetch arbitrary URLs, potentially reaching internal services such as loopback, private networks, or cloud metadata endpoints. This could lead to unauthorized access to sensitive internal resources or data exfiltration from the Cog host. Leadership should prioritize remediation because the vulnerability affects any environment where Cog is used to process untrusted inputs, and while no active exploitation has been observed, a public proof-of-concept reference exists, indicating a potential risk if left unpatched.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular ML model-packaging tool, confined to ML-serving deployments
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy