Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108361 Overview
CVE-2026-108361 affects Privasys Remote Attestation TLS Clients (ra-tls-clients), a multi-language library suite for verifying attested TLS connections. The flaw stems from attestation occurring only once at connection establishment. After the initial Evidence appraisal succeeds, a local attacker can modify workload code, data, or configuration on the Attester endpoint. The verifying peer continues to trust the stale initial state for the lifetime of the connection. The issue is tracked as a time-of-check to time-of-use condition [CWE-367] and is fixed in version 0.9.1.
Critical Impact
An attacker with local access to the Attester endpoint can tamper with workload state after a trusted TLS session is established, breaking the confidentiality and integrity guarantees of remote attestation.
Affected Products
- Privasys ra-tls-clients Go SDK before 0.9.1
- Privasys ra-tls-clients Rust, Python, TypeScript, and .NET SDKs before 0.9.1
- Workloads relying on ra-tls-clients for one-shot TLS attestation
Discovery Timeline
- 2026-10-12 - CVE-2026-108361 published to the National Vulnerability Database
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-108361
Vulnerability Analysis
Remote attestation binds a cryptographic Evidence blob to a workload's measured state at a point in time. Privasys ra-tls-clients performed this appraisal exactly once, during TLS handshake establishment. The verifier then treated the attested state as authoritative for the full duration of the connection.
This creates a time-of-check to time-of-use window. An attacker with local access to the Attester can alter workload code, data, or runtime configuration after the handshake completes. The peer continues to send and receive data as if the original measurements still held, even when they are stale.
The weakness maps to [CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition]. It is a design-level issue in the attestation lifecycle, not an implementation bug in the TLS stack itself.
Root Cause
The root cause is the absence of re-attestation and the lack of a trust-selection mechanism that pins the server chain to fleet anchors. The pre-patch design assumed workload state was immutable between handshake and connection teardown. On platforms where a local actor can modify the Attester, that assumption fails.
Attack Vector
Exploitation requires local access and low privileges on the Attester endpoint, with no user interaction. After a legitimate attested TLS connection is established, the attacker modifies workload binaries, in-memory data, or configuration. The verifier continues to transact with the compromised workload under the belief that the initial Evidence remains valid.
// Patch excerpt: go/ratls/client.go - trust selection added to Options
// Attestation selects what to ask the server for after the handshake.
// The zero value is AttestationChallenge.
Attestation AttestationMode
// Trust selects which anchors the server chain must reach; see
// TrustSelection. The zero value is TrustAuto.
Trust TrustSelection
// Context optionally fixes the 32-byte challenge context (challenge mode).
// Verifiers that relay a browser-chosen challenge set it so the evidence
// commits to that value; nil draws a fresh random context per attestation.
Source: GitHub Commit 0760748
// Patch excerpt: go/ratls/trust.go - new TrustSelection type pins fleet anchors
package ratls
import (
"crypto/x509"
"fmt"
)
// TrustSelection chooses which anchors the server chain must reach.
// An attested connection (deterministic or challenge mode) must chain to the
// Privasys fleet anchors, or to the certificates in Options.CACertPath: the
// evidence proves the key, the chain proves the key was minted for a member of
// the fleet, and a valid public-PKI certificate for the same name must not be
// able to stand in.
type TrustSelection int
const (
// TrustAuto (the zero value): fleet anchors for attested modes.
TrustAuto TrustSelection = iota
// TrustFleet forces the fleet anchors (or CACertPath) in every mode.
TrustFleet
// TrustPublic forces the system roots with hostname verification. It is
// refused together with an attested mode.
TrustPublic
)
Source: GitHub Commit 0760748
Detection Methods for CVE-2026-108361
Indicators of Compromise
- Modifications to workload binaries, libraries, or configuration files on an Attester endpoint while an attested TLS connection is active.
- Unexpected process creation, memory writes, or ptrace activity targeting the attested workload after handshake completion.
- Deployed ra-tls-clients versions prior to 0.9.1 across Go, Rust, Python, TypeScript, or .NET SDKs.
Detection Strategies
- Inventory all services and SDKs that import Privasys/ra-tls-clients and compare versions against 0.9.1.
- Audit TLS session logs for long-lived connections where re-attestation is not enforced, correlating with host-level file or memory integrity events.
- Monitor for local privilege use on Attester hosts that coincides with active attested sessions.
Monitoring Recommendations
- Enable file integrity monitoring on workload directories, container image layers, and configuration paths on Attester endpoints.
- Alert on local process modifications to attested workloads, including code injection, LD_PRELOAD tampering, or runtime configuration rewrites.
- Track SDK version telemetry in CI/CD pipelines to block builds that pin ra-tls-clients below 0.9.1.
How to Mitigate CVE-2026-108361
Immediate Actions Required
- Upgrade all Privasys/ra-tls-clients dependencies to version 0.9.1 or later across every language SDK in use.
- Review the GitHub Security Advisory GHSA-gg8q-mfhh-wrrc and apply the recommended trust-selection configuration.
- Restrict local access to Attester endpoints and reduce the privilege of any process co-resident with attested workloads.
Patch Information
The fix is delivered in ra-tls-clients0.9.1. Key patches include commit 0760748 introducing TrustSelection for the Go client, commit 5ccfd77 adding exporter transports so Python and .NET SDKs support challenge mode and re-attestation, and commit b9114d7 propagating trust selection across TypeScript, Python, and .NET.
Workarounds
- Shorten TLS session lifetimes and force frequent reconnection to reduce the TOCTOU window until patching is complete.
- Enforce strict local access controls, mandatory access control policies, and read-only filesystems on Attester hosts.
- Where supported, deploy the optional pyOpenSSL or Bouncy Castle transports after upgrading to enable challenge-mode re-attestation.
# Upgrade examples per SDK
# Go
go get github.com/Privasys/ra-tls-clients/go/ratls@v0.9.1
# Rust (Cargo.toml)
# ra-tls-client = "0.9.1"
# Python (with optional challenge-mode transport)
pip install "privasys-ra-tls-client>=0.9.1" pyOpenSSL
# .NET
dotnet add package Privasys.RaTls --version 0.9.1
dotnet add package Privasys.RaTls.BouncyCastle --version 0.9.1
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

