Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/daptin/daptin
  4. ›
  5. GHSA-258c-965c-p3hc

GHSA-258c-965c-p3hc: Daptin's Session Management Vulnerability Leads to Insufficient Session Expiration After Password Change

May 7, 2026

A session invalidation vulnerability exists in daptin’s authentication system where JSON Web Tokens (JWTs) remain fully valid after a user changes their password. The JWT validation middleware (CheckJWT) only verifies token signature, expiry, issuer, and signing algorithm — it does not check whether the token was issued before the most recent password change. The password update code path hashes the new password but never calls InvalidateAuthCacheForEmail() and never revokes or blacklists existing tokens. This effectively negating password rotation as an incident response control.

References

  • github.com/advisories/GHSA-258c-965c-p3hc
  • github.com/daptin/daptin/security/advisories/GHSA-258c-965c-p3hc

Code Behaviors & Features

Detect and mitigate GHSA-258c-965c-p3hc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.11.8

Fixed versions

  • 0.11.8

Solution

Upgrade to version 0.11.8 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

go/github.com/daptin/daptin/GHSA-258c-965c-p3hc.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 10 Jun 2026 12:18:24 +0000.