BaaRai ARTEX admin account can be claimed without authentication on first setup
What this means
An attacker can take over a new ARTEX instance by setting an admin password before the real owner does. Once in, they can read and change all tasks, findings, and uploaded files, steal API keys for language models, and use stored credentials to attack other systems. This risk exists only while the instance has not been initialized.
SecurityElites Manager Brief: the decision in one minute
New ARTEX installations on the internet are wide open: anyone can become the admin and take everything. Update to version 0.5.0 immediately if you have a 0.4.x instance exposed on port 8787. If the instance is new and not yet initialized, treat it as compromised.
| SecurityElites Fix-First Score | 51 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team responsible for ARTEX deployment and updates. |
| Likely effort | About 15 minutes: download version 0.5.0, restart the service, and confirm the setup page now requires authentication. It may take longer if you have to coordinate downtime across teams or if you need to audit which instances are exposed. |
Questions to ask your team or supplier
- Do we have any ARTEX 0.4.0 instances running, and are any of them exposed to the internet or untrusted networks?
- Have we checked whether any uninitialized instances received requests to the setup endpoint from outside our trusted networks?
- If we find signs of unauthorized access, do we have a plan to audit and rotate all stored API keys, credentials, and secrets?
Message you can forward to the owning team
Security notice: BaaRai ARTEX admin account can be claimed without authentication on first setup (CVE-2026-140422)
Severity: Critical (9.2 of 10)
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to ARTEX 0.5.0 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-140422-baarai-artex-admin-account-can-be-claimed-without-authentication/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01897What is at stake in your AI setup
- LLM API keys stored in ARTEX: an attacker can read them and use them to run queries or drain your budget with other providers.
- Task credentials and secrets: an attacker can use them to access databases, APIs, or other connected systems your tasks talk to.
- Uploaded files and training data: an attacker can read, modify, or delete any files you have uploaded for model fine-tuning or retrieval.
- Task definitions and execution history: an attacker can see what your workflows do, change them, or run them to cause unintended effects.
Who is exposed
- New or uninitialized ARTEX 0.4.0 instances exposed on port 8787 to the internet or untrusted networks.
- Teams running ARTEX 0.4.0 in any environment where network access is not fully restricted.
- Any deployment where the initial setup has not yet been completed by an authorized person.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| BaaRai ARTEX | 0.4.0 up to, but not including, 0.5.0 | 0.5.0 or later |
The fixed version here was taken from the vendor's own CVE record, because the national database has not listed it yet.
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
|---|---|
| Account needed | None. No login is needed |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
Read from the official severity rating: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Kind of coding mistake
- CWE-306: an important function needs no login
If you cannot upgrade today
- Immediately restrict network access to port 8787 using firewall rules, security groups, or network policies so that only your team's trusted machines can reach the instance.
- If the instance is not yet in production, do not expose it to any network until you have upgraded to 0.5.0 and completed the initial setup yourself.
- For instances that must remain on 0.4.0 temporarily, monitor access logs continuously and be ready to take the instance offline if you see unauthorized /api/auth/init requests.
Log searches to start from
Find POST requests to auth init endpoint (adapt hostname and index fields)Splunk
index=artex_logs http_method=POST uri=/api/auth/init | stats count by src_ip, timestampFind admin account creation or unexpected auth events (adapt field names)Elastic
event.action:create AND user.name:admin OR event.type:authentication AND status:success AND source.ip:* | table @timestamp, source.ip, event.actionWritten with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find where ARTEX 0.4.0 is runningCheck all servers, containers, and cloud instances in your environment for ARTEX. Look for the service listening on port 8787 or running under a Docker image or Kubernetes pod. Document the hostname or IP address and current version for each instance.
- Check if each instance has already been initializedVisit the web interface at http://:8787 and try to reach the /api/auth/init endpoint or the setup page. If you see a first-run welcome screen or setup form, the instance has not been initialized and is at immediate risk.
- Take uninitialized instances offline or restrict access immediatelyIf any instance has not been initialized, disconnect it from the internet or untrusted networks right now. Use firewall rules to allow access only from your own machines or trusted networks. Do not wait for the upgrade.
- Upgrade ARTEX to version 0.5.0Download or pull ARTEX version 0.5.0 from the official source. Stop the running 0.4.0 service, deploy 0.5.0, and start it. Follow the vendor's upgrade documentation for your deployment method (Docker, Kubernetes, or bare machine).
- Complete the setup with a strong admin passwordOnce 0.5.0 is running, visit the setup page and create the admin account with a strong, unique password. The setup should now require authentication to prevent unauthorized claims. Save the password in your password manager.
- Confirm version 0.5.0 is running and setup is protectedCheck the ARTEX version shown in the web interface or run the version command on the host to confirm 0.5.0 is active. Try to reach the /api/auth/init endpoint: it should now require a valid authentication token and refuse access from unauthenticated users.
- Check if the instance was exposed and initialize before you patchedReview network access logs, firewall logs, and ARTEX access logs for the period when this instance was running 0.4.0 and exposed. Look for any requests to the /api/auth/init endpoint or unexpected admin account creation. If you find signs of unauthorized access, treat the instance as compromised.
- If the instance may have been compromised, reset all credentials and keysIf you suspect an attacker accessed the instance before you patched, change all admin passwords, revoke and regenerate LLM API keys stored in ARTEX, reset any task credentials, and audit files and tasks for unauthorized changes. Consider rotating passwords for systems the credentials could reach.
How to confirm it is fixed: Confirm that ARTEX version 0.5.0 or later is running on each instance by checking the version in the web interface or via the /api/version endpoint, and confirm that unauthenticated requests to /api/auth/init now return an authentication error.
SecurityElites Quick Fixes: copy and paste
Check ARTEX version on a running containerfor this issue
docker exec <container_id> curl -s http://localhost:8787/api/versionRestrict port 8787 to localhost and trusted networks with iptablesfor this issue
iptables -A INPUT -p tcp --dport 8787 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 8787 -s <trusted_ip> -j ACCEPT
iptables -A INPUT -p tcp --dport 8787 -j DROPRequire sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-140422) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - ARTEX: must be 0.5.0 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## BaaRai ARTEX admin account can be claimed without authentication on first setup (CVE-2026-140422)
**Severity:** Critical 9.2 | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01897 https://securityelites.com/ai-vulnerabilities/cve-2026-140422-baarai-artex-admin-account-can-be-claimed-without-authentication/
### Why this matters
An attacker can take over a new ARTEX instance by setting an admin password before the real owner does. Once in, they can read and change all tasks, findings, and uploaded files, steal API keys for language models, and use stored credentials to attack other systems. This risk exists only while the instance has not been initialized.
### What to do
1. Find where ARTEX 0.4.0 is running
2. Check if each instance has already been initialized
3. Take uninitialized instances offline or restrict access immediately
4. Upgrade ARTEX to version 0.5.0
5. Complete the setup with a strong admin password
6. Confirm version 0.5.0 is running and setup is protected
7. Check if the instance was exposed and initialize before you patched
8. If the instance may have been compromised, reset all credentials and keys
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-140422-baarai-artex-admin-account-can-be-claimed-without-authentication/
### Done when
- [ ] ARTEX is at 0.5.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that ARTEX version 0.5.0 or later is running on each instance by checking the version in the web interface or via the /api/version endpoint, and confirm that unauthenticated requests to /api/auth/init now return an authentication error.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- BaaRai ARTEX admin login can be guessed without limits or lockouts Critical · CVE-2026-140365
The same kind of mistake in other AI tools
- Langflow OSS allows authenticated users to access or change other users' flows High · CVE-2026-127067
- NLTK dependency parser crashes on long sentences High · CVE-2026-129222
- NLTK regex compilation denial of service via many groups High · CVE-2026-129229
- Model Context Protocol SDK tasks can be read by other clients sharing the store High · CVE-2026-111767
- rmcp: Session memory leak on invalid requests High · CVE-2026-63128
Change history
- 1 Dec 2026: Made public
- 1 Dec 2026: Fixed version added, from the vendor's own CVE record
- 1 Dec 2026: Published
- 2 Dec 2026: Guide updated
Official record
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 admin password on uninitialized instances exposed on port 8787 to control tasks, findings, uploaded files, stored LLM API keys, and task credentials.
Weakness type: CWE-306
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-140422For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.