Summary
CVE-2026-140422 is a missing-authentication vulnerability (CWE-306, authentication bypass) in ARTEX, an autonomous penetration testing platform from BaaRai. Unauthenticated remote attackers can claim the admin account on an uninitialized instance by calling the first-run /api/auth/init endpoint without a setup token. The CVSS v4.0 base score is 9.2 (Critical).
Technical details
- Root cause: The first-run initialization endpoint
/api/auth/initdoes not require a setup token, so it is a critical function with no authentication (CWE-306). - Trigger conditions: The instance has not yet been initialized, and the attacker can reach the service (default port 8787).
- Attack vector: Network. No authentication or user interaction is required.
- Impact: The attacker establishes admin credentials and gains control over tasks, findings, uploaded files, stored LLM API keys, and task credentials.
Affected software
- ARTEX 0.4.0 up to, but not including, 0.5.0
Severity
- CVSS v4.0: 9.2 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 8.1 (High) –
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade to ARTEX 0.5.0 or later.
- If you cannot upgrade immediately: Do not expose port 8787 to untrusted networks, and complete the admin initialization before making the instance reachable. Review any internet-exposed instance for unexpected admin accounts, and rotate any LLM API keys and task credentials stored on it if compromise is suspected.

