Categories
CVE-2026-64863 critical CVSS 9.1

Vulnerability in goshs.de/goshs/v2 (CVE-2026-64863)

Summary

Vulnerability in goshs.de/goshs/v2 (CVE-2026-64863). Data can be tampered with by attackers. Exploitable via MOVE. Mitigation: upgrade to 2.1.4 or later.

Original description

The description as published by the source.

Summary

The WebDAV mode-flag guard added to fix GHSA-3whc-qvhv-xqjp still does not enforce --no-delete on the WebDAV MOVE verb. MOVE deletes the source file (rename removes it from its original path), and with Overwrite: T it additionally performs an explicit RemoveAll on the destination. Under -w --no-delete, DELETE is correctly blocked (403) but MOVE still destroys existing files, defeating the documented "Disable the delete option" boundary.

This is a residual of the parent fix: the guard classifies MOVE/COPY as write-only verbs (blocked only under --read-only) and never treats MOVE as a delete, so the --no-delete branch never covers it.

Affected

goshs v2.1.3 (current release, commit ba00ce3). The guard was introduced when GHSA-3whc-qvhv-xqjp was fixed and carries the gap forward.

Details

httpserver/server.go, wdGuard (lines 237-254):

wdGuard := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    switch r.Method {
    case http.MethodPut, "MKCOL", "MOVE", "COPY":
        if fs.ReadOnly {
            http.Error(w, "read-only", http.StatusForbidden)
            return
        }
    case http.MethodDelete:
        if fs.ReadOnly || fs.UploadOnly || fs.NoDelete {
            http.Error(w, "delete disabled", http.StatusForbidden)
            return
        }
    case http.MethodGet, http.MethodHead:
        if fs.UploadOnly {
            http.Error(w, "upload-only", http.StatusForbidden)
            return…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-64863 has been found in goshs.de/goshs/v2.
Attackers can target a specific entry point like MOVE over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 9.1/10.
What to do: upgrade goshs.de/goshs/v2 to 2.1.4 or later.
If unsure, ask your IT team or search "goshs.de/goshs/v2 CVE-2026-64863" on the vendor's site.

CVE-2026-64863 (goshs.de/goshs/v2) — CWE-284 / CVSS v3 9.1
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: MOVE / RemoveAll / DELETE / COPY
Patched: 2.1.4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-284) exists in goshs.de/goshs/v2. Attackers reach the vulnerable code path via MOVE without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of goshs.de/goshs/v2. Attack surface: MOVE / RemoveAll / DELETE / COPY.

🔥 Severity

Severity: Critical (CVSS 9.1/10). Data can be tampered with by attackers.

🔧 How to fix

Update to 2.1.4.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'goshs.de/goshs/v2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'goshs.de/goshs/v2' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で goshs.de/goshs/v2 を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade goshs.de/goshs/v2 to 2.1.4

    ステージング環境で 2.1.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

go goshs.de/goshs/v2
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.4"}]}]
go github.com/patrickhener/goshs/v2
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.4"}]}]
go goshs.de/goshs
[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.4"}]}]
go github.com/patrickhener/goshs
[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.4"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details