Home › Vulnerabilities › BaaRai
ARTEX 0.4.0 Flaws Include Critical Admin Takeover Via Auth Bypass and Weak Login Protection
Four ARTEX vulnerabilities published by NVD on 2026-12-01 cover authentication, information disclosure and file handling. Two critical flaws let unauthenticated remote attackers take over the admin account, so administrators should upgrade affected instances and check for exposed, uninitialized installs.
What to look into
- 4 vulnerabilities in BaaRai ARTEX: 2 critical, 1 high, 1 low (CVSS up to 9.2).
- None of them is known to be exploited yet.
- Start with CVE-2026-140422 (9.2 critical): ARTEX 0.4.0 before 0.5.0 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to claim the admin account by calling the first-run /api/auth/init endpoint witho… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 3 of 4 can be attacked over the network without logging in, 3 of them without anyone clicking anything.
- Kinds of flaws: Missing Authentication for Critical Function; Improper Restriction of Excessive Authentication Attempts; Insertion of Sensitive Information Into Sent Data; Improper Link Resolution Before File Access ('Link Following').
Key points
- Two CVSS 9.2 critical flaws in ARTEX 0.4.0 let unauthenticated remote attackers gain admin access.
- CVE-2026-140422 is an authentication bypass through the first-run /api/auth/init endpoint on uninitialized instances.
- CVE-2026-140365 covers unlimited password guessing against the login endpoint, which has no lockout or rate limiting.
- CVE-2026-138591 (HIGH) can leak agent traffic, including credentials, to an unrelated first-contacted host when capture is enabled.
- CVE-2026-138590 (LOW) lets a compromised executor redirect root-written uploads via a symlink; no exploitation is stated.
Two critical flaws allow admin takeover
CVE-2026-140422 (CVSS 9.2) affects ARTEX 0.4.0 before 0.5.0. According to the NVD record, an unauthenticated remote attacker can call the first-run /api/auth/init endpoint without a setup token and set the admin password on an uninitialized instance exposed on port 8787.
CVE-2026-140365 (CVSS 9.2) affects 0.4.0 before 0.5.1. The record says POST /api/auth/login has no rate limiting, lockout or backoff and accepts 8-character admin passwords, so an unauthenticated attacker can make unlimited guesses against a network-exposed admin account.
Per the records, either path gives control over tasks, findings, uploaded files, stored LLM API keys and task credentials.
Information disclosure and upload path issues
CVE-2026-138591 (CVSS 8.2) affects 0.4.0 before 0.7.1. It concerns the go-mitmproxy-based recording proxy. The record states that when traffic capture is enabled, later plain-HTTP keep-alive requests for other hosts can be forwarded to the first upstream host contacted, which may receive paths, bodies, and Cookie and Authorization headers.
CVE-2026-138590 (CVSS 1.0, rated LOW) affects 0.7.0 before 0.7.1. It is a symlink-following flaw in chatUpload. According to the record, an unprivileged executor with code execution, such as a prompt-injected agent, can replace the uploads directory with a symlink so the root server writes uploaded files into another host directory.
What the records do not say
None of the four records states that these flaws have been exploited in the wild. The sources do not give workarounds or detection guidance beyond the affected version ranges.
What to do
- Upgrade to ARTEX 0.5.0 or later for CVE-2026-140422, and 0.5.1 or later for CVE-2026-140365.
- Upgrade to 0.7.1 or later to cover CVE-2026-138591 and CVE-2026-138590, which are fixed in that release per the records.
- Identify any ARTEX instances on port 8787 that were never initialized, since the records say these are the exposed targets of the init bypass.
- Disable traffic capture on the recording proxy until the 0.7.1 upgrade is applied, if your deployment allows it; the records do not state this as a workaround.
The 4 vulnerabilities
- CVE-2026-140422 9.2 ARTEX 0.4.0 before 0.5.0 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to claim the admin account by calling the first-run /api/auth/init endpoint without a setup token. Attackers can set the…
- CVE-2026-140365 9.2 ARTEX 0.4.0 before 0.5.1 lacks rate limiting, lockout, or backoff on POST /api/auth/login and accepts 8-character admin passwords. Remote unauthenticated attackers can make unlimited password guesses against the network-exposed admin accou…
- CVE-2026-138591 8.2 ARTEX 0.4.0 before 0.7.1 contains an information disclosure vulnerability in its go-mitmproxy based recording proxy that forwards later plain-HTTP keep-alive requests to the first upstream host. A remote host contacted first while traffic…
- CVE-2026-138590 1.0 ARTEX 0.7.0 before 0.7.1 contains a symlink following vulnerability in chatUpload that allows the unprivileged executor to redirect root-written operator uploads outside the run directory. Attackers with executor code execution, such as a…
Frequently asked questions
How many BaaRai ARTEX vulnerabilities were published on December 1, 2026?
4 vulnerabilities: 2 critical, 1 high, 1 low, with CVSS scores up to 9.2.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140422 (CVSS 9.2): ARTEX 0.4.0 before 0.5.0 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to claim the admin account by calling the first-run /api/auth/init endpoint witho…