When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
Remult is a CRUD framework for full-stack TypeScript. If you used the apiPrefilter option of the `@Entity` decorator, by setting it to a function that returns a filter that prevents unauthorized access to data, an attacker who knows the `id` of an entity instance is not authorized to access, can gain read, update and delete access to it. The issue is fixed in version 0.20.6. As a workaround, set the `apiPrefilter` option to a filter object instead of a function.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| remult | remult | before 0.20.6 | 0.20.6 | Patch available | CNA |
| — | remult (npm) | before 0.20.6 | 0.20.6 | Patch available | GHSA-7hh3-3x64-v2g9 |
- remult Vendorremult Affected before 0.20.6 Fixed in 0.20.6 Patch available CNA
- remult (npm) Vendor— Affected before 0.20.6 Fixed in 0.20.6 Patch available GHSA-7hh3-3x64-v2g9
Remediation
- Fix · CNA remult (remult) Fixed in 0.20.6
- Fix · GHSA-7hh3-3x64-v2g9 remult (npm) Fixed in 0.20.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-35167
- 2026-10-03 Alias added: GHSA-7hh3-3x64-v2g9
References
Advisory 2
Sources
- CVE-2023-35167 · CVE Program
- CVE-2023-35167 · NVD
- FIRST EPSS
- GHSA-7hh3-3x64-v2g9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences