Description
Mealie before 3.21.0 fails to validate user ownership in the ratings and favorites endpoints, allowing authenticated attackers to read any user's recipe ratings and favorites by specifying arbitrary user IDs in the URL path. Attackers can access private recipe identifiers, rating values, and favorite flags belonging to other users across different groups or households.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-639 — Authorization Bypass Through User-Controlled Key
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mealie-recipes | mealie | 0 to <3.21.0 |
References
- https://github.com/mealie-recipes/mealie/issues/7909 (issue-tracking)
- https://github.com/mealie-recipes/mealie (product)
- https://github.com/mealie-recipes/mealie/blob/v3.20.1/mealie/routes/users/ratings.py#L44-L52 (technical-description)
- https://github.com/mealie-recipes/mealie/blob/v3.20.1/mealie/repos/repository_users.py#L82-L88 (technical-description)
- https://github.com/mealie-recipes/mealie/pull/7903 (patch issue-tracking)
- https://github.com/mealie-recipes/mealie/commit/6889101a760a457019276c10514e630660b3ed28 (patch)
- https://github.com/mealie-recipes/mealie/releases/tag/v3.21.0 (release-notes)
- https://www.vulncheck.com/advisories/mealie-before-3.21.0-information-disclosure-via-ratings-endpoint (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.