mysql2 vulnerabilities

fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
Licenses: MIT

Package Health Score

86/100
  • securityNo known security issues
  • popularityKey ecosystem project
  • maintenanceSustainable
  • communityActive

Maintenance

SUSTAINABLE

Commit Frequency

Loading chart...

Open Issues
439
Open PR
42
New PRS
1
Last Release
1 days ago
Last Commit
1 days ago
Maintainers
1

Further analysis of the maintenance status of mysql2 based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Sustainable.

We found that mysql2 demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Popularity

KEY ECOSYSTEM PROJECT
Weekly downloads (7.8M)
GitHub Stars
4.3k
Forks
660
Contributors
0

The npm package mysql2 receives a total of 7,800,857 downloads a week. As such, we scored mysql2 popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package mysql2, we found that it has been starred 4,336 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

ACTIVE
Readme.md
Yes
Contributing.md
Yes
Code of Conduct
Yes
Contributors
0
Funding
Yes
LICENSE
MIT

This project has seen only 10 or less contributors.

License

MIT>=0;

Direct Vulnerabilities

Known vulnerabilities in the mysql2 package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free

Security

NO KNOWN SECURITY ISSUES
Show only direct vulnerabilities in latest version
No vulnerabilities found

No vulnerabilities found in the latest version

There are 6 total vulnerabilities, but none affect the latest version (3.18.0)

Package versions

244 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
3.18.023 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.6-canary.1e612dc623 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.523 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.5-canary.c4efc90a20 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.5-canary.8aa2052221 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.5-canary.5f8ac97120 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.5-canary.0e06e02e21 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.420 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.319 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.17.216 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L