{"id":"CVE-2026-140422","summary":"ARTEX 0.4.0 before 0.5.0 Authentication Bypass via POST /api/auth/init","details":"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.","aliases":["CVE-2026-140365","GHSA-q4j5-2wwq-gmq5"],"modified":"2026-12-01T16:11:13.872808114Z","published":"2026-12-01T14:28:37.543Z","database_specific":{"cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140422.json","cna_assigner":"VulnCheck"},"references":[{"type":"FIX","url":"https://github.com/BaaRai/ARTEX/commit/2aab3e82107c050a0589af8eecc3d0d899ff714a"},{"type":"FIX","url":"https://github.com/BaaRai/ARTEX/pull/137"},{"type":"ADVISORY","url":"https://github.com/BaaRai/ARTEX/security/advisories/GHSA-q4j5-2wwq-gmq5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140422.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140422"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/artex-0.4.0-before-0.5.0-authentication-bypass-via-post-api-auth-init"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/baarai/artex","events":[{"introduced":"b3717f7a5fe8d07fcd4fe7167603f314e9b64840"},{"fixed":"fc35dddee8286d584f71ba751a02c48bc60835a3"},{"fixed":"2aab3e82107c050a0589af8eecc3d0d899ff714a"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.4.0"},{"fixed":"0.5.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2aab3e82107c050a0589af8eecc3d0d899ff714a"}]}]}}],"versions":["v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140422.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}