← Back to CVE search

CVE-2026-58108

GitLab

Description

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.

CVSS 1.2EPSS 0.233%Risk 0.12
View source
Published
2026-08-26 07:16:45
Affected versions
unknown
Type
Web application
Last modified
2026-08-26 14:17:12
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:X