# Bulk and search paths skip ownership filters

Bulk, export, expansion or search paths reaching objects without per-object ownership or role checks

_Area: Web access control and IDOR. Seen in 10 disclosed reports; 3 confirmed bounties, median $10,000, range $100-$15,600; latest 2026-08-01. Updated 2026-11-28._

## How it works
A normal read path checks that the caller may see an object. A second path — a bulk action, an export, a query expansion, a search backend, or a fallback query — reaches the same data without that check. The assumption that breaks is "every path to this data enforces the same permission." The privileged path is often hidden from the UI but still live on the server, or the check is applied to the primary document but not to joined/related objects, or a fallback branch re-queries without the filter.

## Where it shows up
- Bulk endpoints (e.g. `bulk_edit`) that take a list of object ids and act on each without per-id authorization [E1](https://bugbountylibrary.com/r/blog%3Amedium-freecodecamp-org-messing-with-the-google-buganizer-system-for-15-600-in-bounties-58f86cc9f9a5.md)
- Generic expand/decoration mechanisms keyed by user-supplied ids or URNs, resolved server-side without per-field allowlisting [E3](https://bugbountylibrary.com/r/h1%3A1806939.md)
- ORM filter operators that auto-join relations the caller cannot read [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md)
- Model methods whose SQL omits the permission helper, and "for tests" fallback branches that re-query without ACLs [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md)
- Export endpoints that check only token validity, not the per-page allowlist configured alongside them [E6](https://bugbountylibrary.com/r/h1%3A915140.md)
- New export/download features that don't apply existing disclosure visibility rules to nested content like comments [E5](https://bugbountylibrary.com/r/h1%3A182358.md)
- External search indexes (Elasticsearch) that scope the primary document but not notes/related objects [E7](https://bugbountylibrary.com/r/h1%3A710006.md), or fail to scope to the requested group at all [E8](https://bugbountylibrary.com/r/h1%3A708820.md)
- Exports that omit the predicates the canonical query applies [E2](https://bugbountylibrary.com/r/h1%3A3878586.md)
- Denormalized/frozen visibility columns set once at write time and never updated [E2](https://bugbountylibrary.com/r/h1%3A3878586.md)

## How to review
For every path that returns or mutates an object, confirm the authorization check runs on that path, per object, before any data is emitted. The invariant: no response field or side effect may depend on an object the caller lacks permission for. Check that bulk handlers verify each id, that expansion resolves only allowlisted fields, that filter operators cannot traverse into unreadable relations, that fallback queries keep the ACL filter, that export endpoints enforce the same allowlist as the UI, and that search results are filtered by the caller's authorization on the related object's parent (e.g. a note's project/group) [E7](https://bugbountylibrary.com/r/h1%3A710006.md). Treat silent success on unauthorized ids as a red flag, not a pass.

## How finders spotted it
- Saw the external UI still exposed a CC-removal `bulk_edit` endpoint in JS; it returned success for issues/CC emails the user had no rights to, and the response body leaked full details [E1](https://bugbountylibrary.com/r/blog%3Amedium-freecodecamp-org-messing-with-the-google-buganizer-system-for-15-600-in-bounties-58f86cc9f9a5.md)
- Diffed the canonical privacy-gated patron query against the payments export query, spotting missing predicates and a frozen visibility column no UPDATE touches [E2](https://bugbountylibrary.com/r/h1%3A3878586.md)
- Hypothesized the decoration engine doesn't validate expandability per field, then placed a `urn:li:fs_emailAddress` value in a text field to force resolution [E3](https://bugbountylibrary.com/r/h1%3A1806939.md)
- Code review traced the public `solution_id` route to SQL lacking a permission filter, and spotted a test-motivated fallback re-query without ACL [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md)
- Tested a newly launched export feature against a partially disclosed report, suspecting the new code path might not honor existing disclosure rules [E5](https://bugbountylibrary.com/r/h1%3A182358.md)
- Noticed the Share feature pairs a page allowlist with an export toggle, then tried predictable `.xlsx` URL patterns [E6](https://bugbountylibrary.com/r/h1%3A915140.md)
- Searched a known term with the notes scope, saw a private note, confirmed via API with an unrelated token [E7](https://bugbountylibrary.com/r/h1%3A710006.md)
- Ran a group search for `!435` and saw MRs from unknown private groups, then probed other `!<number>` terms and the API [E8](https://bugbountylibrary.com/r/h1%3A708820.md)

## Variants seen
- Bulk action missing per-id access check [E1](https://bugbountylibrary.com/r/blog%3Amedium-freecodecamp-org-messing-with-the-google-buganizer-system-for-15-600-in-bounties-58f86cc9f9a5.md)
- Export omitting canonical privacy predicates [E2](https://bugbountylibrary.com/r/h1%3A3878586.md)
- Frozen visibility column never updated [E2](https://bugbountylibrary.com/r/h1%3A3878586.md)
- URN/decoration expansion resolving arbitrary entities [E3](https://bugbountylibrary.com/r/h1%3A1806939.md)
- Relational filter traversal into admin relations [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md)
- Fallback query without ACL filter [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md)
- New export feature ignoring disclosure rules for comments [E5](https://bugbountylibrary.com/r/h1%3A182358.md)
- Export endpoint ignoring page allowlist [E6](https://bugbountylibrary.com/r/h1%3A915140.md)
- Search backend scoping primary doc but not related notes [E7](https://bugbountylibrary.com/r/h1%3A710006.md)
- Group search not scoped to the group [E8](https://bugbountylibrary.com/r/h1%3A708820.md)

## Impact and severity
Leaked full internal bug details including vulnerability reports, mass-exfiltratable in batches [E1](https://bugbountylibrary.com/r/blog%3Amedium-freecodecamp-org-messing-with-the-google-buganizer-system-for-15-600-in-bounties-58f86cc9f9a5.md); donor identity, amount and date leaked for opted-out donors [E2](https://bugbountylibrary.com/r/h1%3A3878586.md); entire email database enumerable at scale [E3](https://bugbountylibrary.com/r/h1%3A1806939.md); restricted FAQ metadata leaked, combinable with a low-priv session to defeat body checks [E4](https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md); restricted comments exposed in export [E5](https://bugbountylibrary.com/r/h1%3A182358.md); restricted pages exported [E6](https://bugbountylibrary.com/r/h1%3A915140.md); private issue/group metadata and membership leaked [E7](https://bugbountylibrary.com/r/h1%3A710006.md)[E8](https://bugbountylibrary.com/r/h1%3A708820.md). Impact rose with batching, sequential-id enumeration, and chaining to privilege escalation.

## Seen in real software
Open-source packages and projects, and products, where this pattern was found. If the target runs one, compare the version it runs with the fix.
- **thorsten/phpmyfaq (composer)** <= 4.1.1, fixed in 4.1.2: phpMyFAQ has unauthenticated FAQ permission bypass via getFaqBySolutionId fallback query (CVE-2026-46366). Report: https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md
- **GitLab**: Elasticsearch leaks data through the notes scope. Report: https://bugbountylibrary.com/r/h1%3A710006.md
- **GitLab**: Group search with Elastic search enable leaks unrelated data. Report: https://bugbountylibrary.com/r/h1%3A708820.md

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Amedium-freecodecamp-org-messing-with-the-google-buganizer-system-for-15-600-in-bounties-58f86cc9f9a5.md
- E2: https://bugbountylibrary.com/r/h1%3A3878586.md
- E3: https://bugbountylibrary.com/r/h1%3A1806939.md
- E4: https://bugbountylibrary.com/r/ghsa%3AGHSA-99qv-g4x9-mgc3.md
- E5: https://bugbountylibrary.com/r/h1%3A182358.md
- E6: https://bugbountylibrary.com/r/h1%3A915140.md
- E7: https://bugbountylibrary.com/r/h1%3A710006.md
- E8: https://bugbountylibrary.com/r/h1%3A708820.md
