CVE-2026-42091
Last modified
CVE-2026-42091 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unconditional Access-Control-Allow-Origin: * on the OPTIONS preflight handler (httpserver/server.go), any website can write arbitrary files to a goshs instance through the victim's browser — bypassing network isolation (e.g. localhost, internal network). This issue has been patched in version 2.0.2.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Goshs | Goshs | < 2.0.2 |
References
- https://github.com/patrickhener/goshs/releases/tag/v2.0.2Product, Release Notes
- https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvmExploit, Vendor Advisory
- https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvmExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42091?
How severe is CVE-2026-42091?
How do I fix CVE-2026-42091?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42086OpenC3 COSMOS provides the functionality needed to send comm…4.6
- CVE-2026-42087OpenC3 COSMOS provides the functionality needed to send comm…9.6
- CVE-2026-42088OpenC3 COSMOS provides the functionality needed to send comm…8.1
- CVE-2026-42089Yeoman Environment provides an API to discover, create, and …8.6
- CVE-2026-4209A vulnerability was identified in D-Link DNS-120, DNR-202L, …9.8
- CVE-2026-42090Notesnook is a note-taking app focused on user privacy & eas…9.6
- CVE-2026-42092titra is an open source time tracking project. In version 0.…6.5
- CVE-2026-42095bookserver in KDE Arianna before 26.04.1 allows attackers to…4
- CVE-2026-42096Sparx Pro Cloud Server is vulnerable to Broken Access Contro…8.8
- CVE-2026-42097Sparx Pro Cloud Server requires authentication based on requ…8.8
- CVE-2026-42098Sparx Enterprise Architect software has a security feature t…8.7
- CVE-2026-42099Sparx Pro Cloud Server is vulnerable to a Race Condition in …7.5
Are you affected by CVE-2026-42091?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
