# CVE-2026-140422: ARTEX 0.4.0 before 0.5.0 Authentication Bypass via POST /api/auth/init

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T14:28:37.543Z
- Modified: 2026-12-01T15:18:09.283Z
- Weaknesses: CWE-306
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- BaaRai ARTEX: from 0.4.0 before 0.5.0 (not affected: 0.5.0)

## Every score

- VulnCheck: CVSS:4.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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/BaaRai/ARTEX/security/advisories/GHSA-q4j5-2wwq-gmq5> (vendor-advisory)
- <https://github.com/BaaRai/ARTEX/commit/2aab3e82107c050a0589af8eecc3d0d899ff714a> (patch)
- <https://github.com/BaaRai/ARTEX/pull/137> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/artex-0.4.0-before-0.5.0-authentication-bypass-via-post-api-auth-init> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-140422](https://www.cve.org/CVERecord?id=CVE-2026-140422), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140422](https://nvd.nist.gov/vuln/detail/CVE-2026-140422), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140422 · Whole record: https://cve.day/CVE-2026-140422.json · Rebuilt by cve.day 2026-12-01T15:32:17.058Z
