{"id":"CVE-2026-77560","published":"2026-09-21T17:18:52.770","lastModified":"2026-09-21T21:17:11.637","description":"Tinyauth is an authentication and authorization server. Prior to 5.1.2, Tinyauth compares forwarded hostnames case-sensitively while reverse proxies route equivalent hostnames case-insensitively, allowing an authenticated low-privilege user to bypass per-app access controls with a differently cased hostname. The lookup in internal/service/access_controls_service.go through lookupStaticACLs and GetAccessControls, and the Docker-label fallback in internal/service/docker_service.go through GetLabels, can miss the configured app and return an empty access-control object. internal/controller/proxy_controller.go proxyHandler then treats the empty user, group, OAuth, LDAP, and IP restrictions as permissive and returns an authenticated result for an app that should exclude the user. Unauthenticated users remain subject to login, and global login-time allowlists are not bypassed. This issue is fixed in version 5.1.2.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-178","CWE-636","CWE-863"],"vendors":[],"products":[],"references":[{"url":"https://github.com/tinyauthapp/tinyauth/commit/80bc87188ec3aabc5104c249eaa7b997973b9275","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/commit/e75605b2c534ec83525a33603e16d76baca13399","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1000","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1028","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.2","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-328g-jx67-v94g","tags":[]}],"exploitRefs":[{"url":"https://github.com/tinyauthapp/tinyauth/commit/80bc87188ec3aabc5104c249eaa7b997973b9275","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/commit/e75605b2c534ec83525a33603e16d76baca13399","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1000","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1028","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.2","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-328g-jx67-v94g","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows an authenticated low-privilege user to bypass per-app access controls by using a differently cased hostname, potentially gaining unauthorized access. This matters because it undermines security measures designed to restrict access based on case-insensitive hostnames.","exploitability":"Exploitation requires control over the forwarded hostname and authentication as a low-privilege user. The attacker must use a different casing of an existing hostname to bypass per-app restrictions.","blast_radius":"If exploited, this could lead to unauthorized access to applications with strict access controls, compromising sensitive data or functionality.","remediation":"Update to Tinyauth version 5.1.2 or later to address the vulnerability.","tags":["auth-bypass","web","misconfiguration","case-sensitivity"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-22T06:08:10.733Z"}}