Back to overview

CVE-2026-48819

MEDIUM
4.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-48819
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-22 20:57 UTC
Published
2026-07-17 19:46 UTC
Last updated
2026-07-17 19:46 UTC
Primary CWE
CWE-1321
CWE-1321: Improperly Controlled Modification of Object Proto…
Vendor / Product
hey-api / openapi-ts
Sources
cve.org  ·  NVD

Severity & Metrics

4.8 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products (1)
VendorProductPlatformVersions
hey-api openapi-ts < 0.97.3
Weakness (CWE)
CWESourceDescription
CWE-1321 cna CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVSS scores (1)
ScoreSeverityVersionSourceVector
4.8 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References (4)
Back to overview