{"answers":{"affected":"2 open source packages ship an affected version, including @hey-api/openapi-ts.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48819 exists.","fix":"Upgrade @hey-api/openapi-ts to 0.97.3 or later.","what":"CVE-2026-48819 is a medium-severity vulnerability in hey-api openapi-ts, published on 17 Jul 2026."},"fix_prompt":"Check this codebase for CVE-2026-48819 and fix it if it is affected.\n\nWhat it is: CVE-2026-48819 is a medium-severity vulnerability in hey-api openapi-ts, published on 17 Jul 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48819 exists.\n\nAffected packages and fixed versions:\n- @hey-api/openapi-ts (npm): affected all versions; fixed in 0.97.3\n- @hey-api/openapi-ts (npm): affected all versions; fixed in 0.97.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48819/ (Markdown: https://insights.sbomify.com/CVE-2026-48819/index.md)","id":"CVE-2026-48819","markdown":"https://insights.sbomify.com/CVE-2026-48819/index.md","name":"CVE-2026-48819","record":{"aliases":["GHSA-hhx9-57xq-r5rw"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Hey API: `buildClientParams` template: prototype chain substitution via unknown `$\u003cslot\u003e___proto__` key","id":"CVE-2026-48819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"CakePHP: View::element() is missing a path containment check","id":"CVE-2026-48820"},"packages":[{"ecosystem":"npm","fixed":["0.97.3"],"introduced":["0"],"last_affected":[],"package":"@hey-api/openapi-ts","purl":null,"source":"GHSA-hhx9-57xq-r5rw"},{"ecosystem":"npm","fixed":["0.97.3"],"introduced":["0"],"last_affected":[],"package":"@hey-api/openapi-ts","purl":"pkg:npm/%40hey-api/openapi-ts","source":"GHSA-hhx9-57xq-r5rw"}],"prev":{"headline":"Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows","id":"CVE-2026-48818"},"products":["openapi-ts"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["hey-api"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-48819/"}