CVE-2024-31993: Mealie - Path Traversal
- Cve: CVE-2024-31993
- Name: Mealie - Path Traversal
- Description: Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the scrape_image function will retrieve an image based on a user-provided URL, however the provided URL is not validated to point to an external location and does not have any enforced rate limiting. The response from the Mealie server will also vary depending on whether or not the target file is an image, is not an image, or does not exist. Additionally, when a file is retrieved the file may remain stored on Mealie’s file system as original.jpg under the UUID of the recipe it was requested for. If the attacker has access to an admin account (e.g. the default [email protected]), this file can then be retrieved. Note that if Mealie is running in a development setting this could be leveraged by an attacker to retrieve any file that the Mealie server had downloaded in this fashion without the need for administrator access. This vulnerability is fixed in 1.4.0.
- Impact: Attackers can retrieve arbitrary files or images from the server, potentially exposing sensitive data or server information.
- Remediation: Update to version 1.4.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: admin_privileges
- Requirements: Attacker needs access to an admin account or server access.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.5
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00413
- Epss percentile: 0.36038
- Assignee: [email protected]
- Published at: 2024-04-19T21:15:08Z
- Age in days: 949
- Modified at: 2026-06-17T07:29:05Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-31993
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mealie:mealie | < 1.4.0 | no | nvd | /v1/products/mealie/mealie |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mealie-recipes/mealie | commit, fix, pull | yes | /v1/repositories/mealie-recipes/mealie |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts