diff --git a/Gemfile b/Gemfile
index e8e1e154e1..51f6d01c22 100644
--- a/Gemfile
+++ b/Gemfile
@@ -222,7 +222,7 @@ gem 'concurrent-ruby', require: false
 gem 'connection_pool', require: false
 gem 'xorcist', '~> 1.1'
 
-gem 'net-http', '~> 0.5.0'
+gem 'net-http', '~> 0.6.0'
 gem 'rubyzip', '~> 2.3'
 
 gem 'hcaptcha', '~> 7.1'
diff --git a/Gemfile.lock b/Gemfile.lock
index 956680b6cd..24c4d04766 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -413,7 +413,7 @@ GEM
     msgpack (1.7.5)
     multi_json (1.15.0)
     mutex_m (0.3.0)
-    net-http (0.5.0)
+    net-http (0.6.0)
       uri
     net-imap (0.5.4)
       date
@@ -948,7 +948,7 @@ DEPENDENCIES
   memory_profiler
   mime-types (~> 3.6.0)
   mutex_m
-  net-http (~> 0.5.0)
+  net-http (~> 0.6.0)
   net-ldap (~> 0.18)
   nokogiri (~> 1.15)
   oj (~> 3.14)