CVE Catalog

CVE-2026-58108

LowCVSS 1.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

14th percentile - higher than 14% of all known CVEs

Summary

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. This way a user can delete all personal access tokens in the system.

Risk Assessment

A user can delete access tokens of other users, potentially causing service disruption and integrity issues.

Recommendation

Fix the query by adding an explicit join between the tables so that the filter restricts deletion to the caller's own tokens.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS