diff --git a/Cargo.lock b/Cargo.lock
index e394071..c316201 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2395,9 +2395,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
 
 [[package]]
 name = "tokio"
-version = "1.39.3"
+version = "1.40.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5"
+checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
 dependencies = [
  "backtrace",
  "bytes",
diff --git a/cpp-linter-lib/Cargo.toml b/cpp-linter-lib/Cargo.toml
index 863d786..7676d94 100644
--- a/cpp-linter-lib/Cargo.toml
+++ b/cpp-linter-lib/Cargo.toml
@@ -23,7 +23,7 @@ semver = "1.0.23"
 serde = { version = "1.0.209", features = ["derive"] }
 serde-xml-rs = "0.6.0"
 serde_json = "1.0.127"
-tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread"]}
+tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread"]}
 tokio-macros = "2.4.0"
 tokio-stream = "0.1.15"
 which = "6.0.3"
diff --git a/cpp-linter-py/Cargo.toml b/cpp-linter-py/Cargo.toml
index 1e62f3e..6dbc5ae 100644
--- a/cpp-linter-py/Cargo.toml
+++ b/cpp-linter-py/Cargo.toml
@@ -14,7 +14,7 @@ crate-type = ["cdylib"]
 [dependencies]
 pyo3 = { version = "0.22.2", features = ["extension-module"] }
 cpp-linter-lib = { path = "../cpp-linter-lib", version = "*" }
-tokio = "1.39.3"
+tokio = "1.40.0"
 
 [features]
 openssl-vendored = ["cpp-linter-lib/openssl-vendored"]