Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siderolabs/omni
  4. ›
  5. CVE-2026-45720

CVE-2026-45720: Omni has a TOCTOU race condition that allows multiple concurrent uses of a single-use SAML session token

June 5, 2026

SAML.getSession (internal/pkg/auth/interceptor/saml.go) checks the Used flag on a SAMLAssertion resource and then marks it used in two separate state operations. Because the check and the update are not atomic, concurrent requests carrying the same saml-session token can both observe Used == false, both pass validation, and both return a successful authentication context. An attacker who obtains a valid saml-session token can exploit this window to authenticate as the token’s owner multiple times, defeating the one-time-use guarantee.

References

  • github.com/advisories/GHSA-5x9f-6vg5-qg4m
  • github.com/siderolabs/omni/releases/tag/v1.6.6
  • github.com/siderolabs/omni/releases/tag/v1.7.3
  • github.com/siderolabs/omni/security/advisories/GHSA-5x9f-6vg5-qg4m
  • nvd.nist.gov/vuln/detail/CVE-2026-45720

Code Behaviors & Features

Detect and mitigate CVE-2026-45720 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 1.6.6, all versions starting from 1.7.0 before 1.7.3

Fixed versions

  • 1.6.6
  • 1.7.3

Solution

Upgrade to versions 1.6.6, 1.7.3 or above.

Impact 7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-294: Authentication Bypass by Capture-replay
  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

go/github.com/siderolabs/omni/CVE-2026-45720.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:03 +0000.