Skip to content

Critical (Security): Google OAuth sessions remain authenticated after access token expiry #10

@harsharajkumar

Description

@harsharajkumar

The /auth/session endpoint checks only for the presence of session.user to validate Google sessions (auth.routes.js:206-213), but never verifies that the Google access token is still valid. Google access tokens expire in ~1 hour. After expiry, a user's session stays marked as authenticated: true for the full 7-day session TTL with no way to detect or force re-authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcriticalMust fix before next releasesecuritySecurity vulnerability or concern

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions