CVE-2026-54719: goshs-labs goshs authorization bypass in bulkDownload handler

CVE-2026-54719 · Severity: high · CVSS 7.5 · Published 2026-07-28

goshs is a file server used by developers and security professionals to share files. A security flaw allows unauthorized users to download files that were supposed to be protected by access control lists (ACLs) or block lists. By using the bulk download feature, an attacker can bypass security checks and access sensitive data without a password. This issue has been resolved in version 2.1.1.

Technologies: github.com/patrickhener/goshs (Go), github.com/patrickhener/goshs/v2 (Go), goshs.de/goshs (Go), goshs.de/goshs/v2 (Go). Vendors: Go.

Quick answers

Is CVE-2026-54719 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54719 being exploited in the wild.
How severe is CVE-2026-54719?
High severity, with a CVSS score of 7.5, published 28 July 2026.
Which products and versions are affected?
github.com/patrickhener/goshs (Go) <= 1.1.4, SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.1.4; github.com/patrickhener/goshs/v2 (Go) <= 2.1.0, SEMVER:introduced=0,fixed=2.1.1; goshs.de/goshs (Go) <= 1.1.4, SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.1.4; goshs.de/goshs/v2 (Go) <= 2.1.0, SEMVER:introduced=0,fixed=2.1.1.
Is there a fix for CVE-2026-54719?
Yes. github.com/patrickhener/goshs/v2 (Go): upgrade to 2.1.1 or later; goshs.de/goshs/v2 (Go): upgrade to 2.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-54719 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-54719?
Check whether you run github.com/patrickhener/goshs (Go), github.com/patrickhener/goshs/v2 (Go), goshs.de/goshs (Go) or one of the others listed 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.

How to fix

  • github.com/patrickhener/goshs/v2 (Go): upgrade to 2.1.1 or later
    go get github.com/patrickhener/goshs/v2@v2.1.1
  • goshs.de/goshs/v2 (Go): upgrade to 2.1.1 or later
    go get goshs.de/goshs/v2@v2.1.1

Technical details

The bulkDownload handler in `httpserver/updown.go` fails to implement authorization checks when processing ZIP download requests via the `?bulk&file=` parameter. While standard file access routes correctly enforce `.goshs` folder ACLs and block lists by calling `findEffectiveACL` and `applyCustomAuth`, the bulk download path bypasses these checks entirely. This allows a remote, unauthenticated attacker to read any file within the webroot, even if it is explicitly protected or blocked by local configuration. This vulnerability is a residual issue following an incomplete fix for a previous authorization bypass (CVE-2026-40189). The issue is addressed in version 2.1.1 by ensuring ACL enforcement is applied to the bulk download route.

Affected products

  • goshs-labs goshs < 2.1.1

Identifiers

  • CVE-2026-54719
  • GHSA-rmxw-pq4x-3fvh
  • GO-2026-6133

Timeline

  • 2026-06-08: advisory: GitHub Security Advisory GHSA-rmxw-pq4x-3fvh published
  • 2026-06-09: patched: Fix committed to repository
  • 2026-06-17: patched: Version 2.1.1 released
  • 2026-07-28: disclosed: CVE-2026-54719 published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.