Preview
Changelog

A project secret can no longer create a session in another project

Live on preview.zitadel.comReleased in v0.6.0

Two security fixes.

  • POST /sessions now creates a session only in the project of the secret that calls it. Before, any project secret could create an anonymous session in another project, receive a session token for it, and write session.established and auth.token.issued events into that project's audit log. A project_id naming another project is now refused with 403 proj.mismatch, and nothing is written.
  • Deactivating a user now ends the access their direct grants give them on their next request, including through sessions they already hold, and GET /projects/{project_id}/admins stops listing them. Before, only the access they had through teams ended.

Pull requests#2959#2962