{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.4.0"
                  },
                  {
                    "fixed": "0.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "2aab3e82107c050a0589af8eecc3d0d899ff714a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "b3717f7a5fe8d07fcd4fe7167603f314e9b64840"
            },
            {
              "fixed": "fc35dddee8286d584f71ba751a02c48bc60835a3"
            },
            {
              "fixed": "2aab3e82107c050a0589af8eecc3d0d899ff714a"
            }
          ],
          "repo": "https://github.com/baarai/artex",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q4j5-2wwq-gmq5"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140422.json"
  },
  "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.",
  "id": "CVE-2026-140422",
  "modified": "2026-12-01T15:45:52.530530192Z",
  "published": "2026-12-01T14:28:37.543Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ARTEX 0.4.0 before 0.5.0 Authentication Bypass via POST /api/auth/init"
}