CVE-2026-48819
Full vulnerability record from the local CVENow database.
Description
Hey API is an ecosystem for turning API specifications into production-ready code. Prior to 0.97.3, dist/clients/core/params.ts ships a runtime template copied into generated SDKs as params.gen.ts, and buildClientParams writes unknown slot-prefixed keys such as $body_, $headers_, $path_, and $query_ directly to the corresponding slot, allowing $query___proto__ alongside a legitimate q field to set params.query through params["query"]["__proto__"] = value, call Object.setPrototypeOf(params.query, value), and expose inherited attacker-controlled keys during for..in iteration. This issue is fixed in version 0.97.3.
Severity
MEDIUM
CVSS score
4.8
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-17 20:17:21.553000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-48819",
"sourceIdentifier": "[email protected]",
"published": "2026-07-17T20:17:21.553",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Hey API is an ecosystem for turning API specifications into production-ready code. Prior to 0.97.3, dist/clients/core/params.ts ships a runtime template copied into generated SDKs as params.gen.ts, and buildClientParams writes unknown slot-prefixed keys such as $body_, $headers_, $path_, and $query_ directly to the corresponding slot, allowing $query___proto__ alongside a legitimate q field to set params.query through params[\"query\"][\"__proto__\"] = value, call Object.setPrototypeOf(params.query, value), and expose inherited attacker-controlled keys during for..in iteration. This issue is fixed in version 0.97.3."
},
{
"lang": "es",
"value": "Hey API es un ecosistema para convertir especificaciones de API en código listo para producción. Antes de la 0.97.3, dist/clients/core/params.ts envía una plantilla en tiempo de ejecución copiada en los SDK generados como params.gen.ts, y buildClientParams escribe claves desconocidas con prefijo de slot como $body_, $headers_, $path_ y $query_ directamente al slot correspondiente, permitiendo que $query___proto__ junto con un campo q legítimo establezca params.query a través de params[’query’][’__proto__’] = value, llame a Object.setPrototypeOf(params.query, value), y exponga claves heredadas controladas por el atacante durante la iteración for..in. Este problema está solucionado en la versión 0.97.3."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "hey-api",
"product": "openapi-ts",
"versions": [
{
"version": "< 0.97.3",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.2,
"impactScore": 2.5
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-20T16:23:29.690460Z",
"id": "CVE-2026-48819",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-1321"
}
]
}
],
"references": [
{
"url": "https://github.com/hey-api/hey-api/commit/023909137a15eff9c0263d3bcd116140076b214f",
"source": "[email protected]"
},
{
"url": "https://github.com/hey-api/hey-api/commit/da321a1529eb3c90d2109da870f514b915a60169",
"source": "[email protected]"
},
{
"url": "https://github.com/hey-api/hey-api/releases/tag/%40hey-api%2Fopenapi-ts%400.97.3",
"source": "[email protected]"
},
{
"url": "https://github.com/hey-api/hey-api/security/advisories/GHSA-hhx9-57xq-r5rw",
"source": "[email protected]"
},
{
"url": "https://github.com/hey-api/hey-api/security/advisories/GHSA-hhx9-57xq-r5rw",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}