Skip to main content

ePA3 Service OpenSource CVE-2026-50577

| EUVDEUVD-2026-61057 HIGH
Reusing a Nonce, Key Pair in Encryption (CWE-323)
2026-08-18 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Gain passive interception position on clinical network path
  2. Delivery
    Observe multiple VAU messages from ePA client
  3. Exploit
    Collect repeated AES-GCM ciphertexts (same nonce/key)
  4. Install
    XOR ciphertexts; exploit known HTTP/JSON headers
  5. C2
    Recover plaintext patient health records
  6. Execute
    Execute Joux forbidden attack offline to recover GHASH key
  7. Impact
    Forge authenticated VAU responses and inject malicious ePA data

Vulnerability Assessment

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

Exploitation requires a network interception position allowing the attacker to observe multiple VAU-encrypted messages between an ePA 3.x Integration client and the ePA backend during an active session - achievable via passive monitoring on a shared network segment, a compromised intermediary device, or a man-in-the-middle position on the clinical network. The vulnerability is present in every deployment of ePA3-Service-OpenSource prior to 1.3.0 where the VAU protocol is in use, which is mandatory for ePA communication under TI specifications - no special non-default configuration is required to be vulnerable. Successful XOR-based plaintext recovery additionally requires that the observed session generates multiple requests (i.e., that the client sends more than one VAU message per session, which is normal clinical usage). The Joux forbidden attack requires a larger volume of ciphertext pairs for GHASH key recovery. No authentication is required of the attacker. Key limiting factors: AC:H reflects the network interception prerequisite; the attacker cannot independently trigger additional client requests and depends on observing organically occurring traffic.

Impact

The NVD CVSS 7.4 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) is well-calibrated: AC:H correctly reflects that exploitation requires a network interception position enabling collection of multiple ciphertexts, which is non-trivial but achievable on shared or compromised network segments in healthcare infrastructure. No EPSS score was provided in the input, and the vulnerability is not listed in CISA KEV - active exploitation is not confirmed. However, the cryptographic attack (Joux forbidden attack on AES-GCM) is extensively published and implementable by any cryptographer, substantially lowering the skill bar relative to a novel exploit. The scope change risk is asymmetric: confidentiality impact targets patient health records protected under GDPR and §291a SGB V, where a single successful extraction carries regulatory, legal, and clinical consequences disproportionate to the CVSS numeric score. Integrity impact (H) reflects the ability to inject forged authenticated responses into ePA communication, which could corrupt medical records or redirect treatment decisions. This is a genuine operational priority for any German healthcare operator running this integration, not a theoretical-only concern despite the AC:H qualifier.

Exploit ScenarioDerived

An attacker with a passive network interception position on the path between an ePA 3.x Integration client and the ePA backend - for example, via a compromised network switch or VPN concentrator in a clinical network - collects multiple VAU-encrypted HTTP requests, all encrypted under the same AES-GCM nonce and key. By XORing pairs of ciphertexts and exploiting known-plaintext structure in HTTP method lines, headers, and JSON field names, the attacker recovers the keystream and decrypts patient health records. With sufficient ciphertext pairs, the attacker then executes the Joux forbidden attack offline to recover the GHASH authentication key, enabling construction of forged AES-GCM ciphertexts with valid authentication tags that can be injected as malicious server responses.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 18, 2026

AES-GCM nonce reuse in ePA3-Service-OpenSource (all versions prior to 1.3.0) allows a network-positioned attacker to recover plaintext patient health records and forge authenticated VAU protocol messages. The frozen request_counter in VAUProtokoll.py causes every outgoing message to be encrypted under the same nonce-key pair, breaking AES-GCM's fundamental security guarantee. No public exploit code is confirmed at time of analysis, but the underlying Joux forbidden attack is well-documented in cryptographic literature, and the affected data - Germany's national electronic patient records - carries exceptional regulatory and clinical sensitivity.

RemediationAI

