{"id":"CVE-2026-50138","sourceIdentifier":"security-advisories@github.com","published":"2026-08-18T15:16:54.580","lastModified":"2026-10-22T22:10:00.250","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"goshs is a SimpleHTTPServer written in Go. Prior to version 2.1.0, when `goshs` is launched with WebDAV enabled (`-w`), the mode-restriction flags `--read-only`, `--upload-only`, and `--no-delete` are enforced only on the primary HTTP port. The WebDAV port is wired straight to `golang.org/x/net/webdav.Handler` with no equivalent guard, so an authenticated WebDAV client can `PUT`, `DELETE`, `MKCOL`, `MOVE`, and `COPY` despite the operator's stated intent. Version 2.1.0 patches the issue."},{"lang":"es","value":"goshs es un SimpleHTTPServer escrito en Go. Antes de la versión 2.1.0, cuando “goshs” se inicia con WebDAV habilitado (“-w”), los indicadores de restricción de modo “--read-only”, “--upload-only” y “--no-delete” se aplican solo en el puerto HTTP principal. El puerto WebDAV está conectado directamente a “golang.org/x/net/webdav.Handler” sin una protección equivalente, por lo que un cliente WebDAV autenticado puede “PUT”, “DELETE”, “MKCOL”, “MOVE” y “COPY” a pesar de la intención declarada del operador. La versión 2.1.0 corrige el problema."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":"< 2.1.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-19T14:29:52.649598Z","id":"CVE-2026-50138","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-284"}]}],"references":[{"url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp","source":"security-advisories@github.com"},{"url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}