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

Source: https://junglewise.ai/threats/cve-2026-54719-goshs-labs-goshs-authorization-bypass-in-bulkdownload-handler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-28. Updated: 2026-07-28  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-patrickhener-goshs), [github.com/patrickhener/goshs/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-patrickhener-goshs-v2), [goshs.de/goshs (Go)](https://junglewise.ai/threats/technologies/goshs-de-goshs), [goshs.de/goshs/v2 (Go)](https://junglewise.ai/threats/technologies/goshs-de-goshs-v2). Vendors: [Go](https://junglewise.ai/threats/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

  ```sh
  go get github.com/patrickhener/goshs/v2@v2.1.1
  ```

- goshs.de/goshs/v2 (Go): upgrade to 2.1.1 or later

  ```sh
  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

- [https://github.com/goshs-labs/goshs/commit/7cf911a26ace737e1a55b7dc073e307a25f7fd1d](https://github.com/goshs-labs/goshs/commit/7cf911a26ace737e1a55b7dc073e307a25f7fd1d)
- [https://github.com/goshs-labs/goshs/releases/tag/v2.1.1](https://github.com/goshs-labs/goshs/releases/tag/v2.1.1)
- [https://github.com/goshs-labs/goshs/security/advisories/GHSA-rmxw-pq4x-3fvh](https://github.com/goshs-labs/goshs/security/advisories/GHSA-rmxw-pq4x-3fvh)

## Related threats

- [patrickhener goshs race condition in share-link download limit](https://junglewise.ai/threats/cve-2026-50139-patrickhener-goshs-race-condition-in-share-link-download-limit)
- [patrickhener goshs access control bypass in WebDAV listener](https://junglewise.ai/threats/cve-2026-50138-patrickhener-goshs-access-control-bypass-in-webdav-listener)
- [goshs-labs goshs ACL bypass via trailing slash in sendFile handler](https://junglewise.ai/threats/cve-2026-66064-goshs-labs-goshs-acl-bypass-via-trailing-slash-in-sendfile)
- [goshs path traversal in multipart upload handler](https://junglewise.ai/threats/cve-2026-66063-goshs-path-traversal-in-multipart-upload-handler)
- [goshs WebDAV deletion bypass via MOVE and COPY methods](https://junglewise.ai/threats/cve-2026-64863-goshs-webdav-deletion-bypass-via-move-and-copy-methods)
