# etcd v3.4.40

2025-12-17 · [Original release notes](https://github.com/etcd-io/etcd/releases/tag/v3.4.40) · [Full summary](https://ratatosk.io/en/releases/etcd/v3.4.40)

Security 2 · Important fixes 2 · Dependency updates 1 · Other changes 1

## Check before upgrading

### Upgrade guide

- **Upgrade guide for potential breaking changes**
  > Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md) for a full list of changes. And make sure to read [upgrade guide](https://etcd.io/docs/v3.4/upgrades/upgrade_3_4/) before upgrading etcd (there may be breaking changes).

## Security (2)

### etcd authentication logs replace tokens with fingerprints

- Affects: etcd server authentication (Inferred)

Affected log messages previously included the original token, including messages for invalid or assigned JWTs, authentication, invalid auth tokens, and already-used or deleted simple tokens. They now log the token’s first 12 SHA-256 hexadecimal characters, except simple-token deletion messages, which omit it; authentication responses still return the token.

> - [Print token fingerprint instead of the original tokens in log messages](https://github.com/etcd-io/etcd/pull/20943)

https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

### SSH server and agent flaws fixed in `golang.org/x/crypto`

- Affects: SSH Agent servers processing new identity requests and SSH servers parsing GSSAPI authentication requests
- [CVE-2025-47914](https://www.cve.org/CVERecord?id=CVE-2025-47914), [CVE-2025-58181](https://www.cve.org/CVERecord?id=CVE-2025-58181)

Malformed new identity requests could cause SSH Agent servers to panic, while GSSAPI authentication requests could cause SSH servers to consume unbounded memory. The release updates `golang.org/x/crypto` to v0.45.0 to address both issues; the note does not say whether etcd itself uses either SSH function.

> - Bump [golang.org/x/crypto to 0.45.0 to address CVE-2025-47914, and CVE-2025-58181](https://github.com/etcd-io/etcd/pull/21022).

https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

## Important fixes (2)

### Pseudo-version reports avoided in `Scripts/build-binary.sh` builds

- Affects: builds made using `Scripts/build-binary.sh`

Before this change, `go version` could report a pseudo-version when building through the script without `buildvcs=false`.

> - [Scripts/build-binary.sh: use `buildvcs=false` to avoid having a pseudo-version reported by `go version`](https://github.com/etcd-io/etcd/pull/20950)

https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

### Incorrect binary version reporting fixed in release script

- Affects: builds performed using `scripts/release.sh`

When `scripts/release.sh` called `./build` directly, the version reported in the binary could be wrong. Its build invocation now sets `GO_BUILD_FLAGS="-v -buildvcs=false"` to address that.

> - [Use buildvcs=false in release script](https://github.com/etcd-io/etcd/pull/21028)

https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

## Dependency updates (1)

1 more, none mentioning security

- `- Compile binaries using [go 1.24.11](https://github.com/etcd-io/etcd/pull/21000).`

## Other changes (1)

- Container registry and Docker usage details

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
