提交 #1056491: mealie-recipes Mealie 3.28.0 Path Traversal信息

标题mealie-recipes Mealie 3.28.0 Path Traversal
描述Every request passes the raw Accept-Language header into the i18n provider factory, which joins it into a file path without validating that the resulting path stays inside the translations directory. A request with an Accept-Language value containing ../ and ending in .json makes the server read and parse an arbitrary JSON file on disk and return translation strings from it; a failed parse also echoes part of the file content in the error message. Because the response is cached per language string and the cache is keyed on the raw header, each distinct value creates a new cache entry, which turns the same primitive into an unbounded memory amplification: a ~5.7 MB JSON file read with a 30 MB response payload per request grows the i18n cache without limit and exhausts worker memory. Verified against a container built from the project image: GET / with Accept-Language: ../<path>/config.json returned the parsed contents, and repeated requests with distinct header values grew RSS monotonically. Reported on 2026-10-05 via GitHub private advisory GHSA-5c8x-wwp4-vgmf (screenshot in section 4 of the linked proof page). A fix has not been published at the time of submission. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (8.2), CWE-22 and CWE-770. This is a resubmission of #1020093, rejected because the private triage advisory was not publicly verifiable; the screenshot proof is now at the linked URL.
来源⚠️ https://github.com/waterhunter2000-svg/vulnerability-reports/issues/1
用户
 waterhunter (UID 101889)
提交2026-10-26 01時00分 (30 日前)
管理2026-11-24 14時17分 (30 days later)
状态已接受
VulDB条目442871 [mealie-recipes Mealie 直到 3.29.0 I18n Locale Provider provider_factory.py get Accept-Language 目录遍历]
积分20

Do you need the next level of professionalism?

Upgrade your account now!