CVE-2026-54906: concurrent-ruby - Race Condition
- Cve: CVE-2026-54906
- Name: concurrent-ruby - Race Condition
- Description: concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReadWriteLock#release_write_lock does not verify that the calling thread acquired the write lock. Any thread with access to the lock object can release an active write lock held by another thread. A second writer can then enter its critical section while the first writer is still running. Concurrent::ReadWriteLock#release_read_lock also decrements the shared counter even when no read lock is held. Calling it on a fresh lock changes the counter from 0 to -1, after which normal read acquisition raises Concurrent::ResourceLimitError. This is a synchronization correctness issue in the public Concurrent::ReadWriteLock API. This vulnerability is fixed in 1.3.7.
- Impact: Attackers can cause synchronization errors leading to concurrent write conflicts or resource limit errors, potentially destabilizing applications.
- Remediation: Update to version 1.3.7 or later.
- Vulnerability type: race_condition
- Vulnerability impact: denial_of_service
- Requirements: Attacker needs access to the lock object
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0016
- Epss percentile: 0.05145
- Assignee: [email protected]
- Published at: 2026-06-24T17:17:29Z
- Age in days: 153
- Modified at: 2026-10-25T22:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-54906
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-414 | Missing Lock Check |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyconcurrency:concurrent_ruby | < 1.3.7 | no | nvd | /v1/products/rubyconcurrency/concurrent_ruby |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ruby-concurrency/concurrent-ruby | package, security_advisory | yes | /v1/repositories/ruby-concurrency/concurrent-ruby |
Index
- Repositories: 612
- Repositories high signal: 326
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts