Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. kimai/kimai
  4. ›
  5. GHSA-3jp4-mhh4-gcgr

GHSA-3jp4-mhh4-gcgr: Kimai has an Open Redirect via Unvalidated RelayState in SAML ACS Handler

April 14, 2026

The SAML authentication success handler in Kimai returns the RelayState POST parameter as a redirect destination without validating the host or scheme. After a user successfully authenticates via SAML, they are redirected to an attacker-controlled URL if the IdP includes a malicious RelayState value. This enables phishing attacks that steal credentials or session tokens post-SSO.

Requires SAML to be enabled (non-default configuration).

References

  • github.com/advisories/GHSA-3jp4-mhh4-gcgr
  • github.com/kimai/kimai
  • github.com/kimai/kimai/pull/5878
  • github.com/kimai/kimai/security/advisories/GHSA-3jp4-mhh4-gcgr

Code Behaviors & Features

Detect and mitigate GHSA-3jp4-mhh4-gcgr with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.53.0

Fixed versions

  • 2.53.0

Solution

Upgrade to version 2.53.0 or above.

Impact

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

packagist/kimai/kimai/GHSA-3jp4-mhh4-gcgr.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 17 May 2026 12:25:20 +0000.