GitHub Advisory · Open Source · 11 reports
Eleven advisories, one very busy maintainer
Self-hosted apps are used by families and small teams who trust the maintainer — and the researcher — to get this right.
Background
Tandoor is how thousands of households and small communities organise recipes, meal plans and shopping lists. Multi-user by design — which means its security story is a story about boundaries between users and spaces. Where a SaaS has a security team, a project like Tandoor has a maintainer and whoever bothers to look. I looked.
The eleven
| # | Finding | Class |
|---|---|---|
| 1 | Shopping-list injection — write into another user's list | IDOR / broken access control |
| 2 | Share-link minting for objects you don't own | Authorization bypass |
| 3 | CookLog entries leaking across users | IDOR |
| 4 | PATCH turning a private recipe public | Broken access control |
| 5 | Recipe-book serializer exposing data it shouldn't | Excessive data exposure |
| 6 | Source-duplicate oracle — probing other users' content | Information disclosure |
| 7 | UserFile IDOR — other users' uploaded files | IDOR |
| 8 | Ingredient copy crossing ownership | Broken access control |
| 9 | Meal-plan injection into another user's plan | IDOR |
| 10 | batch_update rewriting shared lists | Authorization bypass |
| 11 | Related-endpoint leaking names across the boundary | Information disclosure |
The pattern behind the batch
Eleven advisories, essentially one root cause repeated: object access without an ownership/space check. Django/DRF makes it easy to build a viewset that fetches by ID; the queryset scoping that restricts it to the caller's space is one extra line — and the line most often forgotten on the secondary endpoints: the batch action, the related list, the serializer's nested field, the helpful "duplicate" feature. The main CRUD screens get reviewed; the edges don't.
How the audit ran
- Full route inventory first — every endpoint, not just the ones the UI uses.
- Two users, two spaces. Every route replayed cross-user and cross-space, read and write verbs — several findings were write-side (PATCH, batch_update) where testers usually only try GET.
- One report per root issue, each with reproduction and the affected endpoint — a maintainer should be able to fix from the report alone.
- Coordinated disclosure through GitHub Security Advisories; publication followed the fix.
Outcome
All eleven closed as fixed in 2.7.5. No CVEs were assigned — common for projects of this size — but the fixes are real, shipped, and protecting every self-hosted instance that updates.
Lessons
Audit the edges: batch endpoints, serializers, share features and "duplicate/copy" helpers are where authorization goes to die. And when you find a pattern, report the pattern — eleven precise reports beat one vague "your app has IDORs".
Found something similar?
I help teams verify and fix issues like this — and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.