Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 87%

CVE-2026-45310: CWE-918: Server-Side Request Forgery (SSRF) in Hmbown CodeWhale

0
High
VulnerabilityCVE-2026-45310cvecve-2026-45310cwe-918
Published: 05/28/2026 (05/28/2026, 17:30:09 UTC)
Source: CVE Database V5
Vendor/Project: Hmbown
Product: CodeWhale

Description

CodeWhale is a DeepSeek + MiMo coding agent in terminal. Prior to 0.8.22, the fetch_url tool validates the initial URL's resolved IP address against a restricted-IP blocklist (is_restricted_ip()) to prevent SSRF attacks against internal services (cloud metadata endpoints, localhost, private networks). However, the HTTP client (reqwest) is configured to automatically follow up to 5 redirects (reqwest::redirect::Policy::limited(5)) without re-validating the redirect target against the same SSRF protections. This vulnerability is fixed in 0.8.22.

CVSS v3.1

Score 7.4high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
hmbown/CodeWhale
pkg:github/hmbown/CodeWhale
Affected versions
<0.8.22

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 20:48:14 UTC

Technical Analysis

CodeWhale versions before 0.8.22 contain an SSRF vulnerability (CWE-918) in the fetch_url tool. While the initial URL's IP address is checked against a restricted IP blocklist to prevent SSRF to internal services, the HTTP client (reqwest) automatically follows up to 5 redirects without re-validating the redirected URLs against the same blocklist. This flaw allows attackers to bypass SSRF protections by using redirects to access internal or restricted network endpoints. The vulnerability is resolved in CodeWhale 0.8.22 by ensuring proper validation of redirect targets.

Potential Impact

An attacker can exploit this vulnerability to perform SSRF attacks by using HTTP redirects to reach internal or restricted network resources that are normally protected by the IP blocklist. This can lead to unauthorized access to sensitive internal services such as cloud metadata endpoints or localhost interfaces. The CVSS score of 7.4 reflects a high severity impact with potential confidentiality loss but no integrity or availability impact is indicated.

Mitigation Recommendations

Upgrade CodeWhale to version 0.8.22 or later, where this SSRF vulnerability is fixed by validating redirect targets against the restricted IP blocklist. Since no official vendor advisory or patch link is provided, users should verify the version and update accordingly. Patch status is not explicitly confirmed beyond the version fix note, so checking the vendor's official channels for confirmation is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-11T20:50:30.538Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a188377e29bf47b50179033

Added to database: 05/28/2026, 18:03:35 UTC

Last enriched: 06/04/2026, 20:48:14 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 70

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses