CVE-2026-40189 | patrickhener goshs up to 2.0.0-beta.3 ACL/basic-auth authorization (GHSA-wvhv-qcqf-f3cx)
VulDBArchived Apr 11, 2026✓ Full text saved
A vulnerability labeled as critical has been found in patrickhener goshs up to 2.0.0-beta.3 . This impacts an unknown function of the file ACL/basic-auth . Executing a manipulation can lead to missing authorization. This vulnerability is handled as CVE-2026-40189 . The attack can be executed remotely. There is not any exploit available. The affected component should be upgraded.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356927 · CVE-2026-40189 · GHSA-WVHV-QCQF-F3CX
PATRICKHENER GOSHS UP TO 2.0.0-BETA.3 ACL/BASIC-AUTH AUTHORIZATION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.0 $0-$5k 0.65+
Summaryinfo
A vulnerability marked as critical has been reported in patrickhener goshs up to 2.0.0-beta.3. Affected is an unknown function of the file ACL/basic-auth. The manipulation leads to authorization. This vulnerability is uniquely identified as CVE-2026-40189. The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.
Detailsinfo
A vulnerability was found in patrickhener goshs up to 2.0.0-beta.3 and classified as critical. This issue affects an unknown code of the file ACL/basic-auth. The manipulation with an unknown input leads to a authorization vulnerability. Using CWE to declare the problem leads to CWE-862. The product does not perform an authorization check when an actor attempts to access a resource or perform an action. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.4, goshs enforces the documented per-folder .goshs ACL/basic-auth mechanism for directory listings and file reads, but it does not enforce the same authorization checks for state-changing routes. An unauthenticated attacker can upload files with PUT, upload files with multipart POST /upload, create directories with ?mkdir, and delete files with ?delete inside a .goshs-protected directory. By deleting the .goshs file itself, the attacker can remove the folder's auth policy and then access previously protected content without credentials. This results in a critical authorization bypass affecting confidentiality, integrity, and availability. This vulnerability is fixed in 2.0.0-beta.4.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-40189 since 04/09/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 2.0.0-beta.4 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch f212c4f4a126556bab008f79758e21a839ef2c0f is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
patrickhener
Name
goshs
Version
2.0.0-beta.0
2.0.0-beta.1
2.0.0-beta.2
2.0.0-beta.3
License
open-source
Website
Product: https://github.com/patrickhener/goshs/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Authorization
CWE: CWE-862 / CWE-863 / CWE-285
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: goshs 2.0.0-beta.4
Patch: f212c4f4a126556bab008f79758e21a839ef2c0f
Timelineinfo
04/09/2026 CVE reserved
04/10/2026 +1 days Advisory disclosed
04/10/2026 +0 days VulDB entry created
04/10/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-wvhv-qcqf-f3cx
Status: Confirmed
CVE: CVE-2026-40189 (🔒)
GCVE (CVE): GCVE-0-2026-40189
GCVE (VulDB): GCVE-100-356927
Entryinfo
Created: 04/10/2026 22:28
Changes: 04/10/2026 22:28 (70)
Complete: 🔍
Cache ID: 99:ADB:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