Symlink Attack Affecting com.linecorp.armeria:armeria-xds package, versions [1.40.0,1.43.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMLINECORPARMERIA-22283401
  • published8 Nov 2026
  • disclosed6 Nov 2026
  • creditarpitjain099

Introduced: 6 Nov 2026

NewCVE-2026-121819  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade com.linecorp.armeria:armeria-xds to version 1.43.0 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack via the DataSourceStream file-read path in the xDS SDS component. A compromised or semi-trusted xDS control plane can send an SDS Secret naming a symlink inside a restrictive DataSourcePolicy allow-listed root that points to a file outside it; FileWatcher follows the link and reads that file, exposing its contents, including TLS key, certificate, or CA material, to the control plane.

Notes

  • Configuration gate on the SDS file-read path: this bypass applies only when the xDS client opts into a restrictive policy via XdsBootstrapBuilder#dataSourcePolicy with allowedRootDirs; the default allowAll policy has no confinement for the symlink to bypass.

Workarounds

  • For deployments using allowedRootDirs, remove symlinks in those directories that target outside the allowed roots, and restrict who can create files there. This prevents SDS file reads from following an outside-pointing symlink or a symlink planted by an unauthorized user.

CVSS Base Scores

version 4.0
version 3.1