The software contains a Server-Side Request Forgery (SSRF) issue within the OCI registry token exchange process. When retrieving a model, the software does not properly validate the scheme, hostname, or IP range of the realm URL obtained from the registry's `WWW-Authenticate` header. This allows a malicious OCI registry to redirect requests to internal URLs, such as `http://127.0.0.1:3000/`, enabling arbitrary GET requests to internal services. The response from these internal services is then returned to the caller, and data can be relayed back to the attacker-controlled registry via the `Authorization: Bearer` header.