---
title: "CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute"
url: https://radicalnotion.ai/cwe/cwe-614
type: cwe
description: "The Secure attribute for sensitive cookies in HTTPS sessions is not set."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 68
- **Of those, in CISA KEV:** 0
- **New in 2026:** 21
- **CWE catalog version:** 4.21

## Description

The Secure attribute for sensitive cookies in HTTPS sessions is not set.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Applicable platforms

**Technologies:** Web Based (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | Omitting the secure flag makes it possible for the user agent to send the cookies in plaintext over an HTTP session. |

## Potential mitigations

### Implementation

Always set the secure attribute when the cookie should be sent via HTTPS only.

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

Effectiveness: High

## Demonstrative examples

### Example 1

The snippet of code below, taken from a servlet doPost() method, sets an accountID cookie (sensitive) without calling setSecure(true).

Bad code:

```java
Cookie c = new Cookie(ACCOUNT_ID, acctID);
response.addCookie(c);
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2024-47833 | python library for ML and data science does not use the Secure flag (CWE-614) or HTTPOnly security attribute (CWE-1004) for session cookies. |
| CVE-2004-0462 | A product does not set the Secure attribute for sensitive cookies in HTTPS sessions, which could cause the user agent to send those cookies in plaintext over an HTTP session with the product. |
| CVE-2008-3663 | A product does not set the secure flag for the session cookie in an https session, which can cause the cookie to be sent in http requests and make it easier for remote attackers to capture this cookie. |
| CVE-2008-3662 | A product does not set the secure flag for the session cookie in an https session, which can cause the cookie to be sent in http requests and make it easier for remote attackers to capture this cookie. |
| CVE-2008-0128 | A product does not set the secure flag for a cookie in an https session, which can cause the cookie to be sent in http requests and make it easier for remote attackers to capture this cookie. |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-8037 | Nameless cookies shadow secure cookies | critical | 9.1 | - | No | 2025-07-22 |
| CVE-2026-53661 | boruta-server sent sensitive session cookies without the Secure attribute | high | 8.8 | - | No | 2026-06-11 |
| CVE-2026-46398 | HAX CMS Missing Secure Flag on Cookie | high | 8.8 | - | No | 2026-06-05 |
| CVE-2025-53757 | Insecure Cookie Flags Vulnerability in Digisol DG-GR6821AC Router | high | 8.7 | - | No | 2025-07-16 |
| CVE-2020-27651 | Synology SRM web interface session cookie secure flag Information Disclosure Vulnerability | high | 8.1 | - | No | 2020-10-29 |
| CVE-2025-52632 | HCL AION is susceptible to Missing Secure Attribute in Encrypted Session (SSL) Cookie vulnerability | high | 7.5 | - | No | 2025-10-10 |
| CVE-2024-10718 | Cookie without Secure attribute in phpipam/phpipam | high | 7.5 | - | No | 2025-03-20 |
| CVE-2024-2493 | Session Hijacking Vulnerability in Hitachi Ops Center Analyzer | high | 7.5 | - | No | 2024-04-23 |
| CVE-2022-21940 | Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in System Configuration Tool (SCT) | high | 7.5 | - | No | 2023-02-09 |
| CVE-2018-25060 | Macaron csrf csrf.go missing secure attribute | high | 7.5 | - | No | 2022-12-30 |
| CVE-2022-4409 | Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in thorsten/phpmyfaq | high | 7.5 | - | No | 2022-12-11 |
| CVE-2022-25151 | ITarian - Session cookie not protected by HttpOnly flag | high | 7.5 | - | No | 2022-06-08 |

## Related attack patterns (CAPEC)

- [CAPEC-102](https://radicalnotion.ai/capec/capec-102): Session Sidejacking

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-319](https://radicalnotion.ai/cwe/cwe-319) | Cleartext Transmission of Sensitive Information |

## Frequently asked questions

### What is CWE-614?

The Secure attribute for sensitive cookies in HTTPS sessions is not set.

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

68 recorded CVEs are attributed to CWE-614, including CVE-2025-8037, CVE-2026-53661 and CVE-2026-46398.

### How do you prevent CWE-614?

Always set the secure attribute when the cookie should be sent via HTTPS only.

### How is CWE-614 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-614?

Exploiting CWE-614 can lead to: Read Application Data.

### Is CWE-614 actively exploited?

68 recorded CVEs are caused by CWE-614; none are currently in CISA's KEV catalog of actively exploited flaws.

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

---

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