diff --git a/poetry.lock b/poetry.lock
index 9c53bf5a..45359522 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -874,13 +874,13 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
 
 [[package]]
 name = "semver"
-version = "3.0.3"
+version = "3.0.4"
 description = "Python helper for Semantic Versioning (https://semver.org)"
 optional = false
 python-versions = ">=3.7"
 files = [
-    {file = "semver-3.0.3-py3-none-any.whl", hash = "sha256:4bf5e5a52f98cd8377cfb99088eb743722f3d47cefc8a37e503c1e5806846b17"},
-    {file = "semver-3.0.3.tar.gz", hash = "sha256:8769a03a93507fecdf19b6eefb08d5e95b462504871a61e29e09798822888c94"},
+    {file = "semver-3.0.4-py3-none-any.whl", hash = "sha256:9c824d87ba7f7ab4a1890799cec8596f15c1241cb473404ea1cb0c55e4b04746"},
+    {file = "semver-3.0.4.tar.gz", hash = "sha256:afc7d8c584a5ed0a11033af086e8af226a9c0b206f313e0301f8dd7b6b589602"},
 ]
 
 [[package]]
@@ -1008,4 +1008,4 @@ test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-it
 [metadata]
 lock-version = "2.0"
 python-versions = "~3.9"
-content-hash = "7ccf5da5f30c3769d41f5ffc5581f2e1c2a38aadf52e54b491eb60914587826b"
+content-hash = "a1418251ba5068863c4298a378aa97f9cfa7683c138969ff52333c07acaa0100"
diff --git a/pyproject.toml b/pyproject.toml
index 7b97d0a3..1304392a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ python = "~3.9"
 invoke = "^2.2.0"
 pytest = "^8.3.4"
 python-dateutil = "^2.9.0"
-semver = "^3.0.3"
+semver = "^3.0.4"
 
 # Documentation generation dependencies.
 gitpython = "^3.1.44"