# CVE-2026-142317: Habitica through 5.53.1 Rate Limiter Bypass via x-api-user Header

Source: https://aplosec.si/cve/CVE-2026-142317/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142317

Medium 6.3 · Reported · No fix listed · CWE-307 · Server

# Habitica through 5.53.1 Rate Limiter Bypass via x-api-user Header

CVE-2026-142317 · published 2026-12-02

In plain words: this type of bug lets someone keep guessing passwords or codes without being slowed down (missing rate limit). No fixed release is listed yet.

## Summary

CVE-2026-142317 affects Habitica (Server) <= 5.53.1: Rate Limiter Bypass via x-api-user Header (CWE-307). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/habitica-through-5.53.1-rate-limiter-bypass-via-x-api-user-header](https://www.vulncheck.com/advisories/habitica-through-5.53.1-rate-limiter-bypass-via-x-api-user-header)

- [Vulnerable codehttps://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/middlewares/rateLimiter.js#L91-L112](https://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/middlewares/rateLimiter.js#L91-L112)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142317](https://www.cve.org/CVERecord?id=CVE-2026-142317)

**Severity:** Medium 6.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142317)

**Package:** Habitica

**Ecosystem:** Server

**Affected:** <= 5.53.1

**Fixed:** None

**Weakness:** CWE-307

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
