/

CVE-2026-133872

Severity:

HIGH RISK

(7.4)

Missing Rate Limiting (CWE-307) in LessPass JWT API

CVE-2026-133872

Received

Vulnerability type

Category:

Insufficient Rate Limiting

CWE:

CWE-307

Impact:

Unauthorized access to stored profiles

Severity:

HIGH RISK

(7.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

LessPass self-hosted sync server endpoints for JWT authentication do not limit repeated login attempts. An unauthenticated remote attacker who can reach these endpoints may brute-force passwords or use credential stuffing to obtain a token for an account.

Affected context

The issue affects LessPass self-hosted sync server backends before commit 9469b0c. It occurs when the /tokens/auth/ and /auth/jwt/create/ JWT login endpoints are reachable without effective controls on repeated authentication attempts. Accounts may be at risk if an attacker can reach the endpoints and has or can guess valid account credentials.

Exploit preconditions

  • Attack surface: Network-accessible JWT login endpoints
  • Required access: No prior authentication is required
  • Trigger point: Repeated login attempts against /tokens/auth/ or /auth/jwt/create/
  • Why exploitation is possible: The endpoints lack rate limiting, allowing authentication attempts to continue without sufficient throttling

Why this happens

The backend permits repeated authentication attempts without applying effective rate limits. This maps to CWE-307: Improper Restriction of Excessive Authentication Attempts. Without controls that constrain attempt frequency, automated password guessing or credential stuffing can continue against the login endpoints.

Potential impact

  • An attacker may obtain a valid authentication token
  • Compromised accounts could allow unauthorized reading of stored profiles
  • An attacker could modify or otherwise write to stored profiles
  • Successful account compromise could expose or alter user data

General mitigation guidance

Common defensive patterns include:

  • Applying rate limits and progressive delays to authentication attempts
  • Using account- and source-aware throttling with safeguards against denial of service
  • Adding risk-based challenges or temporary lockout policies where appropriate
  • Monitoring and alerting on repeated failures and suspicious login patterns
  • Requiring strong, unique credentials and minimizing the privileges granted to tokens
  • Keeping authentication endpoints protected by secure defaults and limiting unnecessary network exposure

How teams detect issues like this

  • Review authentication handlers and middleware for per-account and per-source attempt limits
  • Use static analysis or code review checks to flag login routes without throttling controls
  • Monitor authentication logs for high-volume failures, repeated attempts across accounts, and unusual token issuance
  • Enforce policies that require rate limiting on all password-based authentication endpoints

Sources

SourceLink
github.comgithub.com/lesspass/lesspass
github.comgithub.com/lesspass/lesspass/blob/d8f29da390d4492a5ea7c106779c93f71aa976ff/backend/lesspass/settings.py
github.comgithub.com/lesspass/lesspass/commit/9469b0cb90b5a79e2ab4f7f07bb67318dd312b99
github.comgithub.com/lesspass/lesspass/security/advisories/GHSA-4mwq-gh5h-pxjg
vulncheck.comvulncheck.com/advisories/lesspass-backend-before-commit-9469b0c-missing-rate-limiting-on-jwt-login

Frequently asked

questions

Yes. An unauthenticated attacker may attempt logins remotely if the JWT endpoints are network-accessible.

No prior authenticated access is required, though a target account email and a guessable or reused password may help the attacker obtain a token.

Apply effective rate limiting and progressive controls to authentication attempts, while monitoring for suspicious activity.

Require authentication throttling on every login endpoint, include it in code review and policy checks, and regularly review authentication telemetry.

Find out what's already
exploitable in your codebase.