JDBC Driver for SQL Server Security Feature Bypass Vulnerability (CVE-2026-70003)
The JDBC Driver for SQL Server did not properly verify a cryptographic signature during secure-enclave attestation. An attacker who controls or impersonates the SQL Server could replay a legitimate attestation response with their own key material, potentially obtaining column encryption keys and reading or altering protected data.
Originally disclosed on Microsoft
Description
Improper verification of cryptographic signature in JDBC Driver for SQL Server allows an unauthorized attacker to bypass a security feature over a network.
FAQ
How could an attacker exploit this vulnerability? An attacker who controls or can impersonate the SQL Server could replay a legitimate attestation response while substituting attacker-controlled key material during a client connection. Successful exploitation could allow the attacker to obtain column encryption keys and access or modify protected database data.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation requires Always Encrypted with secure enclaves to use HGS attestation. The attacker must also control or impersonate the SQL Server connection and have access to a legitimate attestation response that can be replayed.
FAQ
What could an attacker accomplish by exploiting this vulnerability? Successful exploitation could allow an attacker to bypass secure-enclave attestation, obtain column encryption keys, decrypt protected database data, and create modified encrypted data that the client accepts as valid.
JDBC Driver for SQL Server
JDBC Driver for SQL Server
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client did not correctly verify the cryptographic signature on the attestation response, so a replayed legitimate response with substituted key material was accepted.
Impact
Successful exploitation could let an attacker bypass secure-enclave attestation, obtain column encryption keys, decrypt protected data and create modified encrypted data the client accepts; it requires Always Encrypted with secure enclaves using HGS attestation and control of the server connection.
What the attacker needed
Always Encrypted with secure enclaves; HGS attestation in use; Attacker controls or impersonates the server; A legitimate attestation response to replay
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some databases can keep data encrypted even while it is being processed, using a protected area called a secure enclave. Before trusting that area, the client checks a signed statement (an attestation) proving it is genuine. Here the client did not check that signature properly, so someone pretending to be the database server could reuse a real statement and slip in their own keys.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.