Skip to content

Can access the API after "Deauthorize sessions" using a captured Bearer token #5639

@zacknewman

Description

@zacknewman

Steps To Reproduce

Log into the web vault using a browser (e.g., Firefox). Using the developer tools, copy the Bearer Authorization header. Click on "Deauthorize sessions". Access the API using the copied bearer authorization token to your heart's content until the token expires.

For example, capture the entire JSON request when editing a vault entry. Capture the JSON response last revision date. After deauthorizing sessions, you can re-send the JSON request with any changes you'd like so long as you update the last revision data accordingly.

Expected Result

A 401 Unauthorized response.

Actual Result

Able to freely access the API using the captured Bearer token.

Screenshots or Videos

No response

Additional Context

No response

Build Version

2025.3.1

Environment

Cloud (bitwarden.com)

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions