# CVE-2026-145157: orange-orm before 5.6.1 Authorization Bypass via Client-Supplied Request Options

Source: https://aplosec.si/cve/CVE-2026-145157/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-145157

High 8.7 · Reported · Fixed in 5.6.1 · CWE-915 · npm

# orange-orm before 5.6.1 Authorization Bypass via Client-Supplied Request Options

CVE-2026-145157 · published 2026-12-04

In plain words: this type of bug lets someone change parts of the application's data they should not be able to set (prototype pollution or mass assignment). A fixed release is listed.

## Summary

CVE-2026-145157 affects orange-orm (npm) < 5.6.1 (rdb 3.2.7 to 3.10.1): Authorization Bypass via Client-Supplied Request Options (CWE-915). Fixed in 5.6.1. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade orange-orm to 5.6.1 or later. Releases in the affected range (< 5.6.1 (rdb 3.2.7 to 3.10.1)) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-12-04 CVE published

## References

- [Referencehttps://github.com/alfateam/orange-orm/security/advisories/GHSA-j5gg-hxv4-74gm](https://github.com/alfateam/orange-orm/security/advisories/GHSA-j5gg-hxv4-74gm)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/orange-orm-before-5.6.1-authorization-bypass-via-client-supplied-request-options](https://www.vulncheck.com/advisories/orange-orm-before-5.6.1-authorization-bypass-via-client-supplied-request-options)

- [Fix commithttps://github.com/alfateam/orange-orm/commit/09c4ac5ac8d855240bd595c5674364e3f1a6e6ad](https://github.com/alfateam/orange-orm/commit/09c4ac5ac8d855240bd595c5674364e3f1a6e6ad)

- [Vulnerable codehttps://github.com/alfateam/orange-orm/blob/v5.6.1/docs/changelog.md](https://github.com/alfateam/orange-orm/blob/v5.6.1/docs/changelog.md)

- [Vulnerable codehttps://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostLocal.js#L119-L123](https://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostLocal.js#L119-L123)

- [Vulnerable codehttps://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostExpress.js#L12-L25](https://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostExpress.js#L12-L25)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-145157](https://www.cve.org/CVERecord?id=CVE-2026-145157)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-145157](https://nvd.nist.gov/vuln/detail/CVE-2026-145157)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-145157)

**Package:** orange-orm

**Ecosystem:** npm

**Affected:** < 5.6.1 (rdb 3.2.7 to 3.10.1)

**Fixed:** 5.6.1

**Weakness:** CWE-915

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
