CVE-2026-58108: Personal access token delete filters on Session columns while deleting from PersonalAccessTokenDB

Published Aug 26, 2026
·
Updated

The personal access token removal query selects from PersonalAccessTokenDB but filters on columns of Session, with no join between them. SQLAlchemy resolves that as an implicit cross join, so the filter does not constrain the delete to the calling user's own token in the way the code reads as intending. This way a user can delete all personal access tokens in the system.

Affected Software

2 affected components
PersonalAccessTokenDB
Session

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Change the PersonalAccessTokenDB delete statement so the WHERE clause only uses columns from PersonalAccessTokenDB (or uses Session columns via an explicit join/correlated subquery). Ensure the delete is constrained to the calling user's token(s) rather than permitting an implicit cross join that can delete all tokens.

    PersonalAccessTokenDB deletion query (SQLAlchemy) Delete query should constrain tokens by calling user (add proper join or use correlated subquery) = No longer filter PersonalAccessTokenDB delete using Session columns without joining; instead join/correlate to the authenticated user's token/session identity so the delete affects only the caller’s own token(s).

Event History

Aug 26, 2026
CVE Published
via MITRE·06:48 AM
Data Sourced
via MITRE·06:48 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What level of access does an attacker need to exploit this issue?

The issue is exploitable by a user who can invoke personal access token removal. The flaw allows that user to delete personal access tokens belonging to other users, potentially all tokens in the system.

2

What is the operational impact if this is exploited?

Personal access tokens across the system can be deleted, which can invalidate token-based access for affected users and disrupt integrations or automation that rely on those tokens.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203