Wheels 4.0.0 through 4.1.2 before 4.2.0 replaces incoming scope conditions with a primary-key condition in findByKey() and exists(key=). For exists(key=), production with error information disabled returns true for an out-of-scope key instead of throwing. Applications relying on scopes for ownership or tenant authorization can therefore load and subsequently modify or delete another user's or tenant's record when the key comes from a request. The 4.2.0 fix combines key conditions with incoming scope, query-builder or where conditions in findByKey(), exists(key=), updateByKey() and deleteByKey(). Other scope-aware finders, aggregates, updateAll() and deleteAll() are not affected.
References
Configurations
No configuration.
History
16 Oct 2026, 04:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-16 04:18
Updated : 2026-10-19 19:17
NVD link : CVE-2026-111445
Mitre link : CVE-2026-111445
CVE.ORG link : CVE-2026-111445
JSON object : View
Products Affected
No product.
CWE
CWE-669
Incorrect Resource Transfer Between Spheres
