diff --git a/package.json b/package.json
index d64fa0c47b16d1a8dc786a52608770a11fa986bd..35e15157a66b81cf88e290ec296da3d79c95464f 100644
--- a/package.json
+++ b/package.json
@@ -248,7 +248,7 @@
     "zod": "3.23.4"
   },
   "optionalDependencies": {
-    "better-sqlite3": "9.5.0",
+    "better-sqlite3": "9.6.0",
     "openpgp": "5.11.1",
     "re2": "1.20.10"
   },
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 37aa9f612b99d921095a1fb800e46cff76299f5c..f63693d96e202c2f9b7a8dd6ad5273bb548dd161 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -322,8 +322,8 @@ importers:
         version: 3.23.4
     optionalDependencies:
       better-sqlite3:
-        specifier: 9.5.0
-        version: 9.5.0
+        specifier: 9.6.0
+        version: 9.6.0
       openpgp:
         specifier: 5.11.1
         version: 5.11.1
@@ -2396,8 +2396,8 @@ packages:
   before-after-hook@2.2.3:
     resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==}
 
-  better-sqlite3@9.5.0:
-    resolution: {integrity: sha512-01qVcM4gPNwE+PX7ARNiHINwzVuD6nx0gdldaAAcu+MrzyIAukQ31ZDKEpzRO/CNA9sHpxoTZ8rdjoyAin4dyg==}
+  better-sqlite3@9.6.0:
+    resolution: {integrity: sha512-yR5HATnqeYNVnkaUTf4bOP2dJSnyhP4puJN/QPRyx4YkBEEUxib422n2XzPqDEHjQQqazoYoADdAm5vE15+dAQ==}
 
   bignumber.js@9.1.2:
     resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==}
@@ -8766,7 +8766,7 @@ snapshots:
 
   before-after-hook@2.2.3: {}
 
-  better-sqlite3@9.5.0:
+  better-sqlite3@9.6.0:
     dependencies:
       bindings: 1.5.0
       prebuild-install: 7.1.2