Pull to refresh
Logo
Sigstore closes an Ed25519 loophole that made 10-minute certificates permanent

Sigstore closes an Ed25519 loophole that made 10-minute certificates permanent

Rule Changes

A degenerate public key plus a timestamp that covered only the signature let one stolen identity token sign new artifacts forever

Overview

Updated 32 minutes ago

Sigstore hands out software-signing certificates that expire in about ten minutes. The model assumes that when the window closes, nobody can sign under that identity again. A missing check on the Ed25519 curve broke that assumption.

Sigstore's verifiers accepted the neutral element of the curve, the byte string 01 00…00, as a real public key. Under that degenerate key, one fixed 64-byte signature validates every message ever written. Pair it with a timestamp that covers only the signature and not the payload, and an expired certificate can vouch for brand-new artifacts indefinitely.

Chainguard's automated hunting tool found the chain on November 22 while testing an unrelated Rust package manager. Maintainers merged strict key validation the same day across Go, Rust and Python, and the public advisory followed. What stays open is adoption: any verifier still running the old code accepts a forged bundle.

Why it matters

One stolen CI token, used once, can sign as that identity indefinitely, and there is no private key to revoke.

Questions about this story

Free account needed to ask — your question is kept and asked for you right after sign-up. Answers are public.

No questions yet — be the first to ask.

Key Indicators

10 min
Fulcio certificate lifetime
How long a Sigstore signing certificate is designed to work before it expires.
8
Small-order points on the Ed25519 curve
The most degenerate is the neutral element, which produces a signature valid for every message.
1
Stolen OIDC tokens an attacker needed
One token, used once during a single certificate window, was enough for permanent signing.
3
Language implementations patched
Go, Rust and Python libraries shipped coordinated fixes on November 22.
$700
Cost of the overnight hunt
Roughly what Chainguard says its harness spent finding the bug by accident.

Voices

Curated perspectives — historical figures and your fellow readers.

Sign up to generate historical perspectives on this story.

People Involved

Organizations Involved

Timeline

2020 December 2026

5 events Latest: Yesterday
Tap a bar to jump to that date
  1. Advisory and write-up make the bug public

    Latest Disclosure

    GHSA-2j42-fv92-333f goes live alongside Chainguard's account of the forgery chain.

  2. Report lands and the fix merges hours later

    Fix

    Maintainers merge PR #2476 adding strict key and signature-point validation, then ship Go, Rust and Python releases.

  3. Same key-check gap reported in node-forge

    Advisory

    CVE-2026-125335 covers small-order Ed25519 key acceptance in a JavaScript cryptography library.

  4. Fulcio stops calling its key-validation routine

    Change

    A certificate-authority change, fulcio#2466, leaves the check to verifiers, per a timeline citing Chainguard.

  5. Paper catalogues Ed25519 verification gaps

    Research

    "Taming the many EdDSAs" documents how implementations disagree about small-order keys and other edge cases.

Scenarios

1

The bug stays theoretical: no forged bundle turns up

Likely Resolves by Q3 2027

Discussed by: Chainguard, which withheld its proof-of-concept scripts, and Sigstore maintainers

Chainguard deliberately kept its forged bundles and scripts out of the write-up, which limits copycats. Using the flaw required a stolen identity token and a live certificate request, so evidence of abuse would most likely appear as an unexplained signature in a transparency log or a package registry. If nothing surfaces, the story closes as a near miss caught by an automated scanner.

2

A second signing tool is found accepting small-order keys

Possible Resolves by Q2 2027

Discussed by: Chainguard, which describes the flaw as a cross-ecosystem composition bug

The write-up notes that Go's crypto/ed25519 and aws-lc verified signatures without strict checks while libsodium and ed25519-dalek's verify_strict rejected them. Other verifiers likely share the gap. The trigger is a researcher or maintainer running the same neutral-key test against another tool and publishing an advisory.

3

Sigstore's newest log gets time evidence that covers the payload

Uncertain Resolves by End of 2027

Discussed by: Chainguard, which notes that rekor-tiles carries no log time at all

The forgery worked partly because a timestamp covered only the signature bytes, and Rekor v2 records no log time, leaving that timestamp as the only time evidence. A fix would bind time to the artifact itself so a saved timestamp cannot be reused for a new payload. That is a design change, not a patch, so it will move slowly.

Historical Context

3 moments from history that rhyme with this story — and how they unfolded.

2020

Taming the many EdDSAs (2020)

A paper on the Ed25519 signature scheme catalogued the places where implementations disagree about what counts as a valid signature, including keys and signature points of small order. RFC 8032, the standard, does not require verifiers to reject them.

Then

Some libraries added strict checks. libsodium and ed25519-dalek's verify_strict reject small-order points, while others kept verifying them.

Now

The edge cases stayed documented but unevenly enforced across languages and ecosystems.

Why this matters now

The key Sigstore accepted in 2026 is the same degenerate key the paper described six years earlier.

November 2026

node-forge small-order key advisory (2026)

A widely used JavaScript cryptography library shipped a fix for accepting small-order Ed25519 keys, published as CVE-2026-125335 on November 10.

Then

Users were told to upgrade their dependencies.

Now

None yet; the advisory is weeks old.

Why this matters now

The same bug class appeared in a different ecosystem three weeks before Sigstore's disclosure, which suggests a pattern in verification code rather than one project's slip.

February 2017

SHAttered SHA-1 collision (2017)

Researchers at CWI Amsterdam and Google produced two different PDF files with the same SHA-1 hash, the first practical collision for the function.

Then

Certificate authorities and browser makers moved faster to stop accepting SHA-1.

Now

Git and other systems added collision detection while migrating away from the hash.

Why this matters now

Both break the assumption that a cryptographic value identifies exactly one document, which is what let a fixed signature stand in for any payload.

Sources

(7)