Description
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.
Published: 2026-10-30
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: Administrator Takeover
Action: Immediate Patch
AI Analysis

Impact

The TAKO AI Agent for Okta contains an authentication bypass flaw that allows a network attacker to issue an unauthenticated POST request to the /api/auth/setup endpoint. Because the endpoint performs only a flag check for an existing setup, the request creates an administrator account, sets a session cookie, and grants full admin privileges. The attacker can then read synced user data, API tokens, chat history, application configurations, and modify integral Okta settings. This results in a complete takeover of the tenant’s administrative controls.

Affected Systems

The vulnerability exists in all releases of the Okta AI Agent before version 3.0.1‑beta. The product is distributed as a Docker image that, by default, listens on port 8001 on all network interfaces. The Dockerfile and server code expose this port and mount authentication routes without a global guard, enabling the setup route to be accessed from any client.

Risk and Exploitability

The CVSS base score of 9.8 indicates a critical security flaw, and the absence of an EPSS score reflects a lack of publicly known exploitation data. The vulnerability is not listed in the CISA KEV catalog, but the attack vector is clear: an unauthenticated HTTP client can trigger the setup route from any network location that can reach the container’s port 8001. As the flaw allows creation of a privileged administrator account without credentials, it provides immediate full control over the tenant. The patch in release 3.0.1‑beta (which enforces authentication and limits exposure) is the definitive mitigation.

Generated by OpenCVE AI on October 30, 2026 at 23:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to version 3.0.1‑beta or later to enforce authentication on the setup route.
  • If an upgrade cannot be performed immediately, bind the agent service to localhost only or modify the Docker configuration to expose port 8001 only on the local interface.
  • Configure network firewall rules to block external access to the agent’s port 8001 until the patch is applied.
  • Revoke or rotate any Okta API tokens that might have been exposed prior to patching to mitigate potential credential compromise.

Generated by OpenCVE AI on October 30, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Description 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.
Title TAKO AI Agent for Okta: Unauthenticated first-run administrator takeover
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T22:18:26.733Z

Reserved: 2026-07-16T17:39:30.170Z

Link: CVE-2026-63377

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T23:17:14.267

Modified: 2026-10-30T23:17:14.267

Link: CVE-2026-63377

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T23:30:15Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function