Skip to content

CVE-2026-77561 Tinyauth: Unauthenticated login attempts can trigger global login lockdown denial of service

MediumCVSS 5.3 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Tinyauth is an authentication and authorization server. Prior to 5.1.0, an unauthenticated remote attacker can send POST /api/user/login requests with 257 distinct nonexistent usernames to fill MaxLoginAttemptRecords and activate a global login lockdown. internal/controller/user_controller.go loginHandler passes each attacker-controlled identifier to internal/service/auth_service.go RecordLoginAttempt, which invokes lockdownMode after the map reaches its cap. IsAccountLocked checks that global state before validating unrelated accounts, causing valid users to receive HTTP 429 until auth.loginTimeout expires, approximately 300 seconds by default. The attack can be repeated, but existing authenticated sessions are not invalidated. This issue is fixed in version 5.1.0.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
steveiliop56 github.com/steveiliop56/tinyauth(Go) < 1.0.1-0.20260715123057-dade1e2c8f27 1.0.1-0.20260715123057-dade1e2c8f27 Fixed
tinyauthapp tinyauth(Go) < 1.0.1-0.20260715123057-dade1e2c8f27 1.0.1-0.20260715123057-dade1e2c8f27 Fixed
tinyauthapp tinyauth = < 5.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tinyauthapp tinyauth = < 5.1.0 No fix listed
steveiliop56 github.com/steveiliop56/tinyauth(Go) < 1.0.1-0.20260715123057-dade1e2c8f27 1.0.1-0.20260715123057-dade1e2c8f27
tinyauthapp tinyauth(Go) < 1.0.1-0.20260715123057-dade1e2c8f27 1.0.1-0.20260715123057-dade1e2c8f27

References