Jul 31, 2026·8 min read·33 visits
Prior to version 1.2.1, sigstore-go failed to validate signature timestamps against the validity window of self-managed long-lived public keys wrapped in an ExpiringKey configuration. This allowed an attacker with expired or rotated key material to generate accepted signed bundles, effectively bypassing key rotation policies and breaking cryptographic trust guarantees.
A security vulnerability in sigstore-go prior to version 1.2.1 allowed the use of expired or retired self-managed long-lived public keys wrapped in an ExpiringKey configuration to successfully sign code or artifacts. Because the verification pipeline verified the cryptographic signatures and RFC 3161 timestamps but failed to perform a temporal boundary check on the public key's validity window, verifiers running affected versions would mistakenly accept signatures produced outside of the key's designated operational lifetime.
The Go implementation of the Sigstore signature verification engine, sigstore-go, provides high-performance cryptographic validation for software supply chain artifacts. Software deployment pipelines rely heavily on this library to verify signatures on container images, binary releases, and software bill-of-materials (SBOM) metadata. Within this ecosystem, verification is partitioned into two major execution paths: certificate-signed bundles, which utilize short-lived ephemeral certificates from Fulcio, and key-signed bundles, which rely on long-lived, self-managed public keys. To manage the lifecycle and eventual retirement of long-lived public keys, Sigstore defines an ExpiringKey structure that assigns precise temporal validity boundaries to each cryptographic key.
Prior to the release of version 1.2.1, a significant vulnerability existed in the key-signed bundle verification path. The library failed to reconcile verified RFC 3161 cryptographic timestamps against the defined validity boundaries of the public key wrapper. Although the system verified that the cryptographic signature itself was valid and that the timestamp was authentic, it omitted the logical assertion confirming that the signing event occurred during the key's active operational window. This omission established a critical security bypass, enabling expired, revoked, or historically retired key material to be used to sign novel software artifacts successfully.
From an adversarial perspective, this design flaw alters the threat model of long-lived cryptographic keys. If a private key is rotated due to policy requirements or compromised after its operational window closes, an attacker can continue to use that key to sign malicious binaries. Because vulnerable versions of sigstore-go skip the temporal check, the resulting signed bundles will be trusted without warning. This vulnerability directly maps to CWE-324: Use of a Key Past its Expiration Date, presenting a low-severity but highly targeted security risk to automated verification pipelines.
To understand the technical root cause of CVE-2026-54787, one must examine the state management of long-lived public keys within Sigstore's client Root of Trust. When verifying a signature without an accompanying Fulcio certificate, the verifier relies on configuration metadata loaded into the TrustedMaterialCollection. This collection contains instances of ExpiringKey, which wrap the public keys and specify two essential time coordinates: ValidAt (the inception of the key's authorization) and ValidUntil (the expiration of the key's authorization). These fields are designed to restrict the temporal window during which signatures created by the corresponding private key are deemed authoritative.
During verification, the library executes a multi-stage validation loop located within pkg/verify/signed_entity.go. When processing a key-signed bundle, the code resolves the raw signature blocks and validates their mathematical correctness against the public key. It then extracts the attached RFC 3161 timestamps, ensuring that they were issued by a trusted Timestamp Authority. However, prior to version 1.2.1, the engine lacked any logical link between these two verification outcomes. The cryptographic authenticity of the timestamp was checked, and the mathematical validity of the signature was checked, but the temporal boundaries of the public key itself were completely ignored.
Because of this logical separation, the engine would accept a bundle where the signing event took place years after the public key's ValidUntil threshold had passed. The system lacked an assertion block within the non-certificate verification branch to compare the validated timestamp against the key's active window. This technical oversight effectively decoupled key expiration from signature validation, making it impossible for system administrators to securely decommission long-lived keys without completely removing them from the root-of-trust configuration.
The remediation implemented in Pull Request #642 addresses the logic gap by introducing an explicit boundary check within the verification pipeline. In the affected versions of pkg/verify/signed_entity.go, the verification function transitioned straight from handling certificate-specific timestamp assertions to concluding verification, without applying equivalent temporal constraints to raw public keys. The fix introduces a conditional block targeting verificationContent.PublicKey() and ensures that the key's validity window is checked for every verified timestamp.
Below is the patch implemented in commit 4594ab4c779d08be1f4419803a8249188f35ed5f to remediate the vulnerability:
// pkg/verify/signed_entity.go
@@ -681,6 +681,13 @@ func (v *Verifier) Verify(entity SignedEntity, pb PolicyBuilder) (*VerificationR
return nil, fmt.Errorf("failed to verify signed certificate timestamp: %w", err)
}
}
+ } else if verificationContent.PublicKey() != nil {
+ // If the bundle was signed by a long-lived key, we need to check the signature time against the key's validity window.
+ for _, verifiedTs := range verifiedTimestamps {
+ if !verificationContent.ValidAtTime(verifiedTs.Timestamp, v.trustedMaterial) {
+ return nil, errors.New("signature time outside of public key validity window")
+ }
+ }
}This implementation closes the vulnerability loop by forcing the engine to loop through the verifiedTimestamps slice and verify each timestamp against the ValidAtTime function. The ValidAtTime method queries the root-of-trust configuration, retrieving the boundary metadata associated with the public key's ExpiringKey wrapper. If any verified timestamp falls outside the authorized window, the system halts execution and returns a descriptive error, immediately invalidating the bundle.
An attacker seeking to exploit this vulnerability must first obtain access to a retired or compromised long-lived private key. This key must have been previously trusted, with its lifetime configured in the verifier's root-of-trust metadata as an ExpiringKey block. Since the attacker's objective is to sign novel, unauthorized artifacts using an expired cryptographic identity, the target must have a configured sigstore-go verifier with older package dependencies.
Once the retired private key is in the attacker's possession, they sign the unauthorized payload (e.g., a modified software package or container image) and compile it into a Sigstore bundle structure. Next, the attacker acquires an RFC 3161 timestamp signature from a trusted Timestamp Authority (TSA). Because the target verification environment uses a vulnerable version of sigstore-go, the verifier checks the validity of the timestamp signature itself and verifies the mathematical correctness of the signature block, but skips checking if the timestamp falls outside the key's active window.
When the bundle is distributed to systems utilizing vulnerable versions of sigstore-go, the verification function completes successfully without throwing an error (err == nil). The runtime environment executes the malicious package, trusting it as if it were signed by an active, valid key. This process successfully circumvents the security boundaries established by key rotation policies.
By bypassing key-lifetime validations, CVE-2026-54787 invalidates the operational benefits of key rotation. When cryptographic keys are retired or rotated out due to routine schedules or suspected compromise, they are meant to be treated as untrusted for any future signature actions. This bug allows an attacker to construct valid bundles utilizing compromised key material indefinitely, provided they can secure a valid timestamp from a trusted TSA. The integrity of the software distribution pipeline is compromised because the system fails to differentiate between historical signatures generated when the key was active and newly forged signatures.
This vulnerability is characterized by a low CVSS base score of 3.1. The low score reflects the highly specific conditions required to exploit the flaw. An attacker must possess an authentic long-lived signing key that was historically trusted, and the target configuration must map this key inside an ExpiringKey block. Because the attack vector relies on specialized target configurations and the possession of rotated/compromised signing keys, it is difficult to execute as a general automated exploit.
Despite the low score, the impact within targeted environments can be severe. Organizations that use self-managed keys for critical internal software distribution will find their key revocation and rotation mechanisms ineffective against an insider threat or an adversary that has harvested retired keys from backup storage or developer workstations.
The definitive remediation for CVE-2026-54787 is upgrading the sigstore-go dependency to version 1.2.1 or later. This can be accomplished within your Go workspace by running go get github.com/sigstore/sigstore-go@v1.2.1 followed by go mod tidy to update the module dependencies.
Analysis of the fix commit reveals an operational nuance that could lead to a persistent security bypass. The new validation code relies entirely on iterating over the verifiedTimestamps slice. If a verifier is configured with the verify.WithNoObserverTimestamps() option, this slice will be empty at runtime. Under this specific configuration, the validation loop is skipped entirely, and the expired key will continue to be accepted as valid. This behavior is demonstrated in the official test suites, where bundles verified without observer timestamps bypass the temporal boundary check and execute without returning an error.
To prevent this bypass, security administrators must audit their verifier configuration. Ensure that policies requiring self-managed key verification do not disable observer timestamps. Developers should enforce a policy requiring at least one verified signed timestamp (using verify.WithSignedTimestamps(1) or similar parameters) to guarantee that the temporal checks added in version 1.2.1 are executed.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
sigstore-go sigstore | < 1.2.1 | 1.2.1 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-324 |
| Attack Vector | Network |
| CVSS | 3.1 (Low) |
| EPSS Score | Not Available |
| Impact | Partial Integrity Compromise |
| Exploit Status | PoC (Proof-of-Concept) inside official repository |
| KEV Status | Not Listed |
The application uses a cryptographic key or certificate after its designated validity period has ended, which can allow old signatures to remain valid or compromise trust if the expired key is subsequently compromised.
CVE-2026-114150 is a network-accessible information disclosure vulnerability affecting Microsoft ASP.NET Core in .NET 11.0 preview releases and Microsoft Visual Studio 2026 prior to version 18.12.0. The flaw stems from the use of uninitialized resources (CWE-908) within response buffering components, specifically ResponseBufferingStream used by middleware such as HTTP Logging and Output Caching. Because rented memory segments from ArrayPool<byte> or MemoryPool<byte> are not cleared upon return or strictly bounded to the exact written byte count during subsequent reads, residual response payloads from earlier HTTP requests remain in the buffer tail. Downstream consumers or log sinks reading these buffers expose confidential cross-session data, including authentication tokens and personally identifiable information.
An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.
CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.
CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.
CVE-2026-114156 is an improper resolution of path equivalence vulnerability (CWE-41) in Microsoft ASP.NET Core affecting .NET 11.0 preview releases and Microsoft Visual Studio 2026. The vulnerability stems from a discrepancy between how path prefix validation helpers (such as PathString.StartsWithSegments) and downstream routing mechanisms handle alternate path separators and percent-encoded characters. An unauthenticated remote attacker can exploit this mismatch over the network to bypass path-based authorization middleware and access restricted endpoints.
CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.