CVE-2026-48819: hey-api openapi-ts · Prototype Pollution
Affects hey-api openapi-tsSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium : upgrade to 0.97.3 when convenient.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.97.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade openapi-ts and @hey-api/openapi-ts to 0.97.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hey-apiopenapi-ts | Affected
| Fixed in
|
npm@hey-api/openapi-tspkg:npm/%40hey-api/openapi-tsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to hey-api openapi-ts version 0.97.3 or later, where this prototype pollution vulnerability is fixed. No other mitigation or temporary workaround is indicated.
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.
References
- github.com/hey-api/hey-api/security/advisories/GHSA-hhx9-57xq-r5rw (opens in a new tab)
- github.com/hey-api/hey-api/commit/023909137a15eff9c0263d3bcd116140076b214f (opens in a new tab)
- github.com/hey-api/hey-api/commit/da321a1529eb3c90d2109da870f514b915a60169 (opens in a new tab)
- github.com/hey-api/hey-api/releases/tag/%40hey-api%2Fopenapi-ts%400.97.3 (opens in a new tab)