Skip to main content
Vulnerability Database/CVE-2026-108580

CVE-2026-108580: AniWorld Downloader Auth Bypass Vulnerability

CVE-2026-108580 is an authentication bypass flaw in AniWorld Downloader that enables attackers to brute-force passwords without throttling. This post covers the technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108580 Overview

CVE-2026-108580 is an improper restriction of excessive authentication attempts vulnerability [CWE-307] in AniWorld Downloader versions before 5.3.0. The flaw resides in the WebUI /login POST handler, which lacks rate limiting on authentication requests. Unauthenticated attackers can brute-force passwords against exposed WebUI instances without triggering throttling or lockouts. The verify_user response timing also enables username enumeration, allowing attackers to narrow their guessing surface before attempting password compromise. Successful exploitation results in account takeover of the WebUI.

Critical Impact

Remote attackers can enumerate valid usernames and brute-force passwords against exposed AniWorld Downloader WebUI instances, leading to account compromise without any prior authentication.

Affected Products

  • AniWorld Downloader versions prior to 5.3.0
  • WebUI /login POST handler (src/aniworld/web/auth.py)
  • Deployments without a trusted reverse proxy configuration

Discovery Timeline

  • 2026-10-10 - CVE-2026-108580 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-108580

Vulnerability Analysis

The vulnerability affects the authentication path in AniWorld Downloader's WebUI. The /login POST handler in src/aniworld/web/auth.py processes credential submissions without enforcing per-IP or per-account rate limits. Attackers can submit unlimited password guesses against the endpoint. Combined with observable timing differences in the verify_user function response, attackers can first distinguish valid from invalid usernames and then focus brute-force attempts on confirmed accounts. The vulnerability is network-reachable, requires no authentication, and no user interaction. See the HackMD Brute Force Analysis and the VulnCheck Advisory for AniWorld for additional detail.

Root Cause

The root cause is the absence of authentication throttling in the login handler. The pre-patch implementation (see GitHub Source Code Snippet) did not record failed attempts, did not back off repeated submissions, and did not account for the real client IP behind a reverse proxy. A secondary issue is non-constant-time user verification, which leaks account existence through response latency.

Attack Vector

An unauthenticated attacker reaches the WebUI over the network and sends crafted POST requests to /login. The attacker first measures timing variance of verify_user responses with candidate usernames to identify valid accounts. The attacker then issues high-volume password guesses against each confirmed username until credentials succeed, since no throttling is enforced.

python
# Patch excerpt - src/aniworld/web/app.py
# Introduces the LoginThrottle component into the WebUI
    init_oidc,
    refresh_session_role,
)
from .throttle import LoginThrottle

app.secret_key = get_or_create_secret_key()
app.config.update(
# Source: https://github.com/phoenixthrush/AniWorld-Downloader/commit/3c070bd10665377308a3092e11933681c18a5fd1
text
# Patch excerpt - src/aniworld/.env.example
# Adds trusted proxy configuration so rate limiting counts real client IPs
+# IP address of your reverse proxy. Requests from it may pass the real client
+# IP in X-Forwarded-For, which the login rate limit counts per IP. Without it
+# every visitor looks like the proxy. "*" trusts any address, only use it when
+# AniWorld is reachable exclusively through the proxy (port not published).
+# Leave empty when not using a reverse proxy.
+ANIWORLD_WEB_TRUSTED_PROXY=
# Source: https://github.com/phoenixthrush/AniWorld-Downloader/commit/3c070bd10665377308a3092e11933681c18a5fd1

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-108580

Indicators of Compromise

  • High volume of POST requests to /login from a single source IP within a short window
  • Repeated 401/403 responses from the WebUI auth endpoint followed by a successful 200/302 redirect
  • Login requests cycling through many distinct usernames consistent with enumeration
  • Successful WebUI session creation from a geolocation or ASN not previously associated with the operator

Detection Strategies

  • Review WebUI and reverse proxy access logs for sustained POST traffic to /login without corresponding GET traffic
  • Alert on authentication failure counts per source IP exceeding a defined threshold (for example, 20 failures in 5 minutes)
  • Correlate failed login bursts with a subsequent successful authentication from the same IP
  • Hunt for anomalous verify_user response timing patterns indicative of enumeration probes

Monitoring Recommendations

  • Forward reverse proxy and application logs to a centralized logging platform for retention and analysis
  • Enable alerting on repeated failed authentication events against internet-exposed WebUI instances
  • Track new WebUI sessions and administrative actions following any detected brute-force activity

How to Mitigate CVE-2026-108580

Immediate Actions Required

  • Upgrade AniWorld Downloader to version 5.3.0 or later, which introduces the LoginThrottle protection
  • Restrict WebUI exposure by placing it behind an authenticated reverse proxy or on a non-internet-reachable network
  • Set ANIWORLD_WEB_TRUSTED_PROXY so per-IP throttling evaluates the real client IP from X-Forwarded-For
  • Rotate any WebUI account passwords that may have been exposed to brute-force attempts

Patch Information

The fix is delivered in GitHub Release Version 5.3.0 via GitHub Commit Update. The patch introduces a LoginThrottle class in src/aniworld/web/throttle.py, wires it into the WebUI in src/aniworld/web/app.py, and adds a trusted proxy environment variable so rate limiting counts requests per real client IP. See the GitHub Issue Tracker Discussion for additional context.

Workarounds

  • Place the WebUI behind a reverse proxy that enforces its own authentication rate limiting (for example, fail2ban or WAF rules)
  • Restrict /login access by source IP via firewall or proxy ACL until the upgrade is applied
  • Enforce strong, high-entropy passwords on all WebUI accounts to raise brute-force cost
  • Bind the WebUI to localhost and access it only through an authenticated tunnel
bash
# Example reverse proxy rate limit (nginx)
limit_req_zone $binary_remote_addr zone=aniworld_login:10m rate=5r/m;

server {
    location /login {
        limit_req zone=aniworld_login burst=5 nodelay;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://127.0.0.1:8080;
    }
}

# Then in AniWorld's environment:
# ANIWORLD_WEB_TRUSTED_PROXY=127.0.0.1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.