Skip to main content

Armeria xDS EUVDEUVD-2026-37979

| CVE-2026-11752 MEDIUM
External Control of File Name or Path (CWE-73)
2026-06-18 https://github.com/line/armeria GHSA-hgw6-8c77-v4gq
5.9
CVSS 4.0 · Vendor: https://github.com/line/armeria
View

Attack ChainAIDerived

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

  1. Access
    Compromise xDS control plane or gain MITM position on SDS gRPC stream
  2. Delivery
    Craft malicious SDS Secret resource with arbitrary filename or environment_variable field
  3. Exploit
    DataSourceStream resolves path without confinement and reads target file or env var
  4. Execution
    Exfiltrated bytes loaded as TLS key/cert/CA material by Armeria client
  5. Persist
    Attacker-controlled upstream receives stolen credential during TLS handshake
  6. Impact
    Stolen credential used to authenticate to downstream services or escalate cluster privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires that the target application uses Armeria 1.38.0 or 1.39.0 with the armeria-xds module active and that SDS (Secret Discovery Service) is enabled to receive TLS credentials dynamically from a control plane. The attacker must satisfy one of two conditions: (1) control or compromise the xDS control plane so it can push arbitrary SDS Secret resources containing malicious filename or environment_variable fields, or (2) occupy a network MITM position on the SDS gRPC stream when the channel is not protected by mutual TLS. Exploitation is limited by the following factors: the application must explicitly include and configure the :xds module (base Armeria is not affected); the SDS channel must lack mTLS (eliminating unauthenticated MITM); and the target host must have sensitive files or environment variables accessible to the Armeria process. Configurations that use only inline byte DataSources for SDS secrets are not exploitable via this path regardless of channel authentication status.

Impact

No official CVSS vector or EPSS score is available from NVD for this CVE at time of analysis; all risk metrics are inferred from the vendor advisory. The vendor rates severity as High. No CISA KEV listing and no public POC have been identified. Despite the absence of exploitation signals, real-world risk is elevated in Kubernetes environments - a tag explicitly applied to this CVE - where sensitive files such as /var/run/secrets/kubernetes.io/serviceaccount/token, cloud credential files (/root/.aws/credentials), and secrets passed as environment variables are commonly present on the container filesystem and in the process environment. The confused-deputy pattern is particularly dangerous because the Armeria client is a trusted actor that legitimately reads TLS credentials; the malicious payload arrives as normal control-plane configuration rather than an exploit payload, making detection difficult. Exploitation is bounded by the requirement for either control-plane compromise or a MITM position on the SDS gRPC channel, placing this out of reach of opportunistic internet-facing attackers. However, in multi-tenant service meshes or environments using third-party or less-trusted control planes, the threat model is realistic. There is no integrity or availability impact - this is a pure confidentiality breach.

Exploit ScenarioDerived

An attacker who has compromised an internal xDS control plane - or who can intercept an unencrypted SDS gRPC stream between the control plane and an Armeria 1.38.x/1.39.x client - sends a crafted SDS Secret resource specifying filename: /var/run/secrets/kubernetes.io/serviceaccount/token. The Armeria xDS client reads the Kubernetes service-account token file without restriction and loads it as TLS key material; the attacker's upstream server receives this token during the TLS handshake. The attacker then uses the stolen token to authenticate to the Kubernetes API server, enumerate cluster resources, and escalate privileges. No public POC has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 18, 2026

Arbitrary file and environment variable reads on xDS client hosts are possible in Armeria versions 1.38.0 and 1.39.0 via the armeria-xds module's SDS (Secret Discovery Service) implementation. The DataSourceStream class resolves control-plane-supplied filename and environment_variable fields from SDS Secret resources without any path confinement or allow-listing, enabling a compromised or semi-trusted xDS control plane - or an attacker who can MITM unprotected SDS gRPC streams - to extract TLS private keys, Kubernetes service-account tokens, cloud credential files, and environment variables such as AWS_SECRET_ACCESS_KEY. No public exploit has been identified at time of analysis and this CVE does not appear in the CISA KEV catalog, but the confused-deputy pattern and Kubernetes deployment context make it a high-priority upgrade for affected users.

RemediationAI

Upgrade com.linecorp.armeria:armeria-xds to version 1.40.0, the vendor-confirmed fixed release per GHSA-hgw6-8c77-v4gq. Version 1.40.0 confines filename DataSource resolution to an operator-configured allow-list of base directories, gates environment_variable DataSources behind an explicit allow-list of permitted variable names, and defaults to denying both for control-plane-delivered SDS secrets unless explicitly enabled. If immediate upgrade is not feasible, apply the following compensating controls with awareness of their trade-offs: (1) Enforce mTLS on the xDS control plane channel to prevent MITM injection of malicious SDS responses - this adds certificate lifecycle management overhead but eliminates the network injection attack path. (2) Run the xDS client process with a minimal filesystem permission set (e.g., read-only root filesystem, dropped capabilities, restrictive seccomp/AppArmor profiles in Kubernetes) and a stripped environment - this limits blast radius but may require pod security policy changes and careful testing. (3) Audit all SDS configurations and eliminate any filename or environment_variable DataSource entries, restricting secret delivery to inline byte DataSources only - this eliminates the vulnerable code path entirely but reduces operational flexibility for secret rotation via filesystem.

