Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): bump certifi and rustls crates (#120758)

Georges-Antoine Assi005ce84655a1
diff --git a/cli/Cargo.lock b/cli/Cargo.lock
index 99010d27cfa7..347fac362150 100644
--- a/cli/Cargo.lock
+++ b/cli/Cargo.lock
@@ -138,9 +138,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
name = "aws-lc-rs"
-version = "1.17.1"
+version = "1.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4342d8937fc7e5dd9b1c60292261c0670c882a2cd1719cfc11b1af41731e32ad"
+checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13"
dependencies = [
"aws-lc-sys",
"zeroize",
@@ -148,9 +148,9 @@ dependencies = [
[[package]]
name = "aws-lc-sys"
-version = "0.42.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d9ceb1da931507a12f4fccea479dccd00da1943e1b4ae72d8e502d707361444"
+checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc"
dependencies = [
"cc",
"cmake",
@@ -2650,9 +2650,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
[[package]]
name = "rustls-webpki"
-version = "0.103.8"
+version = "0.103.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
+checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
dependencies = [
"aws-lc-rs",
"ring",
@@ -3787,18 +3787,18 @@ dependencies = [
[[package]]
name = "webpki-root-certs"
-version = "1.0.8"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267"
+checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "webpki-roots"
-version = "1.0.4"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e"
+checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9"
dependencies = [
"rustls-pki-types",
]
diff --git a/pyproject.toml b/pyproject.toml
index aa20619906e1..fef1b009f576 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,7 +20,7 @@ dependencies = [
"brotli==1.2.0",
"celery==5.6.3",
"celery-redbeat==2.3.3",
- "certifi==2026.1.4",
+ "certifi==2026.10.19",
"clickhouse-connect==0.10.0",
"clickhouse-driver==0.2.10",
"clickhouse-pool==0.5.3",
@@ -322,7 +322,7 @@ proto-codegen = [
required-version = ">=0.10.2"
add-bounds = "major"
exclude-newer = "7 days"
-exclude-newer-package = { hogql-parser = false, hogql-parser-rs = false, deltalite = false, posthoganalytics = false, pixelhog = false, django = false, modal = false, posthog-hogland = false, google-ads = false }
+exclude-newer-package = { certifi = false, hogql-parser = false, hogql-parser-rs = false, deltalite = false, posthoganalytics = false, pixelhog = false, django = false, modal = false, posthog-hogland = false, google-ads = false }
# posthoganalytics 8 removes legacy capture. The SDK release bot rewrites the
# dependency spec on every release, so this constraint is what stops a new major from
# landing by accident. Lift it in the migration PR that moves the call sites.
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 27bb72c4fd20..b6553a8d3121 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "aws-lc-rs"
-version = "1.16.0"
+version = "1.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9"
+checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13"
dependencies = [
"aws-lc-sys",
"zeroize",
@@ -866,14 +866,15 @@ dependencies = [
[[package]]
name = "aws-lc-sys"
-version = "0.37.1"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b092fe214090261288111db7a2b2c2118e5a7f30dc2569f1732c4069a6840549"
+checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc"
dependencies = [
"cc",
"cmake",
"dunce",
"fs_extra",
+ "pkg-config",
]
[[package]]
@@ -1530,7 +1531,7 @@ dependencies = [
[[package]]
name = "axum-test-helper"
version = "0.4.0"
-source = "git+https://github.com/posthog/axum-test-helper.git#002d45d8bbbac04e6a474e9a850b7f023a87d32f"
+source = "git+https://github.com/posthog/axum-test-helper.git?rev=c09ada6f543a8cc06263548103c91a28a010944a#c09ada6f543a8cc06263548103c91a28a010944a"
dependencies = [
"axum 0.7.9",
"bytes",
@@ -5971,7 +5972,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.4",
"tower-service",
- "webpki-roots 1.0.6",
+ "webpki-roots",
]
[[package]]
@@ -7020,7 +7021,7 @@ dependencies = [
"kube-core",
"pem 3.0.6",
"rustls 0.23.37",
- "rustls-pemfile 2.2.0",
+ "rustls-pemfile",
"secrecy",
"serde",
"serde_json",
@@ -10699,7 +10700,7 @@ dependencies = [
"tokio-rustls 0.26.4",
"tokio-util",
"url",
- "webpki-roots 1.0.6",
+ "webpki-roots",
]
[[package]]
@@ -10865,7 +10866,6 @@ dependencies = [
"http 0.2.12",
"http-body 0.4.6",
"hyper 0.14.32",
- "hyper-rustls 0.24.2",
"ipnet",
"js-sys",
"log",
@@ -10874,15 +10874,12 @@ dependencies = [
"once_cell",
"percent-encoding",
"pin-project-lite",
- "rustls 0.21.12",
- "rustls-pemfile 1.0.4",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper 0.1.2",
"system-configuration 0.5.1",
"tokio",
- "tokio-rustls 0.24.1",
"tokio-util",
"tower-service",
"url",
@@ -10890,7 +10887,6 @@ dependencies = [
"wasm-bindgen-futures",
"wasm-streams",
"web-sys",
- "webpki-roots 0.25.4",
"winreg",
]
@@ -10940,7 +10936,7 @@ dependencies = [
"wasm-bindgen-futures",
"wasm-streams",
"web-sys",
- "webpki-roots 1.0.6",
+ "webpki-roots",
]
[[package]]
@@ -11301,7 +11297,7 @@ dependencies = [
"once_cell",
"ring 0.17.14",
"rustls-pki-types",
- "rustls-webpki 0.103.9",
+ "rustls-webpki 0.103.16",
"subtle",
"zeroize",
]
@@ -11313,7 +11309,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
dependencies = [
"openssl-probe 0.1.6",
- "rustls-pemfile 2.2.0",
+ "rustls-pemfile",
"rustls-pki-types",
"schannel",
"security-framework 2.11.1",
@@ -11331,15 +11327,6 @@ dependencies = [
"security-framework 3.7.0",
]
-[[package]]
-name = "rustls-pemfile"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
-dependencies = [
- "base64 0.21.7",
-]
-
[[package]]
name = "rustls-pemfile"
version = "2.2.0"
@@ -11373,7 +11360,7 @@ dependencies = [
"rustls 0.23.37",
"rustls-native-certs 0.8.3",
"rustls-platform-verifier-android",
- "rustls-webpki 0.103.9",
+ "rustls-webpki 0.103.16",
"security-framework 3.7.0",
"security-framework-sys",
"webpki-root-certs",
@@ -11398,9 +11385,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.103.9"
+version = "0.103.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53"
+checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
dependencies = [
"aws-lc-rs",
"ring 0.17.14",
@@ -14693,24 +14680,18 @@ dependencies = [
[[package]]
name = "webpki-root-certs"
-version = "1.0.8"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267"
+checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "webpki-roots"
-version = "0.25.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
-
-[[package]]
-name = "webpki-roots"
-version = "1.0.6"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed"
+checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9"
dependencies = [
"rustls-pki-types",
]
diff --git a/rust/capture/Cargo.toml b/rust/capture/Cargo.toml
index 4fca901e8260..1d5185eb8d3b 100644
--- a/rust/capture/Cargo.toml
+++ b/rust/capture/Cargo.toml
@@ -76,7 +76,7 @@ brotli = "8"
zstd = "0.13"
common-continuous-profiling = { path = "../common/continuous_profiling" }
anyhow = { workspace = true }
-axum-test-helper = { git = "https://github.com/posthog/axum-test-helper.git" }
+axum-test-helper = { git = "https://github.com/posthog/axum-test-helper.git", rev = "c09ada6f543a8cc06263548103c91a28a010944a" }
futures = { workspace = true }
metrics-util = { workspace = true }
once_cell = { workspace = true }
diff --git a/services/llm-gateway/pyproject.toml b/services/llm-gateway/pyproject.toml
index 579510fae691..a1a525ca1fa5 100644
--- a/services/llm-gateway/pyproject.toml
+++ b/services/llm-gateway/pyproject.toml
@@ -112,7 +112,7 @@ warn_unused_ignores = true
[tool.uv]
managed = true
exclude-newer = "7 days"
-exclude-newer-package = { posthoganalytics = false }
+exclude-newer-package = { certifi = false, posthoganalytics = false }
# The SDK release bot resets the posthoganalytics spec to a floor on every release, so
# this constraint is what keeps a new major out until its migration PR.
constraint-dependencies = ["posthoganalytics<8"]
diff --git a/services/llm-gateway/uv.lock b/services/llm-gateway/uv.lock
index 12a5dc1c6191..fd88262af27e 100644
--- a/services/llm-gateway/uv.lock
+++ b/services/llm-gateway/uv.lock
@@ -7,6 +7,7 @@ exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for
exclude-newer-span = "P7D"
[options.exclude-newer-package]
+certifi = false
posthoganalytics = false
[manifest]
@@ -234,11 +235,11 @@ wheels = [
[[package]]
name = "certifi"
-version = "2025.11.12"
+version = "2026.10.19"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a2/8c/58f469717fa48465e4a50c014a0400602d3c437d7c0c468e17ada824da3a/certifi-2025.11.12.tar.gz", hash = "sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316", size = 160538, upload-time = "2025-11-12T02:54:51.517Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/a6/bd/1436c50cc46699de0230fbaacc1d1de7bfec413176099949e9d5112e88f2/certifi-2026.10.19.tar.gz", hash = "sha256:035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae", size = 137598, upload-time = "2026-10-20T02:24:16.604Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl", hash = "sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b", size = 159438, upload-time = "2025-11-12T02:54:49.735Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/51/29046e48f693c54e5b7412216d447a1d8362c9653148d98c02cdf65fa733/certifi-2026.10.19-py3-none-any.whl", hash = "sha256:42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b", size = 136464, upload-time = "2026-10-20T02:24:15.072Z" },
]
[[package]]
diff --git a/uv.lock b/uv.lock
index 5d42109feaca..e0a308e20378 100644
--- a/uv.lock
+++ b/uv.lock
@@ -29,6 +29,7 @@ exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for
exclude-newer-span = "P7D"
[options.exclude-newer-package]
+certifi = false
deltalite = false
django = false
google-ads = false
@@ -896,11 +897,11 @@ wheels = [
[[package]]
name = "certifi"
-version = "2026.1.4"
+version = "2026.10.19"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e0/2d/a891ca51311197f6ad14a7ef42e2399f36cf2f9bd44752b3dc4eab60fdc5/certifi-2026.1.4.tar.gz", hash = "sha256:ac726dd470482006e014ad384921ed6438c457018f4b3d204aea4281258b2120", size = 154268, upload-time = "2026-01-04T02:42:41.825Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/a6/bd/1436c50cc46699de0230fbaacc1d1de7bfec413176099949e9d5112e88f2/certifi-2026.10.19.tar.gz", hash = "sha256:035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae", size = 137598, upload-time = "2026-10-20T02:24:16.604Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/51/29046e48f693c54e5b7412216d447a1d8362c9653148d98c02cdf65fa733/certifi-2026.10.19-py3-none-any.whl", hash = "sha256:42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b", size = 136464, upload-time = "2026-10-20T02:24:15.072Z" },
]
[[package]]
@@ -6129,7 +6130,7 @@ requires-dist = [
{ name = "cachetools", specifier = "~=5.5.2" },
{ name = "celery", specifier = "==5.6.3" },
{ name = "celery-redbeat", specifier = "==2.3.3" },
- { name = "certifi", specifier = "==2026.1.4" },
+ { name = "certifi", specifier = "==2026.10.19" },
{ name = "chdb", specifier = "==4.3.0" },
{ name = "circular-dict", specifier = "==1.9" },
{ name = "click", specifier = "~=8.0" },