{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-48819","id":"CVE-2026-48819","title":"Hey API: `buildClientParams` template: prototype chain substitution via unknown `$<slot>___proto__` key","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","descriptionLong":"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.","published":"2026-07-17T19:46:00.402Z","updated":"2026-11-11T10:47:31.173479975Z","reserved":"2026-05-22T20:57:10.976Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["hey-api openapi-ts"],"affectedProducts":[{"vendor":"hey-api","product":"openapi-ts","defaultStatus":null,"versions":[{"version":"< 0.97.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@hey-api/openapi-ts","purl":"pkg:npm/%40hey-api/openapi-ts","ranges":["<0.97.3"],"fixed":["0.97.3"],"advisory":"GHSA-hhx9-57xq-r5rw"}],"cwes":["CWE-1321"],"aliases":["GHSA-hhx9-57xq-r5rw"],"references":[{"url":"https://github.com/hey-api/hey-api/security/advisories/GHSA-hhx9-57xq-r5rw","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/hey-api/hey-api/commit/023909137a15eff9c0263d3bcd116140076b214f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/hey-api/hey-api/commit/da321a1529eb3c90d2109da870f514b915a60169","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/hey-api/hey-api/releases/tag/%40hey-api%2Fopenapi-ts%400.97.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48819.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48819","tags":["advisory"]},{"url":"https://github.com/hey-api/openapi-ts/security/advisories/GHSA-hhx9-57xq-r5rw","tags":["web"]},{"url":"https://github.com/hey-api/openapi-ts","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00272,"epssPercentile":0.19837,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-48819","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48819","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-48819","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhx9-57xq-r5rw","ok":true,"note":"GHSA-hhx9-57xq-r5rw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-48819","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}