CWEweakness

CWE-256 Plaintext Storage of a Password

High Official page ↗
Abstraction
Base
Structure
Simple
Status
Incomplete
Likelihood of exploit
High
Languages
Not Language-Specific
CWE version
5.0

Description

The product stores a password in plaintext within resources such as memory or files.

Common consequences

• Access Control: Gain Privileges or Assume Identity — Storing a plaintext password in a configuration file allows anyone who can read the file to access the password-protected resource. In some contexts, even storage of a plaintext password in memory is considered a security risk if the password is not cleared immediately after it is used.

Potential mitigations

• [Architecture and Design] Avoid storing passwords in easily accessible locations. • [Architecture and Design] Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext. • A programmer might attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password because the encoding can be detected and decoded easily.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2022-30275: Remote Terminal Unit (RTU) uses a driver that relies on a password stored in plaintext.

Related

Observed example · CVE (1)

  • CVE-2022-30275 The Motorola MOSCAD Toolbox software through 2022-05-02 relies on a cleartext password. vulnerability

Child of · CWE (1)

  • CWE-522 Insufficiently Protected Credentials weakness

Referenced by CVE · weakness (229)

  • CVE-2026-110975 A flaw was found in Kruize Autotune. vulnerability
  • CVE-2026-63315 WebCTI service for Slican IPx telephone exchanges stores temporary subscriber password in plaintext. vulnerability
  • CVE-2026-70414 Dell Command | Configure (DCC), versions prior to 5.2.3.35, contain a Plaintext Storage of Password vulnerability. vulnerability
  • CVE-2026-104892 Plane is an open-source project management tool. vulnerability
  • CVE-2026-84884 IBM Guardium Data Protection 12.2 stores internal REST service-account passwords in a reversible plaintext-equivalent format. vulnerability
  • CVE-2026-2380 On affected platforms running Arista EOS with OpenConfig-related services (i.e., gNMI, gNSI, RESTCONF and NETCONF), sensitive requests and… vulnerability
  • CVE-2026-46488 motionEye (mEye) is an online interface for a piece of software called "motion," which is a video surveillance program with motion… vulnerability
  • CVE-2026-82783 Plaintext storage of a password issue exists in CONPROSYS nano Series . vulnerability
  • CVE-2026-19051 Plaintext storage of a password vulnerability in Menulux Software Inc. vulnerability
  • CVE-2021-38489 HDD password plaintext is stored in a UEFI variable. vulnerability
  • CVE-2026-15933 OptimiDoc Server (On-Premise) stores credentials for external services in cleartext. vulnerability
  • CVE-2026-82453 rust-iot-platform through commit 5df942ab stores user passwords in cleartext without hashing in the user model. vulnerability
  • CVE-2026-55765 CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. vulnerability
  • CVE-2026-55164 Lemur manages TLS certificate creation. vulnerability
  • CVE-2026-50641 Streamsoft Business Intelligence (BI) stores users' passwords in plaintext form in the database This issue was fixed in version 6.8.0.0,… vulnerability
  • CVE-2026-41874 Quick.Cart stores hard-coded, plaintext admin credentials in a configuration file. vulnerability
  • CVE-2026-61886 Weintek cMT3092X HMI stores user account passwords in plaintext. vulnerability
  • CVE-2026-40430 Pronetiqs IntraVUE Versions 3.2.1a14 and prior have a plaintext storage of a password vulnerability that could expose cleartext credentials… vulnerability
  • CVE-2026-44187 A flaw was found in the Ansible Lightspeed extension for Visual Studio Code. vulnerability
  • CVE-2026-46513 Frogman provides headless PBX control through MCP and HTTP API. vulnerability
  • CVE-2026-14867 Credentials of built-in users are insecurely stored in the User directory of PcVue projects, all versions prior to 17.0.0. vulnerability
  • CVE-2026-57302 Jenkins FitNesse Plugin 1.36 and earlier stores passwords unencrypted in job config.xml files on the Jenkins controller, where they can be… vulnerability
  • CVE-2026-50268 Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. vulnerability
  • CVE-2024-39575 update_disk_psu_baseline.sh requires password in plain text vulnerability
  • CVE-2024-45636 IBM Security QRadar EDR 3.12 through 3.12.24 stores user credentials in plain text which can be read by a local privileged user. vulnerability
  • CVE-2026-36174 GNCC GP5 v7.1.76 was discovered to store sensitive wireless network information in plaintext during routine operations to the serial… vulnerability
  • CVE-2018-25396 Heatmiser Wifi Thermostat 1.7 contains a credential disclosure vulnerability that allows unauthenticated attackers to retrieve… vulnerability
  • CVE-2026-42151 Prometheus is an open-source monitoring system and time series database. vulnerability
  • CVE-2026-6500 Plaintext storage of a password vulnerability in ILM Informatique OpenConcerto allows Retrieve Embedded Sensitive Data. vulnerability
  • CVE-2025-36335 IBM watsonx.data intelligence 5.2.0, 5.2.1, 5.3.0, 5.3.1 stores user credentials in plain text which can be read by a local user. vulnerability
Show all 229 ›

Referenced by OWASP · mapped cwe (2)