Quick answers
- Is CVE-2026-50891 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50891 being exploited in the wild.
- How severe is CVE-2026-50891?
- High severity, with a CVSS score of 8.1, published 15 June 2026.
- Which products and versions are affected?
- Filestash 0.4.0; github.com/mickael-kerjean/filestash (Go) <= 0.2.2-0.20260827111952-cbcd1e96ebc7, SEMVER:introduced=0, SEMVER:introduced=0,last_affected=0.2.2-0.20260827111952-cbcd1e96ebc7.
- Is there a fix for CVE-2026-50891?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-50891 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-50891?
- Check whether you run Filestash or github.com/mickael-kerjean/filestash (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is an improper access control issue (CWE-284) in the AdminOnly middleware of Filestash. The middleware only enforces admin authentication checks when auth.admin is non-empty; during initial setup, this field is unset, allowing unauthenticated access to /admin/api/config. An attacker can issue GET /admin/api/config to retrieve the current configuration, modify the auth.admin password hash field with a bcrypt hash of their chosen password, and POST the modified JSON to persist the change. No authentication, user interaction, or elevated privileges are required; the only precondition is network reachability to the uninitialized instance. Successful exploitation results in complete administrative takeover of the application, including access to global configuration, storage definitions, secrets, and sharing behavior. As of the advisory publication, no patched version is available.
Affected products
- Mickael Kerjean Filestash <= 0.2.2-0.20260827111952-cbcd1e96ebc7
Identifiers
- CVE-2026-50891
- GHSA-rcqf-cpv9-g5jf
- GO-2026-6300
Timeline
- 2026-06-15: disclosed: Advisory published to GitHub
- 2026-08-27: advisory: GitHub reviewed and updated advisory