CVE-2026-42091

medium
Published 2026-05-04 · Modified 2026-05-04
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v2
VIR risk
6.5

Description

goshs has Cross-Origin Arbitrary File Write via Missing CSRF on PUT and Wildcard CORS

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/patrickhener/goshs/releases/tag/v2.0.2

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/patrickhener/goshs/v2<2.0.22.0.2
golang Gogithub.com/patrickhener/goshs<=1.1.4
golang GOgithub.com/patrickhener/goshs<= 1.1.4
golang GOgithub.com/patrickhener/goshs/v2< 2.0.22.0.2

Application impact

VendorProductVersionsFixed
goshsgoshs{"endExcluding":"2.0.2"}2.0.2

References

CWEs

CWE-352

Verify integrity in audit chain (admin only). AS-IS.