What happened
one-hub's vision image fetch builds requests from image_url without restricting destination reachability, allowing SSRF to internal or cloud-metadata endpoints via the chat-completions API as a low-privileged user.
Why it matters
one-hub is an LLM gateway fronting multiple providers; an SSRF through the vision image path lets a non-admin API token holder probe internal services or pull cloud-metadata credentials in an AI proxy deployment.
Attack vector
GetImageFromUrl fetches vision chat image_url values without destination restrictions, so a crafted image_url in a chat-completions request lets a low-privileged token holder read internal/cloud-metadata endpoints. CVSS 3.1 5.0 (AV:N/AC:L/PR:L/UI:N/S:C).
Affected systems
one-hub <= 0.14.27 (CWE-918, GetImageFromUrl in common/image/image.go)
Mitigation
Upgrade beyond 0.14.27 and/or add an SSRF destination allowlist for image_url fetches.