{"id":"CVE-2024-12217","aliases":["CVE-2024-12217","GHSA-prpg-p95c-32fv","PYSEC-2026-1418"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in gradio-app/gradio","summary":"A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en el repositorio gradio-app/gradio, versión git 67e4044, permite path traversal en el sistema operativo Windows. La implementación de la función \"blocked_path\", cuyo objetivo es impedir que los usuarios lean ciertos archivos, es defectuoso. En concreto, si bien la aplicación bloquea correctamente el acceso a rutas como \"C:/tmp/secret.txt\", no lo bloquea al usar la sintaxis de flujos de datos alternativos (ADS) de NTFS, como \"C:/tmp/secret.txt::$DATA\". Este fallo puede provocar la lectura no autorizada de rutas de archivos bloqueadas.","source":"nvd"}],"published":"2025-03-20T10:11:08.996Z","modified":"2026-07-07T17:57:29.255Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/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.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-41"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"gradio-app","product":"gradio-app/gradio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.0.1"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.0.1"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12217","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/gradio-app/gradio","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/gradio-app/gradio/blob/67e4044c9ca8358eceeb1fa72fa415df03397d20/gradio/utils.py#L1061-L1074","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/gradio","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-prpg-p95c-32fv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T15:14:55.311Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12217","url":"https://www.cve.org/CVERecord?id=CVE-2024-12217","licence":"CVE Terms of Use","modified":"2025-03-20T15:14:58.726Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-prpg-p95c-32fv","url":"https://github.com/advisories/GHSA-prpg-p95c-32fv","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:29.255Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12217","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12217","licence":"Public domain","modified":"2026-06-17T06:59:16.157Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1418","url":"https://osv.dev/vulnerability/PYSEC-2026-1418","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:40.462Z"}],"updatedAt":"2026-11-25T22:58:52.356Z","epss":{"score":0.00766,"percentile":0.5668,"date":"2026-12-01T12:00:22.000Z"}}