diff --git a/Cargo.lock b/Cargo.lock
index b6012d4e4b..1ac53ad635 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7287,12 +7287,13 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
 
 [[package]]
 name = "tempfile"
-version = "3.14.0"
+version = "3.15.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
+checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704"
 dependencies = [
  "cfg-if",
  "fastrand",
+ "getrandom",
  "once_cell",
  "rustix",
  "windows-sys 0.59.0",
diff --git a/Cargo.toml b/Cargo.toml
index 33a8f8f883..53d888b118 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -156,7 +156,7 @@ strip-ansi-escapes = "0.2.0"
 syn = "2.0"
 sysinfo = "0.32"
 tabled = { version = "0.17.0", default-features = false }
-tempfile = "3.14"
+tempfile = "3.15"
 terminal_size = "0.4"
 titlecase = "3.0"
 toml = "0.8"