/

CVE-2026-130803

Severity:

HIGH RISK

(7.5)

Plaintext Secrets (CWE-798) in Firmware and Flash Memory

CVE-2026-130803

Received

Vulnerability type

Category:

Credential and Cryptographic Secret Exposure

CWE:

CWE-798

Impact:

Exposure of cryptographic keys and active network credentials

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Firmware and flash memory store cryptographic keys and active Store Pairing Tokens in plaintext. If an attacker can access a firmware image, flash contents, or another path to these stored values, they may obtain credentials that could enable unauthorized network access or device impersonation.

Affected context

The issue concerns secret storage in device firmware and flash memory, including global AES keys, network master keys, and active Store Pairing Tokens. Risk depends on whether an attacker can read these storage locations and whether the exposed credentials remain valid or are shared across devices.

Exploit preconditions

  • Attack surface: Firmware images, flash memory, or interfaces that permit access to their contents
  • Required access: A way to obtain or read the stored data; this may require physical access or access through a separate device, service, or supply-chain weakness
  • Trigger point: No runtime trigger is necessarily required; exposure occurs when an attacker can inspect the stored values
  • Why exploitation is possible: Secrets are stored without encryption, so readable firmware or flash may reveal credentials usable beyond the device

Why this happens

Sensitive credentials are persisted in plaintext rather than being protected by an appropriate secret-storage design. This is associated with the supplied CWE-798 classification for hard-coded credentials; the described storage behavior also reflects the broader risk of exposed sensitive information. Shared or long-lived secrets increase the consequences if firmware or flash contents are obtained.

Potential impact

  • An attacker may use exposed pairing tokens to gain unauthorized network access while the tokens remain valid.
  • Exposed master keys could enable device impersonation or compromise of communications that rely on those keys.
  • Shared global keys could allow compromise to extend beyond a single device.
  • Attackers could use recovered credentials to support further unauthorized access or lateral movement.

General mitigation guidance

Defensive approaches commonly focus on reducing the amount of secret material stored on devices and protecting any secrets that must be retained.

  • Avoid embedding shared or long-lived credentials in firmware.
  • Prefer per-device credentials and hardware-backed key storage where available.
  • Protect secrets at rest with keys that are not stored alongside the protected data.
  • Limit access to flash, debug, and service interfaces, and use least-privilege controls.
  • Apply token expiration, revocation, and key rotation practices to limit the usefulness of exposed credentials.

How teams detect issues like this

Review firmware and storage designs for plaintext keys, tokens, or other credential-like values. Static analysis and secret-scanning rules can flag embedded credentials, while code review can examine how secrets are provisioned, persisted, accessed, and rotated. Policy checks can prohibit shared credentials and require protected storage for sensitive values; authorized firmware and flash inspections can help verify those controls.

Sources

SourceLink
0xd34d.github.io0xd34d.github.io/hanshow/hanshowned.html

Frequently asked

questions

The description does not establish a direct remote attack path. Exploitation generally depends on obtaining readable firmware or flash contents, though another access path could make that possible.

They need a way to read the stored values, such as access to firmware or flash contents, or an interface or process that exposes them. The specific access requirements depend on the device and deployment.

Avoid storing shared secrets in plaintext. Use protected, preferably hardware-backed storage for necessary secrets, and use per-device credentials with appropriate expiration and revocation.

Minimize secrets in firmware, restrict access to storage and service interfaces, and include secret scanning and secure-storage policy checks in development and release reviews.

Find out what's already
exploitable in your codebase.