diff --git a/src/compute/requirements.in b/src/compute/requirements.in
index 08bbf281a385652013adda02a97e64df7a366c43..20f877aa83e0ad304546e96ae201345f7f1fba5c 100644
--- a/src/compute/requirements.in
+++ b/src/compute/requirements.in
@@ -12,8 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-Flask==2.1.3
-Flask-HTTPAuth==4.5.0
-Flask-RESTful==0.3.9
-jsonschema==4.4.0
-requests==2.27.1
+Flask<3
+Flask-HTTPAuth==4.8.0
+Flask-RESTful==0.3.10
+jsonschema==4.21.1
+requests==2.31.0
diff --git a/src/webui/requirements.in b/src/webui/requirements.in
index b4a158d394bc2de67af1e0e99e922df08104f736..325f4ec9eea164f717ccd6ac1fffab5a3c8c7db0 100644
--- a/src/webui/requirements.in
+++ b/src/webui/requirements.in
@@ -12,8 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-Flask==2.1.3
-Flask-WTF==1.0.0
-flask-healthz==0.0.3
-flask-unittest==0.1.2
+Flask<3
+Flask-WTF<2
+flask-healthz<2
+flask-unittest==0.1.3
 lorem-text==2.1