Skip to content

fix(security): cloudflared 2026.10.4 replaces 2026.9.3, which trusts eight compromised eMudhra certificates - #2324

Merged
dan-petty merged 3 commits into
mainfrom
fix/2322-cloudflared-ignores-emudhra-intermediates
Oct 26, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/2322-cloudflared-ignores-emudhra-intermediates

Conversation

@dan-petty

@dan-petty dan-petty commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

cloudflared before 2026.10.2 trusts eight eMudhra intermediate certificates with weak private keys. The tunnel Deployment runs with --no-autoupdate, so only a new tag removes the trust.

This change sets Deployment cloudflared and the cloudflared entry of tools.lock to 2026.10.4. Each sha256 is the digest of its release asset, checked against the release notes. Two invariant tests fail when the image tag or the locked version goes below 2026.10.2, and when a platform URL names another release than the locked version.

The Deployment has two replicas and the default rolling update, so the tunnel stays connected during the rollout.

Closes #2322

Change: openspec/changes/archive/2026-10-26-2322-cloudflared-ignores-emudhra-intermediates/

…ra intermediates (#2322)

Two invariant tests fail on cloudflared 2026.9.3: one for the image tag of
Deployment cloudflared, one for the version and the URLs of tools.lock.
…ent and in tools.lock (#2322)

cloudflared before 2026.10.2 trusts eight eMudhra intermediate certificates
with weak private keys. The Deployment runs with --no-autoupdate, so only a
new tag removes the trust. Each sha256 of tools.lock is the digest of its
release asset, checked against the release notes.
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence

Fail-to-pass. uv run devops ci fail-to-pass --base origin/main replays the tests of this branch against the merge-base tree. Both new tests fail there, and the three older tests of the file pass:

failed on base: test_cloudflared_deployment_runs_a_release_that_rejects_the_compromised_emudhra_intermediates (assert Version('2026.9.3') >= Version('2026.10.2'))
failed on base: test_cloudflared_tools_lock_installs_a_release_that_rejects_the_compromised_emudhra_intermediates (assert Version('2026.9.3') >= Version('2026.10.2'))
2 failed on base (2 failed and 3 passed in tests/test_k8s_cloudflared.py; 0 errored).

Pins. I downloaded the four 2026.10.4 builds into an empty directory. Each archive and binary hash equals the digest of its release asset and the value in the release notes. For a macOS build, the release notes give the hash of the binary inside the archive, and unpacking it gives that value. devops install-tools --tool cloudflared installed the new lock entry on the devcontainer, and cloudflared --version prints 2026.10.4.

Tunnel origins. devops cloudflare tunnel routes shows one tcp:// route to the kube API and http:// routes to Traefik. The tunnel has no HTTPS origin, so the origin-certificate warning of Cloudflare's notice does not apply.

Not changed. tests/fixtures/metrics/cloudflared.yaml is a recording of the metric families of a 2026.9.3 pod. The diff 2026.10.1...2026.10.4 changes no metric family, so I left the recording as it is.

Steps for a person

@dan-petty
dan-petty marked this pull request as ready for review October 26, 2026 19:19
@dan-petty
dan-petty merged commit e6750be into main Oct 26, 2026
18 of 19 checks passed
@dan-petty
dan-petty deleted the fix/2322-cloudflared-ignores-emudhra-intermediates branch October 26, 2026 19:19
dan-petty pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.5](v0.6.4...v0.6.5)
(2026-10-26)


### Bug Fixes

* **ai:** analyze pr previews under --dry-run and contacts no service
([#2327](#2327))
([c402b6d](c402b6d))
* **dashboard:** reject unknown tab option values and remove refresh_all
([#2310](#2310))
([27f8c60](27f8c60)),
closes [#1904](#1904)
* **deps:** renovate updates the image tags in k8s/ manifests
([#2325](#2325))
([b0ebce0](b0ebce0))
* **devcontainer:** isolate image build metadata from workspace settings
([#2309](#2309))
([7672c71](7672c71))
* **output:** remove duplicated check marks from success messages
([#2313](#2313))
([db7c3c4](db7c3c4))
* **review:** record coverage gaps on base read failures and accept
empty diffs
([#2326](#2326))
([a307ac0](a307ac0))
* **roadmap:** the roadmap runs on a rebuilt board, because GitHub
refuses to add 149 issues to board 2
([#2320](#2320))
([48c78ca](48c78ca))
* **security:** cloudflared 2026.10.4 replaces 2026.9.3, which trusts
eight compromised eMudhra certificates
([#2324](#2324))
([e6750be](e6750be))
* **security:** prevent directory traversal in response cache and
isolate storage
([#2321](#2321))
([1967695](1967695))
* **telemetry:** send project gauges through OTLP only
([#2288](#2288))
([#2315](#2315))
([aeaa52e](aeaa52e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): cloudflared 2026.10.4 replaces 2026.9.3, which trusts eight compromised eMudhra certificates

1 participant