{"id":"CVE-2022-36082","aliases":["EUVD-2022-0150","GHSA-r9x7-2xmr-v8fw","PYSEC-2022-264"],"status":"published","title":"mangadex-downloader vulnerable to unauthorized file reading","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00717,"percentile":0.54072,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2022-09-07T21:35:09Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"PyPI","package":"mangadex-downloader","fixed_in":["1.7.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mangadex-downloader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.7.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mangadex-downloader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.7.2"}]}],"versions":["1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1"]},{"source":"osv","ecosystem":"PyPI","package":"mangadex-downloader","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"439cc2825198ebc12b3310c95c39a8c7710c9b42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.7.2"}]}],"versions":["1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1"]}],"products":[{"vendor":"mangadex-downloader_project","product":"mangadex-downloader"},{"vendor":"mansuf","product":"mangadex-downloader"}],"references":[{"url":"https://github.com/mansuf/mangadex-downloader/security/advisories/GHSA-r9x7-2xmr-v8fw","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/mansuf/mangadex-downloader/commit/439cc2825198ebc12b3310c95c39a8c7710c9b42","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36082","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mangadex-downloader/PYSEC-2022-264.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r9x7-2xmr-v8fw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36082.json","tags":["advisory"]},{"url":"https://github.com/mansuf/mangadex-downloader","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-36082","title":"mangadex-downloader vulnerable to unauthorized file reading","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","status":"published","published":"2022-09-07T21:35:09Z","modified":"2025-04-23T17:13:31.228Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:35.945659Z"}],"euvd":[{"id":"EUVD-2022-0150","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","status":"published","published":"2022-09-07T21:35:09Z","modified":"2025-04-23T17:13:31Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:10.906327Z"}],"ghsa":[{"id":"GHSA-r9x7-2xmr-v8fw","title":"mangadex-downloader vulnerable to unauthorized file reading","description":"### Impact\n\nWhen using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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 ( \u003e= 1.7.2)\n\n### Patches\n\nFixed in version 1.7.2.\nCommit patch: https://github.com/mansuf/mangadex-downloader/commit/439cc2825198ebc12b3310c95c39a8c7710c9b42","status":"published","published":"2022-09-16T17:45:28Z","modified":"2024-09-30T17:04:11Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:06.988799Z"}],"nvd":[{"id":"CVE-2022-36082","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","status":"published","published":"2022-09-07T22:15:08.583Z","modified":"2026-06-17T04:52:52.853Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:26.802986Z"}],"osv":[{"id":"CVE-2022-36082","title":"mangadex-downloader vulnerable to unauthorized file reading","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","status":"published","published":"2022-09-07T21:35:09Z","modified":"2026-10-28T02:30:52.768720996Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:26.195407Z"},{"id":"GHSA-r9x7-2xmr-v8fw","title":"mangadex-downloader vulnerable to unauthorized file reading","description":"### Impact\n\nWhen using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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 ( \u003e= 1.7.2)\n\n### Patches\n\nFixed in version 1.7.2.\nCommit patch: https://github.com/mansuf/mangadex-downloader/commit/439cc2825198ebc12b3310c95c39a8c7710c9b42","status":"published","published":"2022-09-16T17:45:28Z","modified":"2024-09-30T17:24:09.629865Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:55.877614Z"},{"id":"PYSEC-2022-264","description":"mangadex-downloader is a command-line tool to download manga from MangaDex. When using `file:\u003clocation\u003e` command and `\u003clocation\u003e` 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.","status":"published","published":"2022-09-07T22:15:00Z","modified":"2023-11-08T04:10:00.063469Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
