Description
CodeWhale before 0.8.64 contains a server-side request forgery bypass vulnerability in DNS pinning logic that fails to prevent time-of-check-time-of-use attacks. Attackers can manipulate DNS responses to fail initial resolution checks and succeed on secondary requests, allowing requests to internal IP addresses and bypassing SSRF mitigations.
Published: 2026-08-18
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

CodeWhale before version 0.8.64 contains an SSRF bypass flaw caused by DNS pinning logic that allows a time‑of‑check/time‑of‑use (TOCTOU) attack. By manipulating DNS responses, an attacker can cause the initial DNS check to fail and a subsequent request to resolve to an internal IP address, thereby violating SSRF mitigations and potentially accessing internal network resources. This flaw is a classic server‑side request forgery vulnerability identified with CWE‑918 and can result in confidential data exposure, lateral movement, and compromise of internal services.

Affected Systems

The vulnerability affects the Hmbown CodeWhale platform on all releases prior to version 0.8.64. No other vendors or products are listed in the CVE data.

Risk and Exploitability

The CVSS score of 9.2 indicates a high severity risk, and the EPSS score is not available. The vulnerability is not yet listed in the CISA KEV catalog. Exploitation requires control over DNS responses for a domain used by the application, which is typically achievable for attackers who can host non‑trusted DNS servers or compromise existing DNS infrastructure. Once executed, the attacker can force the application to resolve internal IP addresses and bypass SSRF controls, allowing potential read, write, or execution operations against internal services.

Generated by OpenCVE AI on August 18, 2026 at 16:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CodeWhale to version 0.8.64 or later, which removes the vulnerable DNS pinning logic.
  • Configure network firewalls or application security groups to block outbound connections from the CodeWhale service to private IP (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) thereby preventing accidental internal access.
  • Validate the DNS resolution performed by CodeWhale after applying the patch or configuration changes by running integration tests that attempt to access internal IP addresses and confirming they are blocked or flagged.

Generated by OpenCVE AI on August 18, 2026 at 16:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6v2g-fpxh-pmmh CodeWhale: SSRF‌ bypass - TOCTOU on DNS failure for DNS pinning
History

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hmbown
Hmbown codewhale
Vendors & Products Hmbown
Hmbown codewhale

Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description CodeWhale before 0.8.64 contains a server-side request forgery bypass vulnerability in DNS pinning logic that fails to prevent time-of-check-time-of-use attacks. Attackers can manipulate DNS responses to fail initial resolution checks and succeed on secondary requests, allowing requests to internal IP addresses and bypassing SSRF mitigations.
Title CodeWhale before 0.8.64 SSRF Bypass via DNS Pinning TOCTOU
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Hmbown Codewhale
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T19:02:07.303Z

Reserved: 2026-08-18T11:03:08.682Z

Link: CVE-2026-75856

cve-icon Vulnrichment

Updated: 2026-08-18T19:01:33.680Z

cve-icon NVD

Status : Received

Published: 2026-08-18T16:18:21.133

Modified: 2026-08-18T20:17:32.640

Link: CVE-2026-75856

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)