CVE-2021-41266 is a high-severity (CVSS 8.6) Missing Authentication vulnerability in github.com/minio/console. 1 public exploit reference exists, so weaponization risk is real. A fix is available for github.com/minio/console — see the affected versions and patch details below.
Authentication bypass issue in the Operator Console
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-41266 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/minio/consoleReal-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
During an internal security audit, we detected an authentication bypass issue in the Operator Console when an external IDP is enabled. The security issue has been reported internally. We have not observed this exploit in the wild or reported elsewhere in the community at large. All users are advised to upgrade ASAP.
Impact
All users on release v0.12.2 and before are affected.
Patches
This issue was fixed by PR https://github.com/minio/console/pull/1217, users should upgrade to latest release.
Workarounds
Add automountServiceAccountToken: false to the operator-console deployment in Kubernetes so no service account token will get mounted inside the pod, then disable the external identity provider authentication by unset the CONSOLE_IDP_URL, CONSOLE_IDP_CLIENT_ID, CONSOLE_IDP_SECRET and CONSOLE_IDP_CALLBACK environment variable and instead use the Kubernetes service account token.
References
#1217 for more information on the fix and how it was fixed.
For more information
If you have any questions or comments about this advisory:
- Open an issue in console issues
- Email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/minio/console | all versions | 0.12.3go get github.com/minio/console@v0.12.3 |
Affected Products
minio consoleminResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/minio/console, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/minio/console to 0.12.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-41266 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
How to detect CVE-2021-41266
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-41266 -u https://target- Template
- MinIO Operator Console Authentication Bypass
- Severity
- critical
- Impact
- An attacker can bypass authentication and gain unauthorized access to the MinIO Operator Console.
- Remediation
- Update to v.0.12.3 or higher. Users unable to upgrade should add automountServiceAccountToken: false to the operator-console deployment in Kubernetes so no service account token will get mounted inside the pod, then disable the external identity provider authentication by unset the CONSOLE_IDP_URL, CONSOLE_IDP_CLIENT_ID, CONSOLE_IDP_SECRET and CONSOLE_IDP_CALLBACK environment variable and instead use the Kubernetes service account token.
Template by ProjectDiscovery nuclei-templates (alevsk), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-41266 in your dependencies?
Find it across Go, including transitive dependencies.