---
id: "CVE-2026-63377"
kind: "vulnerability"
aliases: ["CVE-2026-63377"]
title: "TAKO AI Agent for Okta: unauthenticated first-admin setup lets attackers take over"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-agent", "ai-tooling", "docker", "okta", "self-hosted"]
not_affected_if: ["not-network-reachable", "setup-already-completed-and-port-restricted", "version-3.0.1-beta-or-later"]
published_at: "2026-10-30T23:17:14+00:00"
first_seen_at: "2026-10-30T23:26:12+00:00"
updated_at: "2026-10-30T23:27:58+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63377", "first_seen_at": "2026-10-30T23:26:12+00:00"}]
---

# TAKO AI Agent for Okta: unauthenticated first-admin setup lets attackers take over

Before 3.0.1-beta, the TAKO AI Agent for Okta exposes a setup endpoint that lets any network client create the first administrator account before the owner runs initial setup. The attacker then gets a valid admin session and can read Okta-synced user data, API tokens, chat history and integration credentials.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the deployed version; affected builds are those before `3.0.1-beta`.
- Check whether `/api/auth/setup` answers on port `8001` from a host outside your network, and whether setup has been completed.
- Check whether `docker-compose.yml` publishes port `8001` on all interfaces.

## Fix

- Upgrade to `3.0.1-beta` or later.

## Timeline

- 2026-10-30T23:26:12+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-63377

## From the sources

TAKO AI Agent for Okta is a local-first AI agent that helps Okta administrators query tenant data using natural language. Prior to 3.0.1-beta, `POST /api/auth/setup` in `src/api/routers/auth.py` allows an unauthenticated network attacker to create the first administrator account before the legitimate owner completes initial setup. The `initial_setup` function checks only the `is_setup` completion flag and requires no authentication, one-time bootstrap token, or network restriction. The default `docker-compose.yml` publishes port 8001 on all interfaces, the `Dockerfile` starts the listener on 0.0.0.0, and `src/api/main.py` mounts the authentication router without a global authentication guard. The endpoint invokes `create_auth_user` with `UserRole.ADMIN` and `set_auth_cookie`, issuing a valid `fctr_session` JWT cookie. Localhost-only CORS rules do not restrict non-browser HTTP clients, and the setup operation does not require access to a real Okta tenant. The attacker becomes the sole administrator and prevents legitimate first-run setup, can read Okta-synced user data, API tokens, chat history, and application configuration, modify users and Okta integration credentials, and lock out administrators or disable the service. Already completed setup is rejected. This issue is fixed in version 3.0.1-beta.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
