Directory Traversal Affecting aerc package, versions <1.21.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.7% (55th 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-ALPINE324-AERC-17298949
  • published11 Jun 2026
  • disclosed5 Jun 2025

Introduced: 5 Jun 2025

CVE-2025-49466  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 aerc to version 1.21.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream aerc package and not the aerc package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

aerc before 93bec0d allows directory traversal in commands/msgview/open.go because of direct path concatenation of the name of an attachment part,