---
title: "knex 3.3.0: release notes, upgrades and advisories"
description: "knex 3.3.0: release notes, breaking changes by major version and 2 known advisories with their fix."
url: https://inlinr.com/packages/knex
lang: en
---

[Packages](https://inlinr.com/packages)

# knex

3.3.0 · 26 Jun 2026 MIT 7.2M / week [Repository](https://github.com/knex/knex) [Homepage](https://knexjs.org/) [npm](https://www.npmjs.com/package/knex) [Atom feed](https://inlinr.com/packages/feed/knex)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/knex/upgrade)

LineNewestSecurity

- 3.x 3.3.0 No known advisory Latest line
- 2.x and older 2.5.1 41 open advisories, worst critical  · last release Jul 2023, no longer updated [To 3.3.0](https://inlinr.com/packages/knex/upgrade/2.5.1-3.3.0)

## Latest releases

[All 236 releases](https://inlinr.com/packages/knex/releases)

1. 3.x · latest line
2. ### [3.3.0](https://inlinr.com/packages/knex/releases/3.3.0 "Open this release") [](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md "Read this release where it was published")  
26 Jun 2026

  - Add support for returning in mariadb [#4572](https://github.com/knex/knex/pull/4572 "https://github.com/knex/knex/pull/4572")
  - Mariadb driver support [#6415](https://github.com/knex/knex/pull/6415 "https://github.com/knex/knex/pull/6415")
  - Fixes \_setNullableState not respecting schema [#6025](https://github.com/knex/knex/pull/6025 "https://github.com/knex/knex/pull/6025")
3. ### [3.2.10](https://inlinr.com/packages/knex/releases/3.2.10 "Open this release") [](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md "Read this release where it was published")  
2 May 2026

  - Properly Escape Aliases in Analytic Functions [#6392](https://github.com/knex/knex/pull/6392 "https://github.com/knex/knex/pull/6392")
4. ### [3.2.9](https://inlinr.com/packages/knex/releases/3.2.9 "Open this release") [](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md "Read this release where it was published")  
3 Apr 2026

  - Security

**postgres:** Escape double quotes in searchPath to prevent SQL injection [#6411](https://github.com/knex/knex/issues/6411 "https://github.com/knex/knex/issues/6411")
  - Support DELETE... LIMIT in dialects that support it (mysql), but continue to disallow ones that don't [#6429](https://github.com/knex/knex/issues/6429 "https://github.com/knex/knex/issues/6429")
  - **sqlite:** Append RETURNING statement when insert empty row [#5471](https://github.com/knex/knex/issues/5471 "https://github.com/knex/knex/issues/5471")

Dependency tracking

## Know when your own dependencies move

knex published 12 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/knex/security)

- [SQL Injection in knex](https://inlinr.com/advisories/GHSA-58v4-qwx5-7f59) Critical · fixed in 0.19.5
- [Knex.js has a limited SQL injection vulnerability](https://inlinr.com/advisories/GHSA-4jv9-3563-23j3) High · fixed in 2.4.0

## Health of 3.3.0

[Details](https://inlinr.com/packages/knex/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 5
- **Scorecard**: 5.7 / 10
- **Size**: 941 kB

## Weekly downloads

## Works with

- [pg-query-stream optional](https://inlinr.com/packages/pg-query-stream)

Reading releases, release notes and advisories…

Registry facts last checked 18 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
