Replicate Cog
Replicate Cog through 0.23.1 SSRF via cog.File and cog.Path URL Inputs
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 0.23.1
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 15 h before publication; not in CISA KEV. First PoC: SaiTeja-Erukude/CVE-2026-56712-cog-ssrf (created 9 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| SaiTeja-Erukude/CVE-2026-56712-cog-ssrf | 9 Nov 2026 −15 h | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /direct-file
- Key headers
Accept: */*- Ports
- 60391
- PoC User-Agent
python-requests/2.34.2- Seen in
- 1 repo: SaiTeja-Erukude/CVE-2026-56712-cog-ssrf
- Evidence
- SaiTeja-Erukude/CVE-2026-56712-cog-ssrf/evidence/direct_urlfile_ssrf-request.http:1
GET /path-input.txt
- Key headers
Accept: */*- Ports
- 60393
- PoC User-Agent
python-requests/2.34.2- Seen in
- 1 repo: SaiTeja-Erukude/CVE-2026-56712-cog-ssrf
- Evidence
- SaiTeja-Erukude/CVE-2026-56712-cog-ssrf/evidence/path_url_ssrf-request.http:1
GET /redirect
- Key headers
Accept: */*- Ports
- 60396
- PoC User-Agent
python-requests/2.34.2- Seen in
- 1 repo: SaiTeja-Erukude/CVE-2026-56712-cog-ssrf
- Evidence
- SaiTeja-Erukude/CVE-2026-56712-cog-ssrf/evidence/redirect_ssrf_redirector-request.http:1
GET /redirect-target
- Key headers
Accept: */*- Ports
- 60395
- PoC User-Agent
python-requests/2.34.2- Seen in
- 1 repo: SaiTeja-Erukude/CVE-2026-56712-cog-ssrf
- Evidence
- SaiTeja-Erukude/CVE-2026-56712-cog-ssrf/evidence/redirect_ssrf_internal-request.http:1
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/direct-file(?:[?#].*)?$
(?i)^/path-input\.txt(?:[?#].*)?$
(?i)^/redirect(?:[?#].*)?$
(?i)^/redirect-target(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [60391] (msg:"GG PoC-Monitor CVE-2026-56712 replicate cog exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/direct-file"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-56712; classtype:web-application-attack; sid:9156027; rev:1;)
alert http any any -> $HOME_NET [60393] (msg:"GG PoC-Monitor CVE-2026-56712 replicate cog exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/path-input.txt"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-56712; classtype:web-application-attack; sid:9284975; rev:1;)
alert http any any -> $HOME_NET [60396] (msg:"GG PoC-Monitor CVE-2026-56712 replicate cog exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/redirect"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-56712; classtype:web-application-attack; sid:9448515; rev:1;)
alert http any any -> $HOME_NET [60395] (msg:"GG PoC-Monitor CVE-2026-56712 replicate cog exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/redirect-target"; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-56712; classtype:web-application-attack; sid:9034603; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: replicate cog exploit attempt (CVE-2026-56712)
id: gg-pocmon-cve-2026-56712-9156027
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56712. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56712
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/direct-file'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56712
title: replicate cog exploit attempt (CVE-2026-56712)
id: gg-pocmon-cve-2026-56712-9284975
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56712. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56712
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/path-input.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56712
title: replicate cog exploit attempt (CVE-2026-56712)
id: gg-pocmon-cve-2026-56712-9448515
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56712. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56712
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/redirect'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56712
title: replicate cog exploit attempt (CVE-2026-56712)
id: gg-pocmon-cve-2026-56712-9034603
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56712. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56712
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/redirect-target'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56712