PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-48819 hey-api CVE debrief

CVE-2026-48819 is a vulnerability in the Hey API ecosystem that could allow for potential code injection via generated SDKs. The issue arises from the way runtime templates are handled in the generation of SDKs, specifically in the handling of unknown slot-prefixed keys. This could potentially allow an attacker to inject malicious code. The vulnerability exists in the dist/clients/core/params.ts file, which ships a runtime template copied into generated SDKs as params.gen.ts. The buildClientParams function writes unknown slot-prefixed keys directly to the corresponding slot, allowing for potential code injection. This issue is fixed in version 0.97.3 of the Hey API ecosystem. Developers and users of the Hey API ecosystem should be aware of this vulnerability and take steps to mitigate it.

Vendor
hey-api
Product
openapi-ts
CVSS
MEDIUM 4.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-17
Original CVE updated
2026-07-17
Advisory published
2026-07-17
Advisory updated
2026-07-17

Who should care

Developers and users of the Hey API ecosystem should be aware of this vulnerability and take steps to mitigate it. This includes ensuring that the latest version of the affected software is used and that generated SDKs are properly validated.

Technical summary

The vulnerability exists in the dist/clients/core/params.ts file, which ships a runtime template copied into generated SDKs as params.gen.ts. The buildClientParams function writes unknown slot-prefixed keys directly to the corresponding slot, allowing for potential code injection. This issue is fixed in version 0.97.3 of the Hey API ecosystem. The vulnerability could allow an attacker to inject malicious code via generated SDKs.

Defensive priority

Medium

Recommended defensive actions

  • Update to version 0.97.3 or later of the Hey API ecosystem
  • Validate generated SDKs for potential code injection
  • Monitor for suspicious activity in the Hey API ecosystem
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record was published on 2026-07-17T20:17:21.553Z and has not been modified since then. The NVD entry is currently 4.8 (Medium). The vulnerability exists in the dist/clients/core/params.ts file, which ships a runtime template copied into generated SDKs as params.gen.ts. The buildClientParams function writes unknown slot-prefixed keys directly to the corresponding slot, allowing for potential code injection. This issue is fixed in version 0.97.3 of the Hey API ecosystem. Developers and users of the Hey API ecosystem should be aware of this vulnerability and take steps to mitigate it.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-17T20:17:21.553Z and has not been modified since then.