#31052 Team admins can exfiltrate proxy env secrets via os.environ/ in DB-stored team models
### Summary
With `STORE_MODEL_IN_DB=true`, `os.environ/` references in a DB-stored model's `litellm_params` are resolved server-side, using the proxy process environment, at deployment load time. `/model/new` is a self-managed route, so a team admin (not only a proxy admin) can create a team-scoped model by passing a `team_id`, and there is no validation of the `litellm_params` they submit. A team admin can therefore set `api_key: os.environ/<ANY_PROXY_ENV_VAR>` together with an `api_base` they control, invoke the model, and receive the resolved secret as the upstream `Authorization` header.
The escalation is specifically the `os.environ/` resolution. Without it a team admin can only forward secrets they already know; with it they can reference and exfiltrate secrets they do not know, including `LITELLM_MASTER_KEY`, other providers' API keys, `DATABASE_URL`, and anything else in the proxy environment.
This is pre-existing behavior rather than something newly introduced; the resolution for DB-stored models regressed around v1.89.3 (see #30969) and is being restored in #31041. The restoration is correct for the operator use case, but it reopens this team-admin vector, so the acces…