Skip to content

Prisma 7.10.0 pins deepmerge-ts 7.1.5 and mysql2 3.15.3, which carry high-severity npm audit advisories #30295

Open

Description

@wmadden-electric

Package and version

[email protected] and @prisma/[email protected]

What happened?

npm audit on a project using the latest Prisma 7 reports four high-severity findings, all in dependencies pinned by Prisma packages:

The only fix npm audit fix --force offers is a downgrade to [email protected].

Reported by a user on the Prisma Discord: https://discord.com/channels/937751382725886062/1548958064810393601/1549149135098675200

What did you expect to happen?

A clean npm audit on the current Prisma 7 release, with deepmerge-ts at 8.x and mysql2 at 3.23.1 or later.

Minimal reproduction

mkdir audit-repro && cd audit-repro
npm init -y
npm install [email protected]
npm audit

Environment

  • Package manager: npm
  • Prisma: 7.10.0 (latest 7.x at the time of filing)
  • Database: MySQL and SQLite, per the reporter; the findings do not depend on the database in use

Additional context

The advisories are public and are in transitive dependencies, not in Prisma itself. These are pinned exact versions, so users cannot override them without overrides.

Activity

  1. rmartins0 commented on Oct 1, 2026

    @rmartins0

    What is the status of this issue? The security alerts have been lingering.

  2. abdulrahman-khankan commented on Oct 5, 2026

    @abdulrahman-khankan

    This also impacts latest v6 (v6.19.3) as well.

  3. prisma-asks commented on Oct 7, 2026

    @prisma-asks

    @rmartins0 Both bumps are merged on the 7.x branch: deepmerge-ts in #30189 and mysql2 in #30314. They aren't in a release yet, 7.10.0 is still the latest 7.x.

  4. cbelsole commented on Oct 8, 2026

    @cbelsole

    When are we going to see a 7.x release for this issue?

  5. yharaskrik commented on Nov 20, 2026

    @yharaskrik

    When are we going to see a 7.x release for this issue?

    Following up on this Prisma team, any idea of when we are going to get a new v7 release that fixes this (and #31125)?

  6. prisma-asks commented on Nov 20, 2026

    @prisma-asks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions