---
title: "CWE-1188: Initialization of a Resource with an Insecure Default"
url: https://radicalnotion.ai/cwe/cwe-1188
type: cwe
description: "The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1188: Initialization of a Resource with an Insecure Default

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 289
- **Of those, in CISA KEV:** 4
- **New in 2026:** 91
- **CWE catalog version:** 4.21

## Description

The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it. |
| System Configuration | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Varies by Context | The impact of insecure defaults varies widely depending on the functionality that the product controls. |

## 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.)

## Demonstrative examples

### Example 1

This code attempts to login a user using credentials from a POST request:

Bad code:

```php
// $user and $pass automatically set from POST request
if (login_user($user,$pass)) {
    $authorized = true;
}
...

if ($authorized) {
    generatePage();
}
```

Good code:

```php
$user = $_POST['user'];
$pass = $_POST['pass'];
$authorized = false;
if (login_user($user,$pass)) {
    $authorized = true;
}
...
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-36349 | insecure default variable initialization in BIOS firmware for a hardware board allows DoS |
| CVE-2022-42467 | A generic database browser interface has a default mode that exposes a web server to the network, allowing queries to the database. |

## Real CVEs with this weakness (sample of 12 of 289)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-27524 | Apache Superset: Session validation vulnerability when using provided default SECRET\_KEY | critical | 10.0 | - | Yes | 2023-04-24 |
| CVE-2022-24706 | Remote Code Execution Vulnerability in Packaging | critical | 10.0 | - | Yes | 2022-04-26 |
| CVE-2023-6448 | Unitronics VisiLogic uses a default administrative password | critical | 9.3 | - | Yes | 2023-12-05 |
| CVE-2025-48927 | TeleMessage TM SGNL Initialization of a Resource with an Insecure Default Vulnerability | high | 8.7 | - | Yes | 2025-05-28 |
| CVE-2026-87827 | KGUARD DVR unauthenticated remote command execution vulnerability | critical | 10.0 | - | No | 2026-09-09 |
| CVE-2026-31957 | Himmelblau unset domain configuration can allow any-tenant authentication at first login for remote deployments | critical | 10.0 | - | No | 2026-03-11 |
| CVE-2026-28775 | Unauthenticated RCE via SNMP Default Writable Community String | critical | 10.0 | - | No | 2026-03-04 |
| CVE-2025-61481 | - | critical | 10.0 | - | No | 2025-10-27 |
| CVE-2025-41672 | WAGO: Vulnerability in WAGO Device Sphere | critical | 10.0 | - | No | 2025-07-07 |
| CVE-2024-0001 | - | critical | 10.0 | - | No | 2024-09-23 |
| CVE-2024-2912 | Insecure Deserialization Leading to RCE in bentoml/bentoml | critical | 10.0 | - | No | 2024-04-16 |
| CVE-2017-7964 | - | critical | 10.0 | - | No | 2017-04-19 |

## Related attack patterns (CAPEC)

- [CAPEC-665](https://radicalnotion.ai/capec/capec-665): Exploitation of Thunderbolt Protection Flaws

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-344](https://radicalnotion.ai/cwe/cwe-344) | Use of Invariant Value in Dynamically Changing Context |
| Parent | [CWE-665](https://radicalnotion.ai/cwe/cwe-665) | Improper Initialization |
| Parent | [CWE-1419](https://radicalnotion.ai/cwe/cwe-1419) | Incorrect Initialization of Resource |
| Child | [CWE-453](https://radicalnotion.ai/cwe/cwe-453) | Insecure Default Variable Initialization |

## Frequently asked questions

### What is CWE-1188?

The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

### What CVEs are caused by CWE-1188?

289 recorded CVEs are attributed to CWE-1188, including CVE-2023-27524, CVE-2022-24706 and CVE-2023-6448. 4 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### How is CWE-1188 detected?

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.)

### What are the consequences of CWE-1188?

Exploiting CWE-1188 can lead to: Varies by Context.

### Is CWE-1188 actively exploited?

Yes. 4 CWE-1188 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 289 recorded CVEs.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1188.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1188). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
