CVE-2026-145157: orange-orm before 5.6.1 Authorization Bypass via Client-Supplied Request Options
orange-orm before 5.6.1 contains an authorization bypass vulnerability that allows authenticated clients to override server-side baseFilter, readonly and disableBulkDeletes settings by supplying body.options in requests. Attackers can send JSON requests to the Express or Hono adapter endpoints setting baseFilter to null or readonly to false to read, update and bulk delete other tenants' rows.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
orange-ormto a version that resolves this vulnerability.Fixed in 5.6.1
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using npm/orange-orm before 5.6.1 and exposing its Express or Hono adapter endpoints are affected. The issue is relevant where server-side baseFilter, readonly, or disableBulkDeletes settings are relied on to enforce tenant isolation or restrict writes.
What does an attacker need to exploit this?
An attacker needs to be an authenticated client able to send JSON requests to the affected adapter endpoints. They can supply body.options values such as baseFilter set to null or readonly set to false.
What impact can exploitation have?
An attacker may bypass server-enforced filtering and write restrictions to read or update other tenants' rows. They may also perform bulk deletions where disableBulkDeletes was intended to prevent them.
How can I determine whether exploitation attempts may have occurred?
Review requests to orange-orm Express or Hono adapter endpoints for client-supplied body.options, particularly baseFilter values set to null and readonly values set to false. Also investigate unexpected cross-tenant reads, updates, or bulk deletions.
What should be done if an immediate upgrade is not possible?
Prevent clients from supplying or overriding body.options at the affected endpoints, especially baseFilter, readonly, and disableBulkDeletes. Ensure these authorization-related settings are enforced server-side and cannot be replaced by request data.