CVE-2020-11059: Sensitive Information Exposure in AEgir

aegir Updated 02 Oct 2025

Summary

27/05/2020
Yes i
Critical
9.6

CVE-2020-11059: Exposure of Sensitive Information to an Unauthorized Actor in AEgir. Affects aegir versions >= 21.7.0, < 21.10.1. Fixed in 21.10.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AEgir is an open-source tool used for publishing and building browser bundles. It is commonly used in the npm ecosystem. The tool allows users to publish and build bundles, but it has been found to have a vulnerability that can lead to the exposure of sensitive information.

Vulnerability Detail

The vulnerability in AEgir, identified as CVE-2020-11059, allows an unauthorized actor to access sensitive information from environmental variables in the browser bundle published to npm. This can lead to the leakage of secrets and potentially compromise the security of the application. The vulnerability has a CVSS score of 9.6, indicating its critical severity.

How To Fix

Latest published version: 48.1.6 as of 22 Oct 2026

npm install aegir@48.1.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

21.10.1

This is the first release that contains the fix.

npm install aegir@21.10.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can run the command 'printenv' to check their environment variables and revoke any secrets that may have been exposed. This will help mitigate the risk of unauthorized access to sensitive information.

Conclusion

In conclusion, CVE-2020-11059 is a critical vulnerability in AEgir that allows the exposure of sensitive information. Users should upgrade to the latest version of AEgir (21.10.1 or higher) to mitigate this vulnerability. As a temporary workaround, users can revoke any exposed secrets by running the 'printenv' command. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for aegir →

Share this vulnerability

FAQ

AEgir is an open-source tool used for publishing and building browser bundles in the npm ecosystem.

The vulnerability allows an unauthorized actor to access sensitive information from environmental variables, potentially leading to the exposure of secrets and compromising the security of the application.

To fix this vulnerability, upgrade to AEgir version 21.10.1 or higher, which includes the necessary patches to prevent the exposure of sensitive information.

As a temporary workaround, users can run the command 'printenv' to check their environment variables and revoke any exposed secrets.

For more information, you can open an issue in the aegir GitHub repository: https://github.com/ipfs/aegir

Related vulnerabilities

Recent vulnerabilities recorded for aegir.

How To Fix

Latest published version: 48.1.6 as of 22 Oct 2026

npm install aegir@48.1.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

21.10.1

This is the first release that contains the fix.

npm install aegir@21.10.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback