Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

Command injection vulnerability in @prisma/sdk in getPackedPackage functionGHSA-pxcc-hj8w-fmm7

HIGHFix: prisma/prisma#6245

GHSA-pxcc-hj8w-fmm7 is a high-severity (CVSS 7.7) OS Command Injection vulnerability in @prisma/sdk. A fix is available for @prisma/sdk — see the affected versions and patch details below.

Also known asCVE-2021-21414
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs81th percentile — riskier than 81% of all scored CVEsHighest risk
1.57%2.07%2.57%3.06%2.6%2.1%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-pxcc-hj8w-fmm7 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.

@prisma/sdknpm
53Kdownloads / week

Description

Impact

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.

Patches

Fixed in

Pull Request closing this vulnerability https://github.com/prisma/prisma/pull/6245

Acknowledgements

This issue was discovered and reported by GitHub Engineer @erik-krogh (Erik Krogh Kristensen).

For more information

If you have any questions or comments about this advisory:

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npm@prisma/sdkall versions2.20.0npm install @prisma/sdk@2.20.0

Affected Products

1 product · 1 configurations
Application
prismaprisma
< 2.20.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @prisma/sdk, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update @prisma/sdk to 2.20.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-pxcc-hj8w-fmm7 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

### Impact 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. ### Patches Fixed in - @prisma/[email protected] (latest channel) - @prisma/[email protected] (dev channel) Pull Request closing thi
O3 Security · Impact-Aware SCA

Is GHSA-pxcc-hj8w-fmm7 in your dependencies?

Find it across npm, including transitive dependencies.

Command injection vulnerability in @prisma/sdk in…