PKfail is Binarly REsearch's name for a 2024 discovery that hundreds of UEFI device models ship with their Secure Boot root of trust — the Platform Key — set to a key explicitly marked "DO NOT TRUST" in its own certificate fields, and the private half of one such key had already leaked publicly years earlier.
Tracked as CVE-2024-8105 and coordinated by CERT/CC as VU#455367, the flaw lets anyone holding that leaked private key sign arbitrary UEFI firmware or bootloader code and have it trusted as legitimate by every device that ships that key — a complete, practical Secure Boot bypass that requires no cryptographic breakthrough, only possession of a key that device vendors should never have shipped in the first place.
This guide draws on CERT/CC's VU#455367 note, NVD's CVE-2024-8105 record, Binarly REsearch's BRLY-2024-005 advisory and July 2024 research report, Red Hat's CVE-2024-8105 page, CERT/CC's PKfail tool repository and the fwupd security documentation, each re-checked on 13 November 2026.
Key takeaways
- UEFI Secure Boot anchors its chain of trust in one key pair, the Platform Key (PK).
- It lets anyone holding the PK private key make the device trust their code at boot.
- Behind the labels: Intel says the listed products "are no longer supported by Intel", Supermicro says "the latest BIOS versions don't have the issue", and Fujitsu names its datacenter servers.
- Through an ordinary supply-chain gap, not a cryptographic break.
What is a Platform Key, and what does "PKfail" actually mean?
UEFI Secure Boot anchors its chain of trust in one key pair, the Platform Key (PK). CERT/CC's VU#455367 describes it: "The platform owner enrolls the public half of the key (PKpub) into the platform firmware. The platform owner can later use the private half of the key (PKpriv) to change platform ownership or to enroll a Key Exchange Key." Whoever holds the PK private key controls the Key Exchange Key (KEK) list, the signature database (db) of what may run, and the forbidden-signature database (dbx).
PKfail is Binarly REsearch's name for its finding that hundreds of shipping device models use, as that root of trust, a Platform Key that American Megatrends International (AMI) generated for development and testing. The BRLY-2024-005 advisory says the certificates' subject or issuer fields contain "DO NOT TRUST" or "DO NOT SHIP", and that the keys were "likely supplied as reference example to device vendors". AMI's own statement to CERT/CC: "AMI provides test keys for development enablement purposes, not for production/manufacturing purposes." They shipped anyway: Binarly's disclosure post dates the first vulnerable firmware to May 2012 and the latest to June 2024, and notes the issue affects both x86 and ARM devices.
What does CVE-2024-8105 actually let an attacker do?
It lets anyone holding the PK private key make the device trust their code at boot. NVD's description: "An attacker in possession of the corresponding PK private key can sign arbitrary UEFI executables or firmware components, causing them to be trusted by affected systems and potentially bypassing UEFI Secure Boot trust validation." BRLY-2024-005 shows the chain with standard Linux tools: create new KEK and db certificates with openssl, use the leaked PK.key with efi-updatevar to append the KEK, use the new KEK to add the db certificate, then sign any EFI binary with sbsign. Binarly confirmed the steps on a Gigabyte GB-BER5(HS)-5500.
Scores differ by source, and the difference is worth understanding:
| Source | CVSS v3.1 | Vector |
|---|---|---|
| Binarly BRLY-2024-005; Red Hat | 8.2 High | AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| CISA-ADP on the NVD record (NVD status "Deferred") | 6.4 Medium | AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Sources: BRLY-2024-005, Red Hat and NVD API, checked 13 November 2026.
The gap comes from two metrics: Binarly's vector rates attack complexity low and scope changed, while CISA-ADP rates complexity high and scope unchanged. Our CVSS calculator shows how each metric moves the score, and CVSS v4 versus v3.1 explains why scope disappears in v4. Red Hat classifies the weakness as CWE-1394, Use of Default Cryptographic Key. CERT/CC frames the impact plainly: an attacker can "sign malicious UEFI software, enabling the execution of code with the highest privileges during the early boot phases".
Which vendors are confirmed affected, and which are not?
CERT/CC's VU#455367 publishes a per-vendor status table, current as of its 14 January 2025 revision:
| Status | Vendors |
|---|---|
| Affected | Fujitsu Europe, Intel, Supermicro |
| Not affected | American Megatrends (AMI), Insyde Software, Phoenix Technologies |
| Unknown | GIGABYTE, Acer, Aopen, Dell, Formelife, Fujitsu HQ, HP Enterprise, HP Inc., Lenovo |
Behind the labels: Intel says the listed products "are no longer supported by Intel", Supermicro says "the latest BIOS versions don't have the issue", and Fujitsu names its datacenter servers. "Unknown" means CERT/CC recorded no vendor statement, not that the vendor was cleared.
Binarly's own preliminary list is broader. Counted on 13 November 2026, the BRLY-2024-005 table lists 822 firmware images from 10 vendors and 22 distinct untrusted keys:
| Vendor | Firmware images | Vendor | Firmware images |
|---|---|---|---|
| Gigabyte | 648 | Intel | 10 |
| Supermicro | 72 | Acer | 9 |
| Dell | 48 | Fujitsu | 6 |
| HP | 14 | Aopen | 2 |
| Lenovo | 12 | Formelife | 1 |
Binarly's post says the list "at the moment contains almost 900 devices", and that more than 10% of the firmware images in its dataset, and 8% of those from the previous four years, used an untrusted Platform Key.
How did a test key end up in production firmware in the first place?
Through an ordinary supply-chain gap, not a cryptographic break. AMI ships a test PK with its reference code; the step where an ODM or brand owner generates a unique production key was skipped, product after product. Binarly's July 2024 research report gives the history:
| Date | Event |
|---|---|
| 2016 | CVE-2016-5247 first documents AMI test keys on production devices |
| 2018 | First in-the-wild appearance of the later-leaked AMI key in Binarly and LVFS data |
| 2019 | LVFS adds a blocklist for non-production keys |
| 2022 | A suspected ODM employee publishes source code with an encrypted PK private key on public GitHub; the 4-character password is trivially guessable |
| 17 April 2024 | Binarly notifies CERT/CC |
| 24–25 July 2024 | Public disclosure (Binarly's advisory gives 24 July; CERT/CC records 25 July) |
| 26 August 2024 | CVE-2024-8105 published in NVD |
| 30 August 2024 | VU#455367 first published; last revised 14 January 2025 |
The report also found the same key on gaming laptops and server boards, and keys surviving for almost ten years. Binarly lists the root causes: private keys sitting in code repositories, non-production keys in production builds, and no key rotation per product line. The same failure class is covered in our guide on hard-coded credentials in embedded firmware.
How do you detect an AMI test key in a firmware image or device?
Check the PK certificate's subject and issuer: if either contains "DO NOT TRUST" or "DO NOT SHIP", the device is affected. The practical routes:
Running Linux systemRun efi-readvar -v PK(from efitools). An affected device prints a subject such asCN=DO NOT TRUST - AMI Test PK.Running Windows systemIn an administrator PowerShell, BRLY-2024-005 gives a one-liner that prints Trueon affected devices; it is shown below the list.Fleet check with fwupd fwupdmgr securityreports the HSI "UEFI PK" attribute, which fails when "an invalid key has been enrolled", with "DO NOT TRUST - AMI Test PK" as the example; a pass is needed for HSI-1.Firmware image before releaseSearch the extracted image (vendor capsule or SPI dump) for the ASCII strings DO NOT TRUSTandDO NOT SHIP, which certificate names carry in clear text. Then extract the certificate with a UEFI image tool and compare its serial number with the 22 serials in BRLY-2024-005.Third-party scannerBinarly's free pk.fail service analyses an uploaded firmware binary and returns the issuer, subject and serial of an untrusted PK. Uploading an unreleased image to an outside service may conflict with your NDAs, so clear that first.
The Windows check from BRLY-2024-005:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI PK).bytes) -match "DO NOT TRUST|DO NOT SHIP"
Check both the live PK and the image's default Secure Boot keys: a device whose live PK was replaced can fall back to the test key when Secure Boot is reset to factory defaults.
Is there a patch, and what should a device owner do right now?
Only a vendor firmware update fixes it. Red Hat: "The fix for PKfail is straightforward: the compromised key needs to be replaced and device vendors need to ship a firmware update." Binarly adds that affected devices "must be assumed compromised", so KEK, db and dbx "must also be checked and replaced". CERT/CC points to vendor updates and, on Linux, to LVFS (fwupdmgr get-updates).
For Windows devices that cannot wait, CERT/CC's PKfail repository provides Updateamipk.ps1, which swaps an AMI test PK for Microsoft's Windows OEM Devices PK. The README calls it "a temporary solution until a firmware update is available" and warns: "The script doesn't change the default PK value. It must be run every time Secure Boot is reset."
Check the actual PK on each model, not the vendor's name; "Unknown" in CERT/CC's table is not evidence of safety. Apply the vendor's firmware updatefor confirmed-affected models; it is the only change that replaces the default key. Use the CERT/CC script only as a bridge, knowing it moves control to a Microsoft key. Treat "Secure Boot: Enabled" as a setting, not a guarantee, until the PK is confirmed; PKfail is a live example of the gap between secure boot and a hardware root of trust in theory and what a device enforces. Build PK provenance into intake and procurement reviews, as NIST SP 800-193 assumes a working verification chain before resilience features matter.
Worked example: what does a release gate for the Platform Key look like?
Synthetic example, not a real product. A maker of fanless industrial PCs receives AMI-based firmware from an ODM for a new board.
Intake:the release engineer extracts the capsule and searches for DO NOT TRUSTandDO NOT SHIP. One hit: the default PK isDO NOT TRUST - AMI Test PK.Key ceremony:the maker generates a per-product-line PK and KEK in its hardware security module, following its key management policy, and gives the ODM only the public certificates. Rebuild and re-check:the ODM rebuilds with the new defaults; the string search returns nothing and efi-readvar -v PKon a sample unit shows the maker's own subject name.Gate rule:any future image with either string, or a PK serial from the BRLY-2024-005 list, fails the release pipeline. Evidence:the check result and certificate fingerprints go into the technical file, which supports integrity claims such as those in CRA Annex I.
What are the common pitfalls?
- Fixing the live PK only. The default key store still holds the test key, and a Secure Boot reset brings it back.
- Replacing PK but not KEK, db and dbx. Binarly's guidance is to assume the databases were tampered with.
- One key across product lines. Binarly found the same key on client and server products; a single leak then exposes them all.
- Private keys in source trees. The 2022 leak came from a code repository with a build-script path to the key.
- Trusting "Not affected" upstream. AMI, Insyde and Phoenix are not affected as IBVs; your build can still be.
Is PKfail a one-off, or does it point to a bigger pattern?
It points to a pattern: a trust anchor nobody verified end to end across a multi-tier supply chain of silicon vendor, BIOS vendor, ODM and brand owner. NIST SP 800-147's BIOS protection guidelines and the EU Cyber Resilience Act's integrity expectations both assume this kind of process gap, not a broken algorithm, is the realistic failure. OWASP's firmware security testing methodology is the practical answer: test the Secure Boot configuration a device actually ships, including its Platform Key.
Automated SBOM scanning does not catch this on its own. A component inventory matched against NVD lists software packages, not Secure Boot variables, and the NVD record for CVE-2024-8105 carries no affected-product configuration to match against. SoftWSP's Firmware Scan builds the SBOM and matches components against NVD, CISA KEV, FIRST EPSS and CISA advisories; the Platform Key check is engineer work in the Device & Firmware Security service, which reviews boot chain, key provenance and signing against the firmware a device actually ships.
Put this guide to work
Frequently asked questions
What is a Platform Key, and what does "PKfail" actually mean?
The Platform Key (PK) is the single root of trust for UEFI Secure Boot on a given device. CERT/CC's vulnerability note VU#455367 describes the mechanism plainly: "The platform owner enrolls the public half of the key (PKpub) into the platform firmware. The platform owner can later use the private half of the key (PKpriv) to change platform ownership or to enroll a Key Exchange Key." PKfail is the name Binarly REsearch gave to the discovery that hundreds of shipping device models use, as that single root of trust, a Platform Key that was never meant to leave a test lab — a cryptographic key explicitly marked "DO NOT TRUST" or "DO NOT SHIP" in its own certificate fields, generated by firmware vendor American Megatrends International (AMI) purely for development, that device makers left in place in production firmware instead of replacing it with their own unique key.
What does CVE-2024-8105 / VU#455367 actually let an attacker do?
NVD's own description of CVE-2024-8105 states it directly: "A vulnerability exists in UEFI implementations that use a hard-coded software-based Platform Key (PK). An attacker in possession of the corresponding PK private key can sign arbitrary UEFI executables or firmware components, causing them to be trusted by affected systems and potentially bypassing UEFI Secure Boot trust validation." Binarly's own advisory, BRLY-2024-005, rates the issue CVSS 8.2 High (vector AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) and lays out the exact attack chain: an attacker who holds the leaked AMI test PK private key can generate new Key Exchange Key (KEK) and signature-database (db) certificates, use the leaked PK to enroll those certificates as trusted, then sign arbitrary EFI binaries with the new db key — code that the device's own Secure Boot will execute during the earliest, highest-privilege phase of boot, fully believing it is legitimate. CERT/CC describes the practical consequence the same way: an attacker can "sign malicious UEFI software, enabling the execution of code with the highest privileges during the early boot phases of a UEFI Secure Boot-protected system." The one precondition is that the key itself has to be exposed — and it was: the specific private key Binarly tracked had leaked in 2022, when a suspected employee of an ODM published source code containing it on a public GitHub repository that stayed up for at least four months.
Which vendors were confirmed affected, and which were not?
CERT/CC's VU#455367 publishes a per-vendor status table, current as of its 14 January 2025 revision. Confirmed **Affected**: Fujitsu Europe, Intel, and Supermicro. Confirmed **Not Affected**: American Megatrends (AMI) itself, Insyde Software, and Phoenix Technologies — the three major independent BIOS/UEFI vendors, none of which ship the leaked AMI key as a production default. Status listed as **Unknown** (meaning CERT/CC had not received a determination from that vendor at the time of its last revision): GIGABYTE, Acer, Aopen, Dell, Formelife, Fujitsu HQ, HP Enterprise, HP Inc., and Lenovo. An "Unknown" status is not a clean bill of health — it means the vendor had not told CERT/CC one way or the other — which is exactly why CERT/CC's own guidance is to check a specific device's firmware directly rather than infer safety from the vendor's name alone.
How is PKfail actually fixed, and can an end user do anything before a firmware update ships?
Red Hat's advisory for CVE-2024-8105 states the fix in one sentence: "The fix for PKfail is straightforward: the compromised key needs to be replaced and device vendors need to ship a firmware update." That is a vendor-side fix — no end-user action replaces a hard-coded Platform Key, because the PK's entire purpose is that only a firmware update, not a registry setting or OS-level control, can change it. CERT/CC's coordinated response includes an interim workaround for Windows devices: the CERTCC/PKfail GitHub repository publishes a PowerShell script (`Updateamipk.ps1`) that replaces an AMI test Platform Key with Microsoft's own Windows OEM Devices PK on an affected device, explicitly described as "a temporary solution until a firmware update is available," not a substitute for the vendor's own update. The practical sequence for an asset owner is: confirm whether a specific device's PK certificate carries a "DO NOT TRUST"/"DO NOT SHIP" marker (Binarly's detection guidance), apply the vendor's firmware update once one ships, and use the interim Microsoft/CERT-CC tool only as a bridge on Windows systems that cannot wait.
Is PKfail a one-off incident, or does it point to a bigger pattern?
It points to a bigger pattern, and that is the detail worth taking away beyond the single CVE. PKfail did not originate from a cryptographic break — AES and RSA were never the weak point. It originated from a supply-chain and process failure: a key explicitly labeled as untrustworthy, moving from a reference design through multiple tiers of firmware vendors and device makers, without any one of them substituting a real production key before the device shipped. CERT/CC's own finding that nine vendors remained "Unknown" months after public disclosure — not confirmed fixed, not confirmed safe, with no vendor statement recorded in the note — underscores that the gap was organizational as much as technical: nobody in the supply chain owned the step of confirming the Platform Key before signing off on a shipping build. That is precisely the class of failure NIST SP 800-193's roots of trust for update and detection, and a disciplined secure boot chain-of-trust review, are built to catch before a device reaches a customer rather than years into its field life.
Sources
- CERT/CC: VU#455367 — Insecure Platform Key (PK) used in UEFI system firmware signature
- NVD: CVE-2024-8105 — hard-coded software-based UEFI Platform Key allows Secure Boot bypass
- Binarly REsearch: BRLY-2024-005 — "Usage of default test keys leads to complete Secure Boot bypass" (original PKfail advisory, CVSS 8.2)
- Binarly: "PKfail: Untrusted Platform Keys Undermine Secure Boot on UEFI Ecosystem" (original disclosure announcement)
- Red Hat: CVE-2024-8105 security advisory (CVSS 8.2, CWE-1394 Use of Default Cryptographic Key)
- CERT/CC: CERTCC/PKfail GitHub repository — interim Windows Platform Key replacement tool
- Binarly: PKfail research report (July 2024; 2022 ODM GitHub leak, timeline, key reuse)
- Binarly: pk.fail free PKfail firmware scanner
- fwupd: Host Security ID (HSI) attributes, UEFI PK test (org.fwupd.hsi.Uefi.Pk)
About this guide
SoftWSP Firmware Security Desk
Covers the Firmware vulnerabilities & fixes cluster: 135 guides.

In this cluster
Questions about this page?
