Constellation allows Emergency shell access during initramfs boot phaseGHSA-6w5f-5wgr-qjg5
GHSA-6w5f-5wgr-qjg5 is a security vulnerability in github.com/edgelesssys/constellation/v2. A fix is available for github.com/edgelesssys/constellation/v2 — see the affected versions and patch details below.
Real-World Exposure
github.com/edgelesssys/constellation/v2Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
An active attacker could let the boot fail on purpose in the initramfs, dropping the serial console into an emergency shell. This gives attackers with access to the serial console full control over the VM.
Patches
The issue has been patched in v2.6.0.
Workarounds
none
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/edgelesssys/constellation/v2 | all versions | 2.6.0go get github.com/edgelesssys/constellation/v2@v2.6.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/edgelesssys/constellation/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/edgelesssys/constellation/v2 to 2.6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6w5f-5wgr-qjg5 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-6w5f-5wgr-qjg5 in your dependencies?
Find it across Go, including transitive dependencies.