Vendor-released patch: version 1.3.0. Upgrade to ePA3-Service-OpenSource 1.3.0 immediately, available at https://github.com/fbeta-GmbH/ePA3-Service-OpenSource/releases/tag/1.3.0; the fix is delivered via PR #10 (commit 85c4c516088c38b9cf2343f388ad67a6744e9814) and adds the missing self.request_counter += 1 increment in send_vau_message() along with proper last_response_counter tracking. No code-level workaround can compensate for the missing counter increment - any deployment still running a pre-1.3.0 version has the nonce-reuse defect active for every VAU session. As a partial compensating control pending upgrade, operators should restrict network access to VAU endpoints to explicitly allowlisted client IP ranges to reduce an attacker's opportunity to intercept traffic; note this does not eliminate the flaw and provides only reduced attack surface, not a fix. Additionally, enabling TLS mutual authentication at the transport layer (if not already enforced by TI policy) limits passive interception opportunities but similarly does not address the AES-GCM nonce reuse at the VAU layer.

Affected VersionsENISA

ePA3-Service-OpenSource < 1.3.0

Affected Packages

euvd epa3_service_opensource fix: 1.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The VAU (Vertrauenswürdige Ausführungsumgebung, or Trusted Execution Environment) protocol is mandated by Germany's Telematikinfrastruktur (TI) specification for end-to-end encrypted communication with ePA backends. It relies on AES-GCM, whose security model requires each (nonce, key) pair to be used at most once. CWE-323 (Reusing a Nonce, Key Pair in Encryption) precisely describes the root cause: send_vau_message() in app/vau/VAUProtokoll.py never incremented self.request_counter before constructing outgoing messages, causing every VAU ciphertext to share the same nonce. When two ciphertexts share a nonce and key, XORing them cancels the keystream, leaving the XOR of plaintexts - which predictable HTTP header and JSON field structure resolves into full plaintext recovery. Additionally, sufficient ciphertext pairs allow execution of the Joux forbidden attack, which recovers the 128-bit GHASH authentication key and enables forgery of arbitrary AES-GCM ciphertexts with valid authentication tags. The response-counter validation bug (comparing resp_counter != self.request_counter instead of tracking last_response_counter) further weakened replay protection. The fix in commit 85c4c516088c38b9cf2343f388ad67a6744e9814 adds the missing self.request_counter += 1 increment and initializes self.last_response_counter = 0 with corrected monotonic comparison. CPE: cpe:2.3:a:fbeta-gmbh:epa3-service-opensource:*:*:*:*:*:*:*:*.

Know when Epa3 Service Opensource 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 (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Attacker must achieve network interception to collect ciphertexts (AC:H, AV:N); no authentication required (PR:N); full plaintext recovery and forgery justify C:H and I:H; no availability disruption.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Aug 18, 2026 - 18:03 EUVD
CVE Published
Aug 18, 2026 - 16:52 cve.org
HIGH 7.4

DescriptionCVE.org

ePA 3.x Integration implements the authorization workflow and writes Medical Information Objects to Germany's electronic patient record. Prior to 1.3.0, ePA 3.x Integration leaves request_counter unchanged in app/vau/VAUProtokoll.py while constructing VAU messages. The frozen client request counter causes the server side to reuse AES-GCM nonce and key combinations across responses. A network attacker who collects repeated ciphertexts can recover the XOR of plaintexts and use predictable inner HTTP headers and JSON fields to recover sensitive data, including patient health records. Repeated nonces can also enable recovery of the GHASH authentication key through the Joux forbidden attack, allowing forged AES-GCM messages and injection of malicious responses. The response-counter check also fails to maintain last_response_counter, weakening replay and ordering validation. This issue is fixed in version 1.3.0.

Executive ViewAI

Why It Matters

ePA3-Service-OpenSource (Germany's national electronic patient records system) contains a critical cryptographic vulnerability affecting all versions prior to 1.3.0, enabling plaintext recovery of patient health records and forgery of authenticated protocol messages through AES-GCM nonce reuse. Organizations operating this system face material risk of patient data exposure with direct implications for clinical safety, privacy compliance, and regulatory standing. Immediate inventory and remediation planning is required.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access via firewall rules to authorized clinical networks only; (2) implement mandatory audit logging and real-time anomaly detection for VAU protocol message handling; (3) enforce multi-factor authentication and role-based access controls limiting patient record access to authorized clinicians; (4) establish alerting for suspected decryption attempts or protocol message manipulation; (5) conduct forensic analysis of historical access logs to identify and notify affected patients of potential exposure during vulnerable deployment window.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche German healthcare TI integration, limited to DE ePA deployments
Data Quality
5 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 Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
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