diff --git a/homeassistant/components/python_script/manifest.json b/homeassistant/components/python_script/manifest.json
index 594012dabb183e1ed85c1c09c3267fd935398af7..4348fdd99118d68ce57c684181b985fde9f068ab 100644
--- a/homeassistant/components/python_script/manifest.json
+++ b/homeassistant/components/python_script/manifest.json
@@ -5,5 +5,5 @@
   "documentation": "https://www.home-assistant.io/integrations/python_script",
   "loggers": ["RestrictedPython"],
   "quality_scale": "internal",
-  "requirements": ["RestrictedPython==7.3"]
+  "requirements": ["RestrictedPython==7.4"]
 }
diff --git a/requirements_all.txt b/requirements_all.txt
index d69e33c65d7e81c9a7133676e8afb71937dadc66..4db9711f40a7f04cb7766c7bd0847724a61bcae3 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -109,7 +109,7 @@ PyXiaomiGateway==0.14.3
 RachioPy==1.1.0
 
 # homeassistant.components.python_script
-RestrictedPython==7.3
+RestrictedPython==7.4
 
 # homeassistant.components.remember_the_milk
 RtmAPI==0.7.2
diff --git a/requirements_test_all.txt b/requirements_test_all.txt
index 7d0365ffe9207b58f637f4fe69dd48a76af45be5..a392defb1848e058e54acce39714b272a3bfe413 100644
--- a/requirements_test_all.txt
+++ b/requirements_test_all.txt
@@ -103,7 +103,7 @@ PyXiaomiGateway==0.14.3
 RachioPy==1.1.0
 
 # homeassistant.components.python_script
-RestrictedPython==7.3
+RestrictedPython==7.4
 
 # homeassistant.components.remember_the_milk
 RtmAPI==0.7.2