Skip to main content

NLnet Labs Krill CVE-2026-109140

| EUVDEUVD-2026-115255 HIGH
Reusing a Nonce, Key Pair in Encryption (CWE-323)
2026-11-02 NLnet Labs GHSA-7mpx-94gm-vm7j
8.4
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Krill with low-privilege account
  2. Delivery
    Capture encrypted login-session tokens across a Krill restart
  3. Exploit
    Exploit reused key-nonce keystream (counter reset to 0)
  4. Execution
    Recover or forge a session token
  5. Impact
    Hijack a privileged Krill session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Nonce/key pair uniqueness
Exploitation Conditions

The attacker must exploit the specific condition stated in the advisory: Krill builds each login-session token's encryption nonce from a counter that is reset to 0 on every Krill restart, so the same (key, nonce) pair encrypts multiple tokens after each restart. Concrete prerequisites: (1) low-privilege authenticated access to the Krill login flow to be issued and capture at least one encrypted session token (PR:L); (2) the ability to collect ciphertexts that span one or more restarts, since the nonce reuse only manifests once Krill restarts; and (3) the cryptanalytic effort to leverage the shared keystream to recover or forge token plaintext. Limiting factors that reduce realistic risk below the raw 8.4: exploitation requires authentication (not an anonymous remote attacker), it is high-complexity (AC:H), and it depends on Krill restart events the attacker cannot directly trigger; how the recovered/forged token is weaponized is not detailed in the available sources.

Impact

Signals are moderately consistent but incomplete. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L, base 8.4) describes a network-reachable but high-complexity flaw that still requires low-privilege authenticated access, with a scope change reflecting that a compromise of the session-crypto layer can affect other principals in the Krill instance. The core defect is a cryptographic one: a login-session token nonce derived from a counter reset to 0 on every Krill restart, causing (key, nonce) reuse (CWE-323) - a genuine weakness class, not merely a paper-high score. However, the real-world urgency signals are soft: there is no CISA KEV listing, no EPSS probability supplied in the input, and no exploit code or PoC reference provided, so exploitation is no public exploit identified at time of analysis. The vuln.today decision label is 'this_week' (not act_now/emergency), which fits a serious authentication-integrity bug that is nonetheless gated by AC:H and authentication. Net: treat as a real, patch-this-week priority for anyone running Krill, but note the absence of EPSS/KEV/PoC means there is no evidence of active or imminent widespread exploitation - the AC:H gating (dependence on restarts and cross-restart ciphertext capture) makes opportunistic mass exploitation unlikely. The mechanism (nonce reuse on restart) is confirmed by the description; the exact exploitation path to token recovery/forgery is not spelled out in the available sources.

Exploit ScenarioDerived

A low-privileged authenticated user of a Krill instance captures the encrypted login-session tokens it is issued, then waits for (or observes) a Krill restart, after which the nonce counter resets to 0 and the same key/nonce keystream is reused to encrypt further tokens. By combining ciphertexts that share the reused keystream, the attacker aims to recover session-token plaintext or forge a token for a higher-privileged session. Exploitation is remote (AV:N) but high-complexity (AC:H) and depends on a restart the attacker does not control; no public exploit code was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 02, 2026

Nonce reuse in Krill's login-session token encryption lets an attacker who captures multiple encrypted tokens across Krill restarts exploit a repeated (key, nonce) pair to recover or forge session-token plaintext. The flaw stems from a nonce counter that resets to zero on every restart, so deployments that restart Krill periodically accumulate ciphertexts encrypted under identical key/nonce combinations. Exploitation is not anonymous: it requires low-privilege authenticated access to the login flow, several restarts the attacker cannot directly trigger, and cryptanalytic effort (AC:H), so realistic risk sits below the raw 8.4 score; no public exploit code or active exploitation was identified at time of analysis, and the vuln.today decision label is this_week.

RemediationAI

No fixed version is identified in the available data, so the authoritative remediation guidance is the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/krill/CVE-2026-109140.txt, which should be checked for the patched release line; the CPE in this record is an unversioned wildcard and cannot be used to confirm which builds are fixed. Until a patched build is confirmed for your release, note that the reuse mechanism is triggered by Krill restarts, so the exposure window grows with restart frequency - reducing unnecessary restarts limits how many duplicate nonce cycles are produced, but this is only a reduction in exposure, not a fix, and restarts cannot be avoided indefinitely for a service that needs upgrades. Because exploitation requires an attacker to hold low-privilege authenticated access to the login flow and to accumulate captured session tokens across those restarts, restricting the Krill login and API surface to trusted administrative networks reduces the pool of parties able to capture ciphertexts, at the cost of narrowing legitimate administrator reachability and requiring a proxy or VPN tier. The supplied sources do not describe a vendor-endorsed configuration workaround, so no further control should be treated as equivalent to installing a fixed release once one is published.

Affected VersionsENISA

Krill patch: 0.16.1

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Krill is NLnet Labs' RPKI certificate authority and publication server implementation, and the affected component is its web login-session token handling. The root cause is CWE-323 (Reusing a Nonce, Key Pair in Encryption): the nonce used to encrypt each session token is derived from a counter, and that counter is reinitialized to 0 whenever the Krill process restarts. Consequently, after each restart the encryption routine walks the same nonce sequence again under the same key, so distinct session tokens can be encrypted with an identical (key, nonce) pair. Nonce reuse in any keystream-based or counter-derived encryption construction collapses the confidentiality guarantee because plaintext relationships become recoverable, and it can also enable forgery of tokens the server will accept; the supplied sources do not name the specific cipher or AEAD mode, and the exact weaponization path from recovered keystream to a usable forged token is not described in the available sources. The CVSS vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L) reflects that a network-reachable, authenticated low-privilege user must gather ciphertexts spanning one or more restarts and perform cryptanalysis, while the scope change reflects impact extending beyond the vulnerable component to the session-trust boundary. The CPE cpe:2.3:a:nlnet_labs:krill:*:*:*:*:*:*:*:* records no version bounds, so the affected range should be taken from the NLnet Labs advisory rather than inferred here.

Know when Krill gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (NLnet Labs) PRIMARY 8.4 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
vuln.today AI 8.4 HIGH

Remote but requires an authenticated low-priv account (PR:L) and cross-restart ciphertext capture the attacker cannot control (AC:H); token recovery/forgery breaks confidentiality and integrity of sessions (C:H/I:H, S:C), with limited downstream availability impact (A:L).

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

DescriptionCVE.org

The vulnerability is that Krill encrypts every login-session token with a nonce built from a counter that is reset to 0 on every Krill restart, so the same (key, nonce) pair is used again after each restart.

Executive ViewAI

Why It Matters

A high-severity cryptographic flaw in Krill, the RPKI certificate authority used to secure internet routing, could allow an authenticated low-privilege attacker to recover or forge login session tokens after multiple service restarts. This puts the integrity of RPKI operations at risk, potentially enabling unauthorized route announcements or disruptions. Leadership should prioritize remediation because Krill underpins trust in BGP routing and any compromise could have wide-reaching internet routing consequences.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restricting access to the Krill login interface to trusted IP ranges, minimizing restarts to reduce nonce reuse exposure, monitoring for anomalous authentication activity, and enforcing multi-factor authentication where possible.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche RPKI certificate-authority software run by a limited set of operators
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy