CVE-2025-59699 Overview
CVE-2025-59699 is a privilege escalation vulnerability affecting Entrust nShield Connect XC, nShield 5c, and nShield HSMi hardware security modules (HSMs) through firmware version 13.6.11 and 13.7. The flaw stems from insecure default settings in the Legacy GRUB Bootloader, which allow a physically proximate attacker to boot the device from a USB device containing a valid root filesystem. Successful exploitation grants the attacker elevated privileges on the appliance. Entrust addressed the issue in firmware 13.6.12 (LTS) and 13.9.0 (STS). The vulnerability is tracked under CWE-290: Authentication Bypass by Spoofing.
Critical Impact
An attacker with physical access to an nShield HSM can bypass firmware protections and compromise the confidentiality, integrity, and availability of cryptographic material handled by the device.
Affected Products
- Entrust nShield Connect XC (Base, Mid, High) through firmware 13.6.11 and 13.7
- Entrust nShield 5c through firmware 13.6.11 and 13.7
- Entrust nShield HSMi through firmware 13.6.11 and 13.7
Discovery Timeline
- 2025-12-02 - CVE-2025-59699 published to the National Vulnerability Database
- 2026-08-26 - Last updated in NVD database
Technical Details for CVE-2025-59699
Vulnerability Analysis
The vulnerability resides in the Legacy GRUB Bootloader configuration shipped with affected nShield firmware. The bootloader accepts external boot media without enforcing signature verification or restricting boot device order. An attacker with physical access can insert a USB device containing a valid root filesystem and boot the appliance into an attacker-controlled environment. From that environment, the attacker can access filesystems, extract sensitive material, or modify the appliance's runtime state.
Hardware security modules are designed to protect cryptographic keys under strict physical and logical boundaries. A bootloader bypass undermines that trust boundary because the appliance loads code outside of the vendor-signed firmware chain. See the Entrust nShield Security Advisory for vendor context.
Root Cause
The root cause is an insecure default configuration in the Legacy GRUB Bootloader. Secure Boot enforcement and boot device restrictions are not applied by default, permitting untrusted media to be selected as the boot source. This is a configuration and design flaw rather than a memory corruption issue, and it maps to CWE-290 because the appliance implicitly trusts the identity of the boot source.
Attack Vector
Exploitation requires physical proximity to the target HSM. The attacker connects a USB device containing a valid Linux root filesystem, reboots the appliance, and directs GRUB to load from the removable media. Once booted, the attacker gains privileged access to the underlying operating system. No network access, prior authentication, or user interaction is needed. Details are documented in the Google Security Research advisory and the GitHub Security Advisory.
Detection Methods for CVE-2025-59699
Indicators of Compromise
- Unexpected reboots or power cycles of nShield appliances recorded in device or facility logs
- USB devices connected to HSM chassis outside of documented maintenance windows
- Unexplained changes to firmware version, boot configuration, or filesystem contents on the appliance
- Physical access alarms or tamper-evident seals showing evidence of manipulation
Detection Strategies
- Correlate physical access badge data with HSM console logs and reboot events
- Monitor nShield Security World logs for anomalous administrative actions following any reboot
- Review data center CCTV around HSM racks for unauthorized USB insertion or device handling
- Compare running firmware versions against the approved baseline (13.6.12 LTS or 13.9.0 STS)
Monitoring Recommendations
- Forward nShield audit and system logs to a centralized SIEM for continuous review
- Alert on any reboot event that is not tied to an approved change request
- Track and inventory all USB port activity in areas hosting HSMs
- Perform periodic firmware and configuration integrity checks against vendor-published baselines
How to Mitigate CVE-2025-59699
Immediate Actions Required
- Upgrade affected nShield Connect XC, nShield 5c, and nShield HSMi appliances to firmware 13.6.12 (LTS) or 13.9.0 (STS)
- Verify that HSMs are installed in access-controlled cages or rooms with logged physical entry
- Audit recent physical access to appliances and reconcile against approved maintenance activity
- Confirm tamper-evident seals are intact on all production HSM chassis
Patch Information
Entrust has released fixed firmware versions 13.6.12 (LTS) and 13.9.0 (STS) that address the insecure bootloader defaults. Administrators should follow the upgrade procedure documented in the Entrust nShield Security Advisory. Firmware upgrades on HSMs require careful planning because they affect the Security World and connected client applications.
Workarounds
- Restrict physical access to nShield appliances to a small, audited group of administrators
- Disable or physically block unused USB ports on the appliance chassis where operationally feasible
- Store HSMs in locked cabinets with continuous video surveillance and access logging
- Increase inspection frequency of tamper-evident seals until patched firmware is deployed
# Verify running nShield firmware version before and after upgrade
enquiry | grep -i version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

