Advisory record · GHSA-jrq5-hg6x-j6g3

goshs has CSRF in state-changing GET routes enables authenticated file deletion and directory creation

CVSS 6.1 MediumEPSS 0.0014 · 3rd percentile

Published by the GitHub Advisory Database at 14 Apr 2026, 22:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/patrickhener/goshs/v2Go>=2.0.0-beta.4, <2.0.0-beta.62.0.0-beta.6
Identifiers
GHSA-jrq5-hg6x-j6g3 · CVE-2026-40883 · GO-2026-5479
Weakness (CWE)
CWE-352
Published
14 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

goshs versions from 2.0.0-beta.4 before 2.0.0-beta.6 are vulnerable to cross-site request forgery on state-changing GET routes such as ?delete and ?mkdir. An attacker who lures an already authenticated user to an attacker-controlled page can cause the browser to delete files and create directories on the server. Upgrade to goshs 2.0.0-beta.6 or later; the source lists no other workaround.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0014, the 3rd percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:06 UTC First seen by agentprime
  2. 31 Oct 2026, 15:06 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.