Cyber Resilience

CWE · MITRE source

CWE-526Cleartext Storage of Sensitive Information in an Environment Variable

Abstraction: Variant · CVEs in our corpus: 20

The product uses an environment variable to store unencrypted sensitive information.

Information stored in an environment variable can be accessible by other processes with the execution context, including child processes that dependencies are executed in, or serverless functions in cloud environments. An environment variable's contents can also be inserted into messages, headers, log files, or other outputs. Often these other dependencies have no need to use the environment variable in question. A weakness that discloses environment variables could expose this information.

Last updated: 20 August 2026 14:15 UTC

OWASP Top 10 for Web (2025)

This weakness contributes to A02:2025 Security Misconfiguration.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.DS-01
  • PR.PS-01
  • SC-28 Protection of Information at Rest
  • SC-13 Cryptographic Protection
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-5720 5.87.70.00812023-11-15
CVE-2025-28381 5.87.50.00452025-06-13
CVE-2026-45370 5.57.70.00222026-05-14
CVE-2026-40153 5.37.40.00272026-04-09
CVE-2024-2700 5.27.00.00292024-04-04
CVE-2024-4369 5.26.80.00692024-05-01
CVE-2023-43029 5.16.80.00422025-03-21
CVE-2024-12604 5.06.50.00202025-03-10
CVE-2025-360175.06.50.00262025-12-08
CVE-2026-726485.06.50.00272026-08-13
CVE-2025-0985 4.35.50.00252025-02-28
CVE-2025-27899 4.35.30.00202026-02-17
CVE-2024-11736 4.14.90.00772025-01-14
CVE-2026-762274.15.50.00122026-08-19
CVE-2014-2377 4.00.00.01842014-09-15
CVE-2025-9162 4.04.90.00502025-08-21
CVE-2026-49377 3.84.30.00692026-05-29
CVE-2025-36105 3.34.40.00082026-03-10
CVE-2023-35931 3.03.10.00812023-06-23
CVE-2023-47615 2.83.30.00212023-11-09