Advisories for Golang/Goauthentik.io package

2024

GoAuthentik vulnerable to Insufficient Authorization for several API endpoints

Several API endpoints can be accessed by users without correct authentication/authorization. The main API endpoints affected by this: /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/ /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/ /api/v3/…/used_by/ Note that all of the affected API endpoints require the knowledge of the ID of an object, which especially for certificates is not accessible to an unprivileged user. Additionally the IDs for most objects are UUIDv4, meaning they are not easily guessable/enumerable.