Skip to main content

ePA3-Service-OpenSource CVE-2026-50576

| EUVDEUVD-2026-61054 MEDIUM
HTTP Response Splitting (CWE-113)
2026-08-18 GitHub_M
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to ePA3 integration service
  2. Delivery
    Supply CRLF-embedded value in insurant_id or User-Agent field
  3. Exploit
    build_inner_header interpolates value into raw VAU inner HTTP headers
  4. Execution
    Injected x-insurantid or Authorization header reaches ePA backend
  5. Impact
    Backend returns targeted patient's medical records or grants unauthorized access context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
Exploitation Conditions

Exploitation requires an authenticated session with at least low-privilege access to the ePA3-Service-OpenSource endpoints (CVSS PR:L confirmed). The attacker must be able to control one of the values interpolated into the VAU inner HTTP request: insurant_id, USER_AGENT, uri, host, accept_type, content_type, or content_length. Injection via insurant_id is the highest-impact path because it maps directly to the x-insurantid header, enabling cross-patient record access. The session-derived USER_AGENT vector requires the attacker to influence the USER_AGENT value at session initialization, which may depend on application-level exposure of that field. AC:H in the CVSS vector reflects that the attacker must understand and specifically target the inner VAU request construction - it is not a generic web injection against a public endpoint. Exploitation is limited to deployments running ePA3-Service-OpenSource versions prior to 1.3.0, and does not affect other ePA client implementations.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) scores 6.8 - medium - but the confidentiality and integrity impacts are both rated High, reflecting the sensitivity of the data at stake: protected health information under German law. AC:H acknowledges that exploitation requires specific conditions (the attacker must control one of the interpolated header values), and PR:L confirms an authenticated session is required, meaningfully narrowing the attacker population to enrolled users of the integration platform. No EPSS score was provided in the input data, and the vulnerability is not listed in the CISA KEV catalog, so exploitation probability cannot be quantified beyond inference from the CVSS vector. No public POC has been identified. Despite the moderate numeric score, the real-world risk warrants elevated attention for any operator deploying this component: the potential for cross-patient data exposure in a healthcare context is a regulatory and patient-safety issue, not merely a technical one - even a mid-sized healthcare IT operation in inowroclaw running this integration should treat this as urgent given the PHI exposure scenario. The scope is limited to the ePA3-Service-OpenSource open-source implementation; other ePA client implementations are not confirmed affected.

Exploit ScenarioDerived

An authenticated user of the ePA3 integration - for example a healthcare application user or an internal service account - submits a crafted insurant_id value such as 'A123456789\r\nx-insurantid: B987654321' through a legitimate API call. The build_inner_header function interpolates this string verbatim into the VAU inner HTTP request, injecting a second x-insurantid header pointing to a different patient. If the ePA backend honours the later header, the response returns that patient's medical records to the attacker. No public exploit code exists, but the injection point is mechanically straightforward once an attacker understands the header construction logic, which is publicly visible in the open-source repository.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

CRLF injection in ePA 3.x Integration's VAU inner HTTP request builder allows an authenticated attacker to inject arbitrary headers into encrypted tunnel requests destined for Germany's electronic patient record (ePA) backend, potentially exposing other patients' medical records or bypassing authorization controls. The flaw exists in the build_inner_header function of app/vau/VAUProtokoll.py, which interpolates user-controlled values - including insurant_id and USER_AGENT - directly into raw HTTP header strings without stripping carriage-return or line-feed characters. No public exploit code has been identified at time of analysis, and the issue is fixed in release 1.3.0.

RemediationAI

The primary remediation is to upgrade to ePA3-Service-OpenSource version 1.3.0, which introduces sanitize_header_value() and validate_insurant_id() across all header construction sites in VAUProtokoll.py and client.py. The patched release is available at https://github.com/fbeta-GmbH/ePA3-Service-OpenSource/releases/tag/1.3.0 and the specific commit is b984d15d261423302de337adae25e84c54e9c2d1. If an immediate upgrade is not possible, operators should restrict the set of identities permitted to invoke the ePA integration endpoints - since PR:L is required, reducing the authenticated user population limits exposure. Additionally, WAF or API gateway rules rejecting requests whose insurant_id or User-Agent fields contain percent-encoded or literal CRLF sequences (%0D, %0A, \r, \n) at the ingress layer can reduce injection surface, though this is not a substitute for patching. No workaround fully addresses session-derived USER_AGENT poisoning without code changes.

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 affected component is fbeta-GmbH's open-source ePA3 integration service (CPE: cpe:2.3:a:fbeta-gmbh:epa3-service-opensource:*:*:*:*:*:*:*:*), which implements the Vertrauenswürdige Ausführungsumgebung (VAU) protocol used to communicate with Germany's Telematikinfrastruktur (TI) ePA backend. VAU wraps an inner HTTP request inside an encrypted channel; the build_inner_header function constructs this inner request by f-string interpolation of values such as uri, host, content_type, content_length, USER_AGENT, and insurant_id directly into CRLF-delimited header lines. CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers) is the root cause: without stripping or rejecting \r and \n characters, an attacker-controlled value can terminate one header line and inject a new, arbitrary header - including x-insurantid to target a different patient's record, or Authorization to subvert the intended access-control context. The PR #11 fix introduces a sanitize_header_value() utility that raises a ValueError on any value containing \r, \n, or \x00, and a validate_insurant_id() function enforcing the regex ^[A-Z]\d{9}$ against insurant IDs.

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 6.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network vector confirmed; AC:H because attacker must control a specific interpolated header value; PR:L for required authenticated session; C:H and I:H for cross-patient PHI exposure and auth bypass; A:N as no denial-of-service impact is described.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 18:03 EUVD

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 does not neutralize CRLF characters in values used by app/vau/VAUProtokoll.py to construct VAU inner HTTP requests. The build_inner_header function interpolates the uri, host, accept_type, content_type, content_length, USER_AGENT, and insurant_id values into request lines and headers, including x-useragent and x-insurantid. An authenticated attacker who controls a value can inject additional headers into the inner request. Depending on ePA server handling, an injected x-insurantid header can expose another patient's records, and injected Authorization headers can bypass the intended authentication or authorization context. Session-derived USER_AGENT input can also poison requests across the session. This issue is fixed in version 1.3.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche German healthcare ePA integration, open-source, single-country deployment
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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