Read the docs
TI-2021-04512 Aliases CVE-2021-21414GHSA-pxcc-hj8w-fmm7

Command injection vulnerability in @prisma/sdk in getPackedPackage function

Priority LOW 38CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

Prisma is an open source ORM for Node.js & TypeScript. As of today, we are not aware of any Prisma users or external consumers of the `@prisma/sdk` package who are affected by this security vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. It only affects the `getPackedPackage` function and this function is not advertised and only used for tests & building our CLI, no malicious code was found after checking our codebase.

Why it matters now

EPSS 0.02073 81st percentileScored 2026-11-07
Fix Fixed prisma (prisma): 2.20.0@prisma/sdk (npm): 2.20.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
prismaprismabefore 2.20.02.20.0Patch availableCNA
—@prisma/sdk (npm)before 2.20.02.20.0Patch availableGHSA-pxcc-hj8w-fmm7
  • prisma Vendorprisma Affected before 2.20.0 Fixed in 2.20.0 Patch available CNA
  • @prisma/sdk (npm) Vendor— Affected before 2.20.0 Fixed in 2.20.0 Patch available GHSA-pxcc-hj8w-fmm7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:*before 2.20.0Vulnerableprisma
  • cpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:* Versions before 2.20.0 Vulnerable ·prisma

Remediation

  • Fix · CNA prisma (prisma) Fixed in 2.20.0
  • Fix · GHSA-pxcc-hj8w-fmm7 @prisma/sdk (npm) Fixed in 2.20.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21414
  2. 2026-10-03 Alias added: GHSA-pxcc-hj8w-fmm7

References

Sources