{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.53.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "02edf1ae7c298f07d681d2e5817e0fb14852f170"
            }
          ],
          "repo": "https://github.com/habitrpg/habitica",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-307"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142317.json"
  },
  "details": "Habitica through 5.53.1 contains a rate limiter bypass vulnerability that allows unauthenticated attackers to evade throttling by supplying arbitrary x-api-user header values. Attackers can rotate the unvalidated header per request in rateLimiter.js to obtain fresh buckets and perform unthrottled password guessing against the local login route.",
  "id": "CVE-2026-142317",
  "modified": "2026-12-02T17:45:43.855647478Z",
  "published": "2026-12-02T16:48:32.883Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142317.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/HabitRPG/habitica"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/middlewares/rateLimiter.js#L91-L112"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142317"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/habitica-through-5.53.1-rate-limiter-bypass-via-x-api-user-header"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Habitica through 5.53.1 Rate Limiter Bypass via x-api-user Header"
}