This release includes 3 security fixes for security teams reviewing exposed deployments.
Topics
+4 more
Affected surfaces
ReleasePort's take
Moderate signalThe release restricts access to OpenAPI specs and version information to authenticated users only.
Why it matters: Admin login is now required for /openapi.json, /api/v1/openapi.json, /docs, and the /api/v1/version endpoint reveals exact app version solely to authenticated callers; unauthenticated requests receive limited info or a 404. This reduces exposure of sensitive implementation details.
Summary
AI summaryOpenAPI docs, version endpoint, and auth setup responses are now restricted to authenticated admins.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Security | Critical |
/openapi.json, /api/v1/openapi.json, and /docs now require admin login; docs hidden by default (404 unless ENABLE_API_DOCS=true) /openapi.json, /api/v1/openapi.json, and /docs now require admin login; docs hidden by default (404 unless ENABLE_API_DOCS=true) Source: llm_adapter@2026-06-03 Confidence: high |
— |
| Security | High |
/api/v1/version returns exact app version only to authenticated callers; unauthenticated requests receive limited info /api/v1/version returns exact app version only to authenticated callers; unauthenticated requests receive limited info Source: llm_adapter@2026-06-03 Confidence: high |
— |
| Security | High |
/api/v1/auth/setup returns 404 instead of 403 after initial setup, hiding first‑run admin creation flow from anonymous users /api/v1/auth/setup returns 404 instead of 403 after initial setup, hiding first‑run admin creation flow from anonymous users Source: llm_adapter@2026-06-03 Confidence: high |
— |
| Security | High |
Removed deployment host URL and SQLite implementation details (backup endpoints, version schema) from generated OpenAPI spec Removed deployment host URL and SQLite implementation details (backup endpoints, version schema) from generated OpenAPI spec Source: llm_adapter@2026-06-03 Confidence: high |
— |
Full changelog
Security
- Restrict the OpenAPI specification (
/openapi.json,/api/v1/openapi.json) and the/docsdocumentation page to signed-in admins, based on a penetration-test scan (#228)./docsis now hidden entirely in production and returns404unless the new optionalENABLE_API_DOCS=trueis set, in which case it is exposed to admins only. GET /api/v1/versionnow returns the exact application version only to authenticated callers (session or API token). Unauthenticated login and setup pages still receiveapp_nameandsetup_required, so version fingerprinting no longer works anonymously.POST /api/v1/auth/setupresponds with404instead of403in production once initial setup is complete, so the first-run admin-creation flow is no longer confirmed to anonymous visitors.- Remove the deployment host URL and SQLite implementation details (backup endpoint descriptions, version schema) from the generated OpenAPI spec.
Security Fixes
- Restricted `/openapi.json`, `/api/v1/openapi.json`, and `/docs` to signed-in admins; `ENABLE_API_DOCS=true` can re‑enable docs for admins.
- Limited `GET /api/v1/version` exact version response to authenticated callers only.
- Changed `POST /api/v1/auth/setup` production response from `403` to `404` after initial setup, hiding first‑run admin creation flow.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Beta — feedback welcome: [email protected]