---
id: "CVE-2026-115846"
page: "https://infrastack.ai/live/CVE-2026-115846"
kind: "vulnerability"
aliases: ["CVE-2026-115846"]
title: "Libreswan: IPsec VPN can skip post-quantum key exchange step"
severity: "low"
cvss: 3.7
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["infrastructure", "ipsec", "libreswan", "self-hosted", "vpn"]
not_affected_if: ["libreswan-before-5.4", "no-addke-configured"]
published_at: "2026-11-16T22:18:14+00:00"
first_seen_at: "2026-11-16T22:39:12+00:00"
updated_at: "2026-11-16T22:41:14+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115846", "first_seen_at": "2026-11-16T22:39:12+00:00"}]
exploit_sources: []
---

# Libreswan: IPsec VPN can skip post-quantum key exchange step

Link for people: https://infrastack.ai/live/CVE-2026-115846 (this .md is for agents)

Libreswan's IKEv2 handling does not check that the post-quantum IKE_INTERMEDIATE exchange happened before authentication, so a client can skip it. The connection then falls back to classic key exchange only, which a future quantum computer could break to decrypt recorded traffic.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Look for `addke=` in the `ike=` or `esp=` settings of Libreswan connection configs (ipsec.conf or /etc/ipsec.d/*.conf)
- Check the installed version with `ipsec --version`, comparing against the fixed version in the sources (unknown)

## Timeline

- 2026-11-16T22:39:12+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115846

## From the sources

The Libreswan IKEv2 state machine did not verify that an IKE_INTERMEDIATE exchange was required to satisfy the addke= PostQuantum algorithm component of the exchange. A connecting client could (maliciously or by implementation error) skip the IKE_INTERMEDIATE exchange and start an IKE_AUTH exchange prematurely. The result is as if the addke= option had not been specified, and such connections are only protected by the classic key exchange algorithm (such as P-256 or Curve25519), allowing "store now, decrypt later" attacks once a quantum computer becomes available. Only connections with the addke= keyword in the ike= and/or esp= configuration option are affected. PostQuantum Hybrid Key Exchange support was added in version 5.4.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
