Skip to content
← QuantumScan
Blog
High riskScanned 2026-05-29

HashiCorp Vault — Post-Quantum Cryptography Analysis

hashicorp/vault|Go|2140 files scanned|68 vulnerable

HashiCorp Vault uses AES-GCM-256 for data encryption at rest (quantum-safe) but relies on RSA and ECDSA for transit secrets and PKI operations. The Transit secrets engine defaults to RSA-2048 and ECDSA-P256 for key generation — both quantum-vulnerable. The auto-unseal mechanism using cloud KMS (AWS KMS, GCP Cloud KMS) inherits the quantum posture of those services.

73
/ 100 risk score
High risk
Critical findings1
High findings2
Medium findings1
Low findings0

Findings

criticalRSA-2048 (transit engine default)
builtin/logical/transit/path_keys.go

Default key type for RSA operations. Breaking RSA-2048 requires ~4000 logical qubits — within 10-15 year horizon.

PQC →ML-KEM-768 for key encapsulation; ML-DSA-44 for signing.
highECDSA P-256 / P-384
builtin/logical/pki/ca_util.go

PKI secrets engine creates ECDSA certificates by default. Quantum-vulnerable for all digital signature operations.

PQC →ML-DSA-65 (FIPS 204) for CA certificates once PKIX supports PQC.
highRSA-4096 (PKI)
builtin/logical/pki/path_roles.go

Larger key provides more classical security but still broken by quantum Shor's in hours.

PQC →Transition to ML-DSA-87 for maximum security PKI.
mediumECDH (Shamir shares transport)
vault/seal.go

Key shares transported using ECDH. Quantum attacker with recorded shares can reconstruct unsealed key.

PQC →ML-KEM-1024 for key transport.

Compliance note

Vault stores the most sensitive secrets in your infrastructure. The 73/100 score reflects that data at rest is protected by AES-256, but PKI certificates and transit keys are quantum-vulnerable. Certificates issued today with 5+ year validity are at risk.

Is your codebase using any of these algorithms?

QuantumScan checks your repo in ~90 seconds. Free. No account needed. Supports GitHub, GitLab, Bitbucket, and ZIP uploads.

Run a free scan →

More analyses

GnuPG 86/100Bitwarden 58/100Bitcoin Core 89/100python-ecdsa 95/100GnuTLS 78/100