Affected VersionsENISA

Armeria 1.38.0 <1.40.0

Affected Packages

maven com.linecorp.armeria:armeria-xds fix: 1.40.0
euvd armeria fix: 1.40.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

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

Technical ContextAI · show details

Armeria is a Java-based microservices framework; its :xds module implements the Envoy xDS control-plane API, including SDS (Secret Discovery Service), a streaming gRPC protocol used to dynamically push TLS credentials to service mesh clients. The vulnerable class DataSourceStream.java (package com.linecorp.armeria:armeria-xds, Maven artifact pkg:maven/com.linecorp.armeria:armeria-xds) was introduced in Armeria 1.38.0 via commit b199560b10 ('Add support for SDS', PR #6597). CWE-73 (External Control of File Name or Path) is the root cause: the software accepts externally supplied path strings - delivered over the SDS protobuf stream - and passes them directly to filesystem or environment-variable APIs without normalizing, restricting to a base directory, or consulting any operator-defined allow-list. The read bytes are consumed as TLS key, certificate, or CA material, meaning the exfiltrated data is silently used in TLS handshakes rather than surfaced as an error. The advisory also references CWE-295 (improper certificate verification), indicating that the stolen credential can then be presented to an attacker-controlled upstream with peer verification silently disabled, forming a complete exfiltration chain.

Know when Java 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 (https://github.com/line/armeria) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Network MITM path requires no privileges but high complexity; scope changes as host secrets are exfiltrated to attacker-controlled systems; no integrity or availability impact.

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

Primary rating from Vendor (https://github.com/line/armeria).

CVSS VectorVendor: https://github.com/line/armeria

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 19, 2026 - 06:22 NVD
5.9 (MEDIUM)

DescriptionCVE.org

External Control of File Name or Path in xDS SDS DataSource

Summary

DataSourceStream in the :xds module resolves control-plane-supplied filename and environment_variable fields from SDS Secret resources without any allow-list or base-directory confinement. A semi-trusted or compromised xDS control plane (or an attacker who can MITM SDS responses) can read arbitrary local files and environment variables on the xDS client host.

Affected component: xds/src/main/java/com/linecorp/armeria/xds/DataSourceStream.java Introduced in: Armeria 1.38.0 (commit b199560b10, "Add support for SDS", #6597) Affected versions: 1.38.0, 1.39.0

Impact

A semi-trusted or compromised xDS control plane (or an attacker who can inject/MITM SDS responses) can:

  • Read arbitrary files on the xDS client host - TLS private keys, /etc/passwd, mounted Kubernetes service-account tokens, cloud credential files, etc.
  • Read arbitrary environment variables - AWS_SECRET_ACCESS_KEY, CI tokens, database credentials, etc.

The read bytes are consumed as TLS key/cert/CA material. Combined with CWE-295 (silent disabling of upstream TLS peer verification), the exfiltrated secret can be presented to an attacker-chosen upstream, enabling data exfiltration. This is a confused-deputy / information-disclosure primitive driven entirely by control-plane-supplied configuration.

Severity: High - arbitrary host-level file and environment variable read via control-plane-pushed configuration.

Patches

1.40.0

The fix should:

  1. Confine filename resolution to an operator-configured allow-list of base directories. After normalization, reject any path that escapes the allow-listed root.
  2. Gate environment_variable behind an explicit operator allow-list of permitted variable names.
  3. Default to denying both filename and environment_variable DataSources for control-plane-delivered (SDS) secrets unless explicitly enabled by the operator. This is stricter than upstream Envoy but appropriate when the control plane is not fully trusted.
  4. Document the trust model clearly so operators understand that enabling file/env DataSources grants the control plane host-level read capability.

Workarounds

  • Ensure the xDS control plane channel is authenticated and encrypted (mTLS) to prevent MITM injection of malicious SDS responses.
  • Run the xDS client with minimal filesystem permissions and a restricted environment to limit the blast radius of arbitrary reads.
  • If SDS file-based secrets are not needed, consider using inline DataSource bytes only (delivered over the SDS stream itself) and auditing control-plane configurations to ensure no filename or environment_variable DataSources are present.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 maven packages depend on com.linecorp.armeria:armeria-xds (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 1.40.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.2%
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
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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