Skip to content

File tree

advisories/github-reviewed/2018/11/GHSA-vqgp-4jgj-5j64/GHSA-vqgp-4jgj-5j64.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-vqgp-4jgj-5j64",
4-
"modified": "2024-10-21T20:22:22Z",
4+
"modified": "2026-06-05T17:53:32Z",
55
"published": "2018-11-21T22:23:04Z",
66
"aliases": [
77
"CVE-2018-18920"
@@ -56,6 +56,10 @@
5656
"type": "PACKAGE",
5757
"url": "https://github.com/ethereum/py-evm"
5858
},
59+
{
60+
"type": "WEB",
61+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/evm-py/PYSEC-2018-155.yaml"
62+
},
5963
{
6064
"type": "WEB",
6165
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/py-evm/PYSEC-2018-96.yaml"

advisories/github-reviewed/2022/05/GHSA-53wm-97p6-582f/GHSA-53wm-97p6-582f.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-53wm-97p6-582f",
4-
"modified": "2024-04-22T22:48:23Z",
4+
"modified": "2026-06-05T17:53:43Z",
55
"published": "2022-05-13T01:07:33Z",
66
"aliases": [
77
"CVE-2017-7549"
@@ -68,13 +68,21 @@
6868
"type": "WEB",
6969
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477403"
7070
},
71+
{
72+
"type": "WEB",
73+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/instack/PYSEC-2017-152.yaml"
74+
},
7175
{
7276
"type": "WEB",
7377
"url": "https://opendev.org/openstack/instack-undercloud"
7478
},
7579
{
7680
"type": "WEB",
7781
"url": "https://web.archive.org/web/20170907040549/http://www.securityfocus.com/bid/100407"
82+
},
83+
{
84+
"type": "WEB",
85+
"url": "http://www.securityfocus.com/bid/100407"
7886
}
7987
],
8088
"database_specific": {

advisories/github-reviewed/2022/05/GHSA-c8w9-83vg-r8vv/GHSA-c8w9-83vg-r8vv.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-c8w9-83vg-r8vv",
4-
"modified": "2024-05-14T21:32:11Z",
4+
"modified": "2026-06-05T17:53:55Z",
55
"published": "2022-05-17T01:36:25Z",
66
"aliases": [
77
"CVE-2013-1840"
@@ -59,6 +59,10 @@
5959
"type": "PACKAGE",
6060
"url": "https://github.com/openstack/glance"
6161
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2013-46.yaml"
65+
},
6266
{
6367
"type": "WEB",
6468
"url": "https://review.openstack.org/#/c/24437"

advisories/github-reviewed/2024/04/GHSA-84pr-m4jr-85g5/GHSA-84pr-m4jr-85g5.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-84pr-m4jr-85g5",
4-
"modified": "2025-11-03T22:45:59Z",
4+
"modified": "2026-06-05T17:54:17Z",
55
"published": "2024-04-19T21:31:08Z",
66
"aliases": [
77
"CVE-2024-1681"
@@ -51,6 +51,10 @@
5151
"type": "WEB",
5252
"url": "https://github.com/corydolphin/flask-cors/blob/40acc8092332dfed4bb54d7a4f89a6d479466de7/flask_cors/extension.py#L194"
5353
},
54+
{
55+
"type": "WEB",
56+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-271.yaml"
57+
},
5458
{
5559
"type": "WEB",
5660
"url": "https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644"

advisories/github-reviewed/2024/07/GHSA-9v2f-6vcg-3hgv/GHSA-9v2f-6vcg-3hgv.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-9v2f-6vcg-3hgv",
4-
"modified": "2025-10-17T20:26:00Z",
4+
"modified": "2026-06-05T17:54:30Z",
55
"published": "2024-07-01T21:31:15Z",
66
"withdrawn": "2025-10-17T20:26:00Z",
77
"aliases": [
@@ -46,6 +46,10 @@
4646
{
4747
"type": "ADVISORY",
4848
"url": "https://github.com/advisories/GHSA-9v2f-6vcg-3hgv"
49+
},
50+
{
51+
"type": "WEB",
52+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-274.yaml"
4953
}
5054
],
5155
"database_specific": {

advisories/github-reviewed/2024/11/GHSA-rhm9-gp5p-5248/GHSA-rhm9-gp5p-5248.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-rhm9-gp5p-5248",
4-
"modified": "2024-11-06T23:38:33Z",
4+
"modified": "2026-06-05T17:54:38Z",
55
"published": "2024-11-06T16:29:57Z",
66
"aliases": [
77
"CVE-2024-51751"
@@ -51,6 +51,10 @@
5151
{
5252
"type": "PACKAGE",
5353
"url": "https://github.com/gradio-app/gradio"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-275.yaml"
5458
}
5559
],
5660
"database_specific": {

advisories/github-reviewed/2025/01/GHSA-j2jg-fq62-7c3h/GHSA-j2jg-fq62-7c3h.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-j2jg-fq62-7c3h",
4-
"modified": "2025-01-14T22:02:17Z",
4+
"modified": "2026-06-05T17:54:51Z",
55
"published": "2025-01-14T16:32:22Z",
66
"aliases": [
77
"CVE-2025-23042"
88
],
99
"summary": "Gradio Blocked Path ACL Bypass Vulnerability",
10-
"details": "## Summary\n\nGradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case of a blocked file or directory path. This vulnerability arises due to the lack of case normalization in the file path validation logic. On case-insensitive file systems, such as those used by Windows and macOS, this flaw enables attackers to circumvent security restrictions and access sensitive files that should be protected.\n\nThis issue can lead to unauthorized data access, exposing sensitive information and undermining the integrity of Gradio's security model. Given Gradio's popularity for building web applications, particularly in machine learning and AI, this vulnerability may pose a substantial threat if exploited in production environments.\n\n## Affected Version\n\nGradio <= 5.6.0\n\n## Impact\n\n- **Unauthorized Access**: Sensitive files or directories specified in `blocked_paths` can be accessed by attackers.\n\n- **Data Exposure**: Critical files, such as configuration files or user data, may be leaked.\n\n- **Security Breach**: This can lead to broader application or system compromise if sensitive files contain credentials or API keys.\n\n## Root Cause\n\nThe [`blocked_paths`](https://github.com/gradio-app/gradio/blob/main/gradio/blocks.py#L2310) parameter in Gradio block's initial configuration is designed to restrict user access to specific files or directories in the local file system. However, it does not account for case-insensitive operating systems, such as Windows and macOS. This oversight enables attackers to bypass ACL restrictions by changing the case of file paths.\n\nVulnerable snippet: \n\n```python\n# https://github.com/gradio-app/gradio/blob/main/gradio/utils.py#L1500-L1517\ndef is_allowed_file(\n path: Path,\n blocked_paths: Sequence[str | Path],\n allowed_paths: Sequence[str | Path],\n created_paths: Sequence[str | Path],\n) -> tuple[\n bool, Literal[\"in_blocklist\", \"allowed\", \"created\", \"not_created_or_allowed\"]\n]:\n in_blocklist = any(\n is_in_or_equal(path, blocked_path) for blocked_path in blocked_paths\n )\n if in_blocklist:\n return False, \"in_blocklist\"\n if any(is_in_or_equal(path, allowed_path) for allowed_path in allowed_paths):\n return True, \"allowed\"\n if any(is_in_or_equal(path, created_path) for created_path in created_paths):\n return True, \"created\"\n return False, \"not_created_or_allowed\"\n```\n\nGradio relies on `is_in_or_equal` to determine if a file path is restricted. However, this logic fails to handle case variations in paths on case-insensitive file systems, leading to the bypass.\n\n## Proof of Concept (PoC)\n\n### Steps to Reproduce\n\n- Deploy a Gradio demo app on a case-insensitive operating system (e.g., Windows or macOS).\n\n ```bash\n import gradio as gr\n def update(name):\n return f\"Welcome to Gradio, {name}!\"\n \n with gr.Blocks() as demo:\n gr.Markdown(\"Start typing below and then click **Run** to see the output.\")\n with gr.Row():\n inp = gr.Textbox(placeholder=\"What is your name?\")\n out = gr.Textbox()\n btn = gr.Button(\"Run\")\n btn.click(fn=update, inputs=inp, outputs=out)\n \n demo.launch(blocked_paths=['resources/admin'], allowed_paths=['resources/'])\n ```\n\n- Set up the file system:\n\n - Create a folder named `resources` in the same directory as the app, containing a file `1.txt`.\n\n - Inside the `resources` folder, create a subfolder named `admin` containing a sensitive file `credential.txt` (this file should be inaccessible due to `blocked_paths`).\n\n- Perform the attack:\n\n - Access the sensitive file using a case-altered path:\n\n ```\n http://127.0.0.1:PORT/gradio_api/file=resources/adMin/credential.txt\n ```\n\n### Expected Result\n\nAccess to `resources/admin/credential.txt` should be blocked.\n\n### Actual Result\n\nBy altering the case in the path (e.g., `adMin`), the blocked ACL is bypassed, and unauthorized access to the sensitive file is granted.\n\n![image-20241119172439042](https://api.2h0ng.wiki:443/noteimages/2024/11/19/17-24-39-883969d4c31ce8a8d2a939654fab56d4.png)\n\nThis demonstration highlights that flipping the case of restricted paths allows attackers to bypass Gradio's ACL and access sensitive data.\n\n## Remediation Recommendations\n\n1. **Normalize Path Case**:\n\n - Before evaluating paths against the ACL, normalize the case of both the requested path and the blocked paths (e.g., convert all paths to lowercase).\n\n - Example:\n\n ```python\n normalized_path = str(path).lower()\n normalized_blocked_paths = [str(p).lower() for p in blocked_paths]\n ```\n\n2. **Update Documentation**:\n\n - Warn developers about potential risks when deploying Gradio on case-insensitive file systems.\n\n3. **Release Security Patches**:\n\n - Notify users of the vulnerability and release an updated version of Gradio with the fixed logic.\n\n## ",
10+
"details": "## Summary\n\nGradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case of a blocked file or directory path. This vulnerability arises due to the lack of case normalization in the file path validation logic. On case-insensitive file systems, such as those used by Windows and macOS, this flaw enables attackers to circumvent security restrictions and access sensitive files that should be protected.\n\nThis issue can lead to unauthorized data access, exposing sensitive information and undermining the integrity of Gradio's security model. Given Gradio's popularity for building web applications, particularly in machine learning and AI, this vulnerability may pose a substantial threat if exploited in production environments.\n\n## Affected Version\n\nGradio <= 5.6.0\n\n## Impact\n\n- **Unauthorized Access**: Sensitive files or directories specified in `blocked_paths` can be accessed by attackers.\n\n- **Data Exposure**: Critical files, such as configuration files or user data, may be leaked.\n\n- **Security Breach**: This can lead to broader application or system compromise if sensitive files contain credentials or API keys.\n\n## Root Cause\n\nThe [`blocked_paths`](https://github.com/gradio-app/gradio/blob/main/gradio/blocks.py#L2310) parameter in Gradio block's initial configuration is designed to restrict user access to specific files or directories in the local file system. However, it does not account for case-insensitive operating systems, such as Windows and macOS. This oversight enables attackers to bypass ACL restrictions by changing the case of file paths.\n\nVulnerable snippet: \n\n```python\n# https://github.com/gradio-app/gradio/blob/main/gradio/utils.py#L1500-L1517\ndef is_allowed_file(\n path: Path,\n blocked_paths: Sequence[str | Path],\n allowed_paths: Sequence[str | Path],\n created_paths: Sequence[str | Path],\n) -> tuple[\n bool, Literal[\"in_blocklist\", \"allowed\", \"created\", \"not_created_or_allowed\"]\n]:\n in_blocklist = any(\n is_in_or_equal(path, blocked_path) for blocked_path in blocked_paths\n )\n if in_blocklist:\n return False, \"in_blocklist\"\n if any(is_in_or_equal(path, allowed_path) for allowed_path in allowed_paths):\n return True, \"allowed\"\n if any(is_in_or_equal(path, created_path) for created_path in created_paths):\n return True, \"created\"\n return False, \"not_created_or_allowed\"\n```\n\nGradio relies on `is_in_or_equal` to determine if a file path is restricted. However, this logic fails to handle case variations in paths on case-insensitive file systems, leading to the bypass.\n\n## Proof of Concept (PoC)\n\n### Steps to Reproduce\n\n- Deploy a Gradio demo app on a case-insensitive operating system (e.g., Windows or macOS).\n\n ```bash\n import gradio as gr\n def update(name):\n return f\"Welcome to Gradio, {name}!\"\n \n with gr.Blocks() as demo:\n gr.Markdown(\"Start typing below and then click **Run** to see the output.\")\n with gr.Row():\n inp = gr.Textbox(placeholder=\"What is your name?\")\n out = gr.Textbox()\n btn = gr.Button(\"Run\")\n btn.click(fn=update, inputs=inp, outputs=out)\n \n demo.launch(blocked_paths=['resources/admin'], allowed_paths=['resources/'])\n ```\n\n- Set up the file system:\n\n - Create a folder named `resources` in the same directory as the app, containing a file `1.txt`.\n\n - Inside the `resources` folder, create a subfolder named `admin` containing a sensitive file `credential.txt` (this file should be inaccessible due to `blocked_paths`).\n\n- Perform the attack:\n\n - Access the sensitive file using a case-altered path:\n\n ```\n http://127.0.0.1:PORT/gradio_api/file=resources/adMin/credential.txt\n ```\n\n### Expected Result\n\nAccess to `resources/admin/credential.txt` should be blocked.\n\n### Actual Result\n\nBy altering the case in the path (e.g., `adMin`), the blocked ACL is bypassed, and unauthorized access to the sensitive file is granted.\n\n![image-20241119172439042](https://api.2h0ng.wiki:443/noteimages/2024/11/19/17-24-39-883969d4c31ce8a8d2a939654fab56d4.png)\n\nThis demonstration highlights that flipping the case of restricted paths allows attackers to bypass Gradio's ACL and access sensitive data.\n\n## Remediation Recommendations\n\n1. **Normalize Path Case**:\n\n - Before evaluating paths against the ACL, normalize the case of both the requested path and the blocked paths (e.g., convert all paths to lowercase).\n\n - Example:\n\n ```python\n normalized_path = str(path).lower()\n normalized_blocked_paths = [str(p).lower() for p in blocked_paths]\n ```\n\n2. **Update Documentation**:\n\n - Warn developers about potential risks when deploying Gradio on case-insensitive file systems.\n\n3. **Release Security Patches**:\n\n - Notify users of the vulnerability and release an updated version of Gradio with the fixed logic.\n\n##",
1111
"severity": [
1212
{
1313
"type": "CVSS_V4",
@@ -55,6 +55,10 @@
5555
{
5656
"type": "WEB",
5757
"url": "https://github.com/gradio-app/gradio/releases/tag/gradio%405.11.0"
58+
},
59+
{
60+
"type": "WEB",
61+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-118.yaml"
5862
}
5963
],
6064
"database_specific": {

advisories/github-reviewed/2025/02/GHSA-mcgx-2gcr-p3hp/GHSA-mcgx-2gcr-p3hp.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-mcgx-2gcr-p3hp",
4-
"modified": "2025-02-25T17:48:34Z",
4+
"modified": "2026-06-05T17:54:05Z",
55
"published": "2025-02-25T17:48:34Z",
66
"aliases": [
77
"CVE-2023-25574"
@@ -58,6 +58,10 @@
5858
{
5959
"type": "WEB",
6060
"url": "https://github.com/jupyterhub/ltiauthenticator/blob/main/CHANGELOG.md#140---2023-03-01"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-ltiauthenticator/PYSEC-2025-120.yaml"
6165
}
6266
],
6367
"database_specific": {

advisories/github-reviewed/2025/05/GHSA-8jw3-6x8j-v96g/GHSA-8jw3-6x8j-v96g.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-8jw3-6x8j-v96g",
4-
"modified": "2025-05-30T15:18:21Z",
4+
"modified": "2026-06-05T17:55:32Z",
55
"published": "2025-05-29T22:36:59Z",
66
"aliases": [
77
"CVE-2025-48889"
@@ -47,6 +47,10 @@
4747
{
4848
"type": "PACKAGE",
4949
"url": "https://github.com/gradio-app/gradio"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-119.yaml"
5054
}
5155
],
5256
"database_specific": {

advisories/github-reviewed/2025/12/GHSA-r7v6-mfhq-g3m2/GHSA-r7v6-mfhq-g3m2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-r7v6-mfhq-g3m2",
4-
"modified": "2025-12-20T02:30:48Z",
4+
"modified": "2026-06-05T17:56:00Z",
55
"published": "2025-12-15T23:37:28Z",
66
"aliases": [
77
"CVE-2025-67748"
@@ -52,6 +52,10 @@
5252
"type": "WEB",
5353
"url": "https://github.com/trailofbits/fickling/pull/187"
5454
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/fickling/PYSEC-2025-113.yaml"
58+
},
5559
{
5660
"type": "PACKAGE",
5761
"url": "https://github.com/trailofbits/fickling"

0 commit comments

Comments
 (0)