LiveActive security incident?Get immediate response
CVE Record

CVE-2026-62325: goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)

goshs is a feature-rich single-binary file server for red teamers and developers. From 2.1.3 until 2.1.4, the sftpserver/sftpserver.go password handler used Username != "" && Password != "", so running goshs with -b 'admin:' -sftp and no -fkf left both SFTP authentication handlers unset and allowed unauthenticated file access. This issue is fixed in version 2.1.4.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A specific goshs 2.1.3 SFTP configuration can unintentionally provide file access without authentication. An attacker reaching the service could read or modify hosted files without credentials. The issue is fixed in goshs 2.1.4 and is described as an incomplete fix of CVE-2026-40884.

Executive priority

Treat confirmed vulnerable configurations as an immediate remediation priority because unauthorized parties may read or alter business files remotely. Prioritize externally reachable systems first. Systems not matching the specific configuration should still be inventoried and documented, but the supplied evidence does not establish that they are vulnerable.

Technical view

In goshs 2.1.3, an empty configured password combined with SFTP enabled and no key file could leave both SFTP authentication handlers unset. This results in missing authentication, classified as CWE-306. The CVSS 3.1 score is 9.1, reflecting network access, low complexity, and high confidentiality and integrity impact.

Likely exposure

Exposure is limited to goshs version 2.1.3 instances using SFTP with a named account, an empty password, and no key-file authentication. Internet-accessible or broadly reachable instances in this configuration present the greatest business risk. Other versions or configurations are not established as affected by the supplied sources.

Exploitation context

The vulnerable condition requires no prior privileges or user interaction and is remotely reachable when SFTP is exposed. The supplied record is not in KEV and provides no evidence of active exploitation. Exploitation status should therefore be treated as unknown, not active.

Researcher notes

This is an authentication-bypass flaw caused by absent SFTP authentication handlers, not a password-guessing weakness. It is identified as an incomplete fix of CVE-2026-40884. Review the linked corrective commit and advisory when validating custom builds. Availability impact is scored as none; confidentiality and integrity impacts are high.

Mitigation direction

  • Upgrade affected goshs installations to version 2.1.4 or later.
  • Disable SFTP until the upgrade is complete if continued operation is unnecessary.
  • Restrict network access to affected SFTP services while remediation is pending.
  • Avoid empty-password configurations and follow the vendor advisory for supported authentication settings.

Validation and detection

  • Inventory goshs versions and identify any installation running version 2.1.3.
  • Review whether SFTP is enabled on each identified installation.
  • Check for accounts configured with an empty password.
  • Confirm key-file authentication is configured where SFTP remains enabled.
  • After upgrading, verify the deployed binary reports version 2.1.4 or later.
  • Confirm unauthenticated SFTP access is rejected using an authorized defensive test.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-306: Credential and account abuse lookup

Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-62325 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.1CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N3.95.2GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

9.1Critical
CVSS 3.1 vector shape for CVE-2026-62325Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
goshs-labsgoshs>= 2.1.3, < 2.1.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-306 · source CWE mapping

Missing Authentication for Critical Function

Missing Authentication for Critical Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.