CVE-2026-133875: one-hub LLM API gateway fetched vision-chat image_url values server-side with no destination checks, letting any non-admin API token reach internal services and cloud metadata (through 0.14.27, no fix yet)
one-hub is a popular self-hosted OpenAI-compatible API management and distribution gateway (a fork of one-api). Through 0.14.27, when a vision chat request goes to the Claude, OpenRouter or Ollama providers, GetImageFromUrl in common/image/image.go downloads the image_url server-side to base64-encode it, checking only that the string starts with 'http'. Any holder of an ordinary user API token (self-registration is on by default) can send a /v1/chat/completions request that makes the gateway call internal services or cloud metadata endpoints. The GitHub issue is still open and no fixed release is listed.
What it is
Vulnerable path: common/image/http.go RequestFile, called from common/image/image.go GetImageFromUrl, used by providers/claude/chat.go, providers/openrouter/chat.go and providers/ollama/chat.go before the upstream call.
The endpoint needs only a standard per-user token (middleware.OpenaiAuth), and config.RegisterEnabled defaults to true, per the report (issue #939, opened 6 November 2026).
NVD published the CVE (CNA VulnCheck, CWE-918) on 20 November 2026, affecting one-hub through 0.14.27, the latest release (6 December 2025).
How to check
- Check whether you run one-hub (MartialBE/one-hub), any version up to 0.14.27, with Claude, OpenRouter or Ollama channels configured.
- Check whether public self-registration is enabled.
- Look in logs for chat completions whose image_url points at private IPs, localhost or 169.254.169.254.
How to fix
- No fixed release yet: disable self-registration and give API tokens only to trusted users.
- Block the gateway's outbound access to internal networks and cloud metadata (egress firewall, IMDSv2 with hop limit 1).
- Watch issue #939 and upgrade when a fix ships.
# AWS: require IMDSv2 with hop limit 1 on the gateway host
aws ec2 modify-instance-metadata-options --instance-id <id> --http-tokens required --http-put-response-hop-limit 1 Sources
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalMalicious npm packages posing as AI SDKs and MCP servers: character-ai-sdk, char-ai-sdk, @mibbp/agent-observer, mrnima-openai-chatgpt-bot and @fdcasj_dfew/md-doc-mcp
- criticalCVE-2026-119990: Azure OpenAI missing-authentication flaw rated 9.8, fixed by Microsoft in the service
- criticalCVE-2026-63377 and CVE-2026-63378: TAKO AI Agent for Okta lets anyone grab the first admin account and any user run Python as root, upgrade to 3.0.1-beta