Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40189

published critical CVSS 4.0 · 9.3

goshs has a file-based ACL authorization bypass in goshs state-changing routes

Published
10 Apr 2026, 19:44:54 UTC
Updated
13 Apr 2026, 20:53:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
patrickhener — goshs< 2.0.0-beta.4 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed goshsaarch64 Advisory build 2.0.0-1.1 OPENSUSE-SU-2026:10542-1
SUSE / openSUSE openSUSE-Tumbleweed goshsppc64le Advisory build 2.0.0-1.1 OPENSUSE-SU-2026:10542-1
SUSE / openSUSE openSUSE-Tumbleweed goshss390x Advisory build 2.0.0-1.1 OPENSUSE-SU-2026:10542-1
SUSE / openSUSE openSUSE-Tumbleweed goshsx86_64 Advisory build 2.0.0-1.1 OPENSUSE-SU-2026:10542-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.3 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
patrickhener goshs < 2.0.0-beta.4 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-862 CWE-862: Missing Authorization (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

goshs has a file-based ACL authorization bypass in goshs state-changing routes

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5855f39eb201b1c81b462752eb0191d480d71d07778db473f56454171ea77618
Ingested
23 Sep 2026, 09:13:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected