CVE-2026-33490 (GCVE-0-2026-33490)
Vulnerability from cvelistv5 – Published: 2026-03-26 17:19 – Updated: 2026-03-26 18:23
VLAI?
Title
h3: Missing Path Segment Boundary Check in `mount()` Causes Middleware Execution on Unrelated Prefix-Matching Routes
Summary
H3 is a minimal H(TTP) framework. In versions 2.0.0-0 through 2.0.1-rc.16, the `mount()` method in h3 uses a simple `startsWith()` check to determine whether incoming requests fall under a mounted sub-application's path prefix. Because this check does not verify a path segment boundary (i.e., that the next character after the base is `/` or end-of-string), middleware registered on a mount like `/admin` will also execute for unrelated routes such as `/admin-public`, `/administrator`, or `/adminstuff`. This allows an attacker to trigger context-setting middleware on paths it was never intended to cover, potentially polluting request context with unintended privilege flags. Version 2.0.2-rc.17 contains a patch.
Severity ?
CWE
- CWE-706 - Use of Incorrectly-Resolved Name or Reference
Assigner
References
| URL | Tags | ||||
|---|---|---|---|---|---|
|
|||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-33490",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-26T17:46:14.997707Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-03-26T18:23:39.653Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "h3",
"vendor": "h3js",
"versions": [
{
"status": "affected",
"version": "\u003e= 2.0.1-alpha.0, \u003c 2.0.1-rc.17"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "H3 is a minimal H(TTP) framework. In versions 2.0.0-0 through 2.0.1-rc.16, the `mount()` method in h3 uses a simple `startsWith()` check to determine whether incoming requests fall under a mounted sub-application\u0027s path prefix. Because this check does not verify a path segment boundary (i.e., that the next character after the base is `/` or end-of-string), middleware registered on a mount like `/admin` will also execute for unrelated routes such as `/admin-public`, `/administrator`, or `/adminstuff`. This allows an attacker to trigger context-setting middleware on paths it was never intended to cover, potentially polluting request context with unintended privilege flags. Version 2.0.2-rc.17 contains a patch."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 3.7,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-706",
"description": "CWE-706: Use of Incorrectly-Resolved Name or Reference",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-03-26T17:19:15.956Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w"
}
],
"source": {
"advisory": "GHSA-2j6q-whv2-gh6w",
"discovery": "UNKNOWN"
},
"title": "h3: Missing Path Segment Boundary Check in `mount()` Causes Middleware Execution on Unrelated Prefix-Matching Routes"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-33490",
"datePublished": "2026-03-26T17:19:15.956Z",
"dateReserved": "2026-03-20T16:16:48.971Z",
"dateUpdated": "2026-03-26T18:23:39.653Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-33490\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-03-26T18:16:30.237\",\"lastModified\":\"2026-03-31T21:00:13.690\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"H3 is a minimal H(TTP) framework. In versions 2.0.0-0 through 2.0.1-rc.16, the `mount()` method in h3 uses a simple `startsWith()` check to determine whether incoming requests fall under a mounted sub-application\u0027s path prefix. Because this check does not verify a path segment boundary (i.e., that the next character after the base is `/` or end-of-string), middleware registered on a mount like `/admin` will also execute for unrelated routes such as `/admin-public`, `/administrator`, or `/adminstuff`. This allows an attacker to trigger context-setting middleware on paths it was never intended to cover, potentially polluting request context with unintended privilege flags. Version 2.0.2-rc.17 contains a patch.\"},{\"lang\":\"es\",\"value\":\"H3 es un framework H(TTP) m\u00ednimo. En las versiones 2.0.0-0 hasta la 2.0.1-rc.16, el m\u00e9todo \u0027mount()\u0027 en h3 usa una simple verificaci\u00f3n \u0027startsWith()\u0027 para determinar si las solicitudes entrantes caen bajo el prefijo de ruta de una subaplicaci\u00f3n montada. Debido a que esta verificaci\u00f3n no verifica un l\u00edmite de segmento de ruta (es decir, que el siguiente car\u00e1cter despu\u00e9s de la base es \u0027/\u0027 o el final de la cadena), el middleware registrado en un montaje como \u0027/admin\u0027 tambi\u00e9n se ejecutar\u00e1 para rutas no relacionadas como \u0027/admin-public\u0027, \u0027/administrator\u0027 o \u0027/adminstuff\u0027. Esto permite a un atacante activar middleware de configuraci\u00f3n de contexto en rutas que nunca se pretendi\u00f3 cubrir, potencialmente contaminando el contexto de la solicitud con indicadores de privilegio no deseados. La versi\u00f3n 2.0.2-rc.17 contiene un parche.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N\",\"baseScore\":3.7,\"baseSeverity\":\"LOW\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.2,\"impactScore\":1.4},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N\",\"baseScore\":5.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":1.4}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-706\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc1:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"910077BC-C84C-4CAB-A0A5-761047F6F43C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc10:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"603A08FC-B20B-4693-90A1-0BF5F08B43AC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc11:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"BCC5ECF0-0EED-48BC-95FA-1D2671A971A9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc12:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"BCCBE75E-DCF6-45FD-B57E-F8E2ADE3129F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc13:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"3B66082C-3F3E-4BC6-9543-A2F9CFE3AAC6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc14:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"3D1C9D7B-3CE4-427B-93B4-EAF867159AFB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc15:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"5AE7D8A6-4506-418A-ABA4-C820A1DA7E7F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc16:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"281715D9-6C86-4D4E-9833-C18A8CABD05A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc2:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"C5E7779A-00CA-45E7-8F68-1DAB5388ED4A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc3:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"064C21F5-8633-45F3-9A3D-3FB029A867B9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc4:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"DDBC1DFD-8063-4AE1-92D8-B3B33735FEF0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc5:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"496314A3-8F2B-4274-9D0D-7F11E896FEA5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc6:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"35F49342-D52C-4762-9369-F380C5E7E0B5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc7:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"D11CA1A7-3141-46EA-9687-32C333FC7B0C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc8:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"A4A6FD03-5DE5-4D73-9FF3-BB653302C60B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:h3:h3:2.0.1:rc9:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"5E404148-6862-44F5-961D-10E8A742A4B6\"}]}]}],\"references\":[{\"url\":\"https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Mitigation\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"tags\":[\"Exploit\",\"Mitigation\",\"Vendor Advisory\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-33490\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-03-26T17:46:14.997707Z\"}}}], \"references\": [{\"url\": \"https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-03-26T17:46:23.495Z\"}}], \"cna\": {\"title\": \"h3: Missing Path Segment Boundary Check in `mount()` Causes Middleware Execution on Unrelated Prefix-Matching Routes\", \"source\": {\"advisory\": \"GHSA-2j6q-whv2-gh6w\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 3.7, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"LOW\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"h3js\", \"product\": \"h3\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 2.0.1-alpha.0, \u003c 2.0.1-rc.17\"}]}], \"references\": [{\"url\": \"https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w\", \"name\": \"https://github.com/h3js/h3/security/advisories/GHSA-2j6q-whv2-gh6w\", \"tags\": [\"x_refsource_CONFIRM\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"H3 is a minimal H(TTP) framework. In versions 2.0.0-0 through 2.0.1-rc.16, the `mount()` method in h3 uses a simple `startsWith()` check to determine whether incoming requests fall under a mounted sub-application\u0027s path prefix. Because this check does not verify a path segment boundary (i.e., that the next character after the base is `/` or end-of-string), middleware registered on a mount like `/admin` will also execute for unrelated routes such as `/admin-public`, `/administrator`, or `/adminstuff`. This allows an attacker to trigger context-setting middleware on paths it was never intended to cover, potentially polluting request context with unintended privilege flags. Version 2.0.2-rc.17 contains a patch.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-706\", \"description\": \"CWE-706: Use of Incorrectly-Resolved Name or Reference\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-03-26T17:19:15.956Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-33490\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-03-26T18:23:39.653Z\", \"dateReserved\": \"2026-03-20T16:16:48.971Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-03-26T17:19:15.956Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…