Skip to content
Heist/ feed
UnratedFix available

Tinyauth: User enumeration attack by timing oracle

Type: advisorySource: OSV2 source records

### Summary It's possible to enumerate users through a timing oracle. In other words: I can easily check if a username exists or not by observing the timing differences between logins. ### PoC Setup a tinyauth server with a local user. It can be over the network. Try to log in with the local user, using an incorrect password: there is a noticeable delay. You know that the user exists. Now try to log in with a username that does not exist, using an incorrect password: it will complete almost immediately. You know that the user does not exist. ### Expected vs actual behavior Login attempts should take roughly the same amount of time when the user exists vs when the user does not exist. Right now, nonexistent user attempts are way faster, meaning if your login attempt is slow, then the username exists for sure. ### Details Existing usernames will take an extra ~50 milliseconds to respond to login attempts, while non-existing usernames will take only ~50 microseconds (1000x less time) to return an incorrect password response. Even taking network traffic into consideration, it is trivial to check whether a local user exists or not. === Existing user, wrong password === #1: 50.52ms #2: 46.24ms #3: 43.57ms === Nonexistent user === #1: 43.03µs #2: 48.45µs #3: 59.33µs ### Suggested fix This can be solved by checking a dummy password hash when a user is not found before returning a query, this will mimic the exact same delay irrelevant of hardware capabilities. Potential patch: ``` Fro

Announced Group revision 1
Original source ↗

GO-2026-6555

Revision 1

Tinyauth: User enumeration attack by timing oracle in github.com/tinyauthapp/tinyauth

Tinyauth: User enumeration attack by timing oracle in github.com/tinyauthapp/tinyauth

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GO-2026-6555

github.com/tinyauthapp/tinyauth

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.0.1-0.20260714134959-c22925c2fba9

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.0.1-0.20260714134959-c22925c2fba9"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/tinyauthapp/tinyauth",
      "purl": "pkg:golang/github.com/tinyauthapp/tinyauth",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6555.json"
    },
    "ecosystem_specific": {}
  }
]
Related CVEs
CVE-2026-77582

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Event
#63827 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement

GHSA-456h-ww26-f758

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-456h-ww26-f758

github.com/tinyauthapp/tinyauth

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.0.1-0.20260714134959-c22925c2fba9

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.0.1-0.20260714134959-c22925c2fba9"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/tinyauthapp/tinyauth",
      "purl": "pkg:golang/github.com/tinyauthapp/tinyauth",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-456h-ww26-f758/GHSA-456h-ww26-f758.json"
    }
  }
]
Related CVEs
CVE-2026-77582

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Event
#63972 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement