github.com/obot-platform/obot is vulnerable to Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
42
CVE Score
Medium
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The entry point is ensureGroups in pkg/gateway/client/group.go, invoked whenever a user's identity is refreshed from the configured auth/identity provider during authentication. The default configuration periodically calls this to fetch and persist the user's current group memberships from the identity provider over HTTP, then writes the result to the identity's database row. In the vulnerable code, two overlapping refreshes for the same identity could run concurrently with no coordination, letting a slower refresh that started before a group removal persist its stale membership list after a faster refresh had already recorded the removal, briefly restoring access that had just been revoked upstream. The fix adds a sync/singleflight-backed groupRefresh coordinator and cooldown state, and changes the identity-row updates to use tx.Omit(groupsLastCheckedColumn) so unrelated writes no longer clobber the group-refresh timestamp.
Upgrade the github.com/obot-platform/obot package to a fixed release on your branch: 0.25.6, 0.26.1.
You are affected if you are using a version that falls within the vulnerable range and rely on an external identity provider to manage group-based access control in Obot.
0.25.0 - 0.25.5
Fixed in 0.25.60.26.0 - 0.26.0
Fixed in 0.26.1github.com/obot-platform/obot is vulnerable to Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in versions 0.25.0 - 0.25.5 and 0.26.0 - 0.26.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.