Description
one-hub through 0.14.27 contains a server-side request forgery vulnerability in GetImageFromUrl in common/image/image.go that fetches vision chat image_url values without destination restrictions. Attackers holding a standard non-admin API token can send crafted /v1/chat/completions requests via Claude, OpenRouter or Ollama providers to reach internal services or cloud metadata endpoints.
Affected products and versions
MartialBE one-hub≤ 0.14.27
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-918 Server-Side Request Forgery (SSRF)
References
- github.com/MartialBE/one-hub/issues/939
- github.com/MartialBE/one-hub
- github.com/MartialBE/one-hub/blob/v0.14.27/common/image/image.go#L21-L30
- www.vulncheck.com/advisories/one-hub-through-0.14.27-ssrf-via-vision-chat-image-url
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.