POST /api/llm/models accepted a client-supplied provider base_url and proxy and made its own outbound GET without adequate private-address, redirect, scheme or dial-time DNS checks. The Ollama selection did not require a cloud model-provider API key, enabling an authenticated user to probe internal services. A loopback reproduction showed the application…
Inspect the ClaimsCase · DiggingBeagle record
ARTEX model-listing endpoint became an authenticated server-side network probe
A loopback reproduction showed the application could return parsed data[].
Published by DiggingBeagle:
BaaRai/ARTEX open-source continuation fork, not automatically the earlier original ARTEX operator distribution through v0.6.0; valid session and control of model-discovery request arguments.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.
Assessed Nov 22, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV22-ARTEX-MODEL-DISCOVERY-SSRF-MECHANISM · CLM-2026-NOV22-ARTEX-MODEL-DISCOVERY-SSRF-SCOPE · BaaRai ARTEX advisory: caller-controlled base URL and proxy in model-listing request
At a glance
An authenticated model-discovery feature functioned as a network probe, so an application login did not establish authorization over every reachable internal service. Any mitigation must preserve explicitly approved private Ollama deployments while denying unsolicited internal, metadata and redirected targets at actual connection time.
Read the implicationsNo confirmed compromise of a cloud metadata endpoint or production deployment. Legitimate LAN Ollama endpoints make network-allowlist design operationally nuanced.
Limits and uncertaintyFull account
POST /api/llm/models accepted a client-supplied provider base_url and proxy and made its own outbound GET without adequate private-address, redirect, scheme or dial-time DNS checks. The Ollama selection did not require a cloud model-provider API key, enabling an authenticated user to probe internal services.
A loopback reproduction showed the application could return parsed data[].id values or the first 512 bytes of a non-200 response. The documented issue is network reach plus limited response disclosure, not proof that stored provider API keys were sent to arbitrary destinations. The critical boundary is authenticated model configuration input crossing into unrestricted server-side outbound network authority.
The documented repair is validate scheme, destination addresses, redirects and proxy behavior at connection time while explicitly allowing only approved private model endpoints. No confirmed compromise of a cloud metadata endpoint or production deployment. Legitimate LAN Ollama endpoints make network-allowlist design operationally nuanced.
Mechanism and trust boundary
- 01
Supply a provider discovery target
An authenticated caller sends POST /api/llm/models with a chosen base_url and optional outbound proxy; the Ollama provider option does not require a cloud-provider key.
Boundary: Authorized app session into user-directed model endpoint configuration
- 02
Make the application initiate a request
The server issues a GET using those arguments without sufficient scheme, destination-IP, DNS, proxy or redirect checks.
Boundary: Application server network privileges exceed caller-approved targets
- 03
Receive bounded response content
Controlled loopback testing returned parsed model IDs for successful responses or up to 512 bytes of a non-200 response; the record does not prove theft of saved model credentials.
Boundary: Outbound request plus partial response disclosure
Claims & evidence
CLM-2026-NOV22-ARTEX-MODEL-DISCOVERY-SSRF-SCOPEA loopback reproduction showed the application could return parsed data[].id values or the first 512 bytes of a non-200 response. The documented issue is network reach plus limited response disclosure, not proof that stored provider API keys were sent to arbitrary destinations.supported
Basis: reported finding
- supportsBaaRai ARTEX advisory: caller-controlled base URL and proxy in model-listing requestprimary disclosure
Primary advisory or study: reproduction, results and limitations
CLM-2026-NOV22-ARTEX-MODEL-DISCOVERY-SSRF-MECHANISMPOST /api/llm/models accepted a client-supplied provider base_url and proxy and made its own outbound GET without adequate private-address, redirect, scheme or dial-time DNS checks. The Ollama selection did not require a cloud model-provider API key, enabling an authenticated user to probe internal services.supported
Basis: reported finding
- supportsBaaRai ARTEX advisory: caller-controlled base URL and proxy in model-listing requestprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsBaaRai ARTEX advisory: caller-controlled base URL and proxy in model-listing requestprimary disclosure
GHSA-7w8h-wjpx-rxc7: POST /api/llm/models base_url and proxy handling, loopback response demonstration
Implications
An authenticated model-discovery feature functioned as a network probe, so an application login did not establish authorization over every reachable internal service. Any mitigation must preserve explicitly approved private Ollama deployments while denying unsolicited internal, metadata and redirected targets at actual connection time.
Controls and mitigations
- validate scheme, destination addresses, redirects and proxy behavior at connection time while explicitly allowing only approved private model endpoints
Unknowns and contradictions
- No confirmed compromise of a cloud metadata endpoint or production deployment. Legitimate LAN Ollama endpoints make network-allowlist design operationally nuanced.
Sources and citation
Material revision history
- Nov 22, 2026 · Published version · first publication · revision 275