CVE-2026-63378
8.8 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-02
AI risk analysis
- Summary
- The TAKO AI Agent for Okta allows any authenticated user with a valid session cookie to execute arbitrary Python code as root by bypassing input validation through dynamic `getattr` calls through `__builtins__`, leading to full container compromise.
- Exploitability
- Low effort: any authenticated user can exploit it by sending a crafted POST request to /api/react/execute-script with malicious Python code in the script_code field; no additional privileges or complex conditions required.
- Blast radius
- Full system compromise of the application container as root, enabling theft of Okta API tokens, JWT keys, database access, lateral movement, and persistence.
- Detection
- Log entries showing POST requests to /api/react/execute-script with script_code containing dynamic imports (e.g., getattr(__builtins__, '__import__')) or suspicious AST patterns like ast.Call nodes targeting built-in functions may indicate exploitation attempts; however, no reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to TAKO AI Agent version 3.0.1-beta or later, which fixes the code validation bypass.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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, any authenticated user with a valid `fctr_session` cookie can submit arbitrary Python source in the `script_code` field of `POST /api/react/execute-script`, without administrator privilege. In `src/api/routers/react_stream.py`, the source is stored with `skip_discovery=True`, bypassing AI-based content filtering, and is passed to `validate_generated_code` in `src/utils/security_config.py`. `BLOCKED_PATTERNS` recognizes direct `__import__` calls but misses the import name passed as a string, `getattr` is in `ALLOWED_BUILTINS`, and the AST checker handles `ast.Name` and `ast.Attribute` targets but fails to handle `ast.Call` targets. Dynamic `getattr` call chains through `__builtins__` therefore evade validation. The `_write_temp_script` helper writes the accepted code to disk, and `asyncio.create_subprocess_exec()` executes it as the application process user, which is root in the default container. Command output is returned as Server-Sent Events through `GET /api/react/stream-react-updates?process_id=<id>`. The resulting container compromise can disclose environment secrets including Okta API tokens and the JWT key, expose the SQLite database, and permit backend-service pivoting and persistence. This issue is fixed in version 3.0.1-beta.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100857PoC
- HIGHCVE-2026-101288
- CRITICALCVE-2026-107328
- CRITICALCVE-2026-107329
- HIGHCVE-2026-110193
- HIGHCVE-2026-110309
- CRITICALCVE-2026-115252
- HIGHCVE-2026-115935PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.