{"id":"CVE-2022-36082","aliases":["CVE-2022-36082","GHSA-r9x7-2xmr-v8fw","PYSEC-2022-264"],"related":[],"kind":"vulnerability","state":"published","title":"mangadex-downloader vulnerable to unauthorized file reading","summary":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:<location>` command and `<location>` is a web URL location (http, https), mangadex-downloader between versions 1.3.0 and 1.7.2 will try to open and read a file in local disk for each line of website contents. Version 1.7.2 contains a patch for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:<location>` command and `<location>` is a web URL location (http, https), mangadex-downloader between versions 1.3.0 and 1.7.2 will try to open and read a file in local disk for each line of website contents. Version 1.7.2 contains a patch for this issue.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen using `file:<location>` command and `<location>` is web URL location (http, https). mangadex-downloader will try to open and read a file in local disk if the content from online file is exist-as-a-file in victim computer\n\nSo far, the app only read the files and not execute it. But still, when someone reading your files without you knowing, it's very scary.\n\n### Proof of Concept (PoC)\n\nhttps://www.mansuf.link/unauthorized-file-read-in-mangadex-downloader-cve-2022-36082/\n\n### Workarounds\n\nUnfortunately, there is no workarounds to make it safe from this issue. But i suggest you double check the url before proceed to download or update to latest version ( >= 1.7.2)\n\n### Patches\n\nFixed in version 1.7.2.\nCommit patch: https://github.com/mansuf/mangadex-downloader/commit/439cc2825198ebc12b3310c95c39a8c7710c9b42","format":"markdown","source":"ghsa"},{"lang":"es","text":"mangadex-downloader es una herramienta de línea de comandos para descargar manga de MangaDex. Cuando es usado el comando \"file:(location)\" y \"(location)\" es una ubicación URL de la web (http, https), mangadex-downloader entre las versiones 1.3.0 y 1.7.2, intentará abrir y leer un archivo en el disco local para cada línea de contenido de la web. La versión 1.7.2 contiene un parche para este problema","source":"nvd"}],"published":"2022-09-07T21:35:09.000Z","modified":"2026-06-17T04:52:52.853Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":">= 1.3.0, < 1.7.2","status":"affected"}],"vendor":"mansuf","product":"mangadex-downloader","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.3.0","status":"affected","fixed":"1.7.2"}],"ecosystem":"PyPI","package":"mangadex-downloader","purl":"pkg:pypi/mangadex-downloader","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.3.0","fixed":"1.7.2"}],"vendor":"mangadex-downloader_project","product":"mangadex-downloader","cpe":"cpe:2.3:a:mangadex-downloader_project:mangadex-downloader:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"439cc2825198ebc12b3310c95c39a8c7710c9b42"},{"type":"ecosystem","introduced":"1.3.0","status":"affected","fixed":"1.7.2"}],"ecosystem":"PyPI","package":"mangadex-downloader","purl":"pkg:pypi/mangadex-downloader","repo":"https://github.com/mansuf/mangadex-downloader","source":"pysec"}],"references":[{"url":"https://github.com/mansuf/mangadex-downloader/security/advisories/GHSA-r9x7-2xmr-v8fw","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/mansuf/mangadex-downloader/commit/439cc2825198ebc12b3310c95c39a8c7710c9b42","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36082","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mansuf/mangadex-downloader","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mangadex-downloader/PYSEC-2022-264.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:51:54.322Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-36082","url":"https://www.cve.org/CVERecord?id=CVE-2022-36082","licence":"CVE Terms of Use","modified":"2025-04-23T17:13:31.228Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r9x7-2xmr-v8fw","url":"https://github.com/advisories/GHSA-r9x7-2xmr-v8fw","licence":"CC-BY-4.0","modified":"2024-09-30T17:24:09.629Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-36082","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36082","licence":"Public domain","modified":"2026-06-17T04:52:52.853Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-264","url":"https://osv.dev/vulnerability/PYSEC-2022-264","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:00.063Z"}],"updatedAt":"2026-11-25T22:58:14.759Z","epss":{"score":0.00738,"percentile":0.55785,"date":"2026-12-02T12:00:21.000Z"}}