Mealie vulnerable to a GET-based SSRF in recipe image importer (GHSL-2023-227)
CVE-2024-31993Published 19 Apr 2024, 21:02 UTC
Real-world risk
0.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.2
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
What to do
Update to a fixed version: 1.4.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 38), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.080
- Threat T3: Public proof of concept0.950
- 10 × impact 0.8 × prerequisites 0.08 × threat 0.950.608
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 19 Apr 2024 Published
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-918
References
- https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/vendor-advisory, x-transferred
- https://github.com/mealie-recipes/mealie/pull/3368misc, x-transferred
- https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56fmisc, x-transferred
- https://github.com/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_service.py#L107misc, x-transferred
- CVE-2024-31993 on CVE.org