CVE-2026-50138
Full vulnerability record from the local CVENow database.
Description
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.
Severity
HIGH
CVSS score
8.1
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-18 15:16:54.580000
Last modified
2026-10-22 22:10:00.250000
View original CVE JSON
{
"id": "CVE-2026-50138",
"sourceIdentifier": "[email protected]",
"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": "[email protected]",
"affectedData": [
{
"vendor": "patrickhener",
"product": "goshs",
"versions": [
{
"version": "< 2.1.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"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": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-284"
}
]
}
],
"references": [
{
"url": "https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp",
"source": "[email protected]"
},
{
"url": "https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}