v1.1.2
qdm12/gluetun-serversv1.1.2Sep 28, 2026by wyuc
Upgrading?
AI Summary
OpenMAIC security release that restricts provider connections to validated addresses, refuses redirects, and sanitizes error messages.
Key Highlights
- Provider connections restricted to validated addresses
- Refusal of redirects
- Sanitized error messages to prevent information leakage
- Classroom media downloads secured via strict transport
Breaking Changes
- Caller-supplied URLs answering with redirects are refused
- Caller-supplied provider base URLs containing query strings or fragments are refused
- Caller-chosen loopback or private addresses require ALLOW_LOCAL_NETWORKS
- Client-supplied AliDocMind endpoints must be official hosts
- Provider check and generation errors return fixed messages without provider details
- Agent-runtime video and poster downloads require HTTPS
- Pinned provider requests do not use Node's environment proxy
- Provider ids naming inherited objects are no longer treated as server-configured
New Features
- Secure provider transport implementation
- Classroom media generation security updates
Full Release Notes
A security release. Server-side requests to provider URLs that a caller can choose now connect only to the addresses that passed validation and refuse redirects, and error responses no longer carry provider response bodies or connection details. Read **Behavior Changes** before upgrading. ## Security - Provider connections: when a provider is not configured on the server, the settings UI can supply its own base URL, endpoint or model. Several routes validated such a URL once and then connected with a transport that resolved DNS again or followed redirects: PDF parsing and connectivity checks, the Azure voice list, model listing, image and video providers, and LLM calls. Some of these routes also echoed provider response bodies or connection errors back to the caller. This allowed requests to internal addresses and probing of internal services. These requests now go through the strict provider transport, which pins every connection to validated addresses and refuses redirects. IP-literal hosts and the built-in default URLs of unmanaged providers are held to the same policy. Caller-facing errors are fixed text. Client-supplied AliDocMind endpoints must be official hosts. [GHSA-g87c-cm4q-cw5x](https://github.com/THU-MAIC/OpenMAIC/security/advisories/GHSA-g87c-cm4q-cw5x) [#1704](https://github.com/THU-MAIC/OpenMAIC/pull/1704) - Classroom media generation downloads provider-returned image and video URLs through the strict provider transport: HTTPS public addresses only, `data:` URLs decoded locally, and size bounded while streaming [#1692](https://github.com/THU-MAIC/OpenMAIC/pull/1692) (by @Yi-111-a). Agent-runtime image and video tools now do the same [#1704](https://github.com/THU-MAIC/OpenMAIC/pull/1704). ## Behavior Changes - A caller-supplied LLM, image/video, model-list, PDF-check or self-hosted MinerU base URL that answers with a redirect is refused instead of followed. Configure the final URL. - A caller-supplied provider base URL containing a query string or fragment is refused. - A caller-chosen loopback or private address, including an IP literal or an unmanaged provider's built-in `localhost` default (Ollama, Lemonade, VoxCPM), needs `ALLOW_LOCAL_NETWORKS`. Configure the provider on the server to keep it operator-managed. - Server-configured providers (LLM, image/video, TTS/ASR, MinerU, MinerU Cloud) may use local network addresses without `ALLOW_LOCAL_NETWORKS`. Cloud metadata and reserved ranges stay blocked, and redirects from them follow `ALLOW_LOCAL_NETWORKS`. - A client-supplied AliDocMind endpoint must be an official `docmind-api.<region>.aliyuncs.com` host over HTTPS; other endpoints answer `403 INVALID_URL`. Server-configured endpoints are unchanged. - Provider check and generation errors are fixed messages without the provider's response text or connection errors: - `/api/verify-pdf-provider` success no longer includes `status`; - `/api/azure-voices` answers provider failures with `502`; - `/api/provider/probe-models` reports other HTTP failures as `502` with the status class only; - LLM errors for a client-selected endpoint read `Cannot connect to API: connection failed` (or `request timed out`, `redirects are not allowed`) or the HTTP reason phrase; - MinerU Cloud errors report the HTTP status or numeric code. - Agent-runtime video and poster downloads require HTTPS. - Pinned provider requests connect directly and do not use Node's environment proxy (`NODE_USE_ENV_PROXY` with `HTTP_PROXY`/`HTTPS_PROXY`). - A provider id that names an inherited object property (such as `constructor`) is no longer treated as server-configured.
Related Repositories
ollama/ollama★ 184,234
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,064
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,629
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.
junegunn/fzf★ 83,715
:cherry_blossom: A command-line fuzzy finder