← Back to search

CVE-2026-111445

8.1 HIGHpublic exploit available

Published 2026-10-16 · Updated 2026-10-19

AI risk analysis

Summary
Wheels 4.0.0–4.1.2 incorrectly replaces scope-based access conditions with only the primary key in findByKey() and exists(key=), allowing authenticated users to bypass authorization and access or verify existence of records belonging to other tenants or users when error reporting is disabled.
Exploitability
Exploitation requires valid authentication and knowledge of a target record's primary key; no external network access or special privileges beyond low-privileged user access are needed.
Blast radius
An attacker could read, modify, or delete data belonging to other tenants or users by exploiting this flaw in affected endpoints, leading to unauthorized data access or destruction.
Detection
Log entries showing successful execution of findByKey() or exists(key=) with keys outside the authenticated user’s expected scope may indicate exploitation; however, no reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Wheels 4.2.0 or later, which fixes the issue by properly combining key conditions with existing scope, query-builder, or where conditions.
auth-bypassscope-escapewebdata-access

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

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

Weaknesses

CWE-669

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.