Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2026-40884 β€” AI Deep Analysis Summary

CVSS 9.8 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: goshs < 2.0.0-beta.6 has an **Access Control Error**. πŸ“‰ **Consequences**: Attackers can bypass authentication entirely. No password needed to access the SFTP service! πŸ’€

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-306** (Missing Authentication for Critical Function). πŸ› **Flaw**: The server fails to enforce password checks when using the documented 'empty username' Basic Auth syntax. 🚫

Q3Who is affected? (Versions/Components)

πŸ‘₯ **Affected**: **goshs** by Patrick Hener. πŸ“¦ **Version**: All versions **before 2.0.0-beta.6**. βœ… **Fixed**: 2.0.0-beta.6 and later.

Q4What can hackers do? (Privileges/Data)

πŸ•΅οΈ **Hackers Can**: Gain **Full Access** without credentials. πŸ”“ **Privileges**: Unauthenticated network access. πŸ“‚ **Data**: High risk of Confidentiality, Integrity, and Availability loss (CVSS H/H/H).

Q5Is exploitation threshold high? (Auth/Config)

⚑ **Threshold**: **LOW**. 🌐 **Auth**: None required! πŸ“ **Config**: Exploits the specific 'empty username' syntax. If configured this way, it's an open door. πŸšͺ

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ’£ **Public Exp?**: **No PoC** listed in data. πŸ“’ **Status**: Advisory published (GHSA-c29w-qq4m-2gcv). ⚠️ **Risk**: Logic flaw is simple, likely easy to script manually.

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: Scan for goshs SFTP services. πŸ§ͺ **Test**: Try connecting with an **empty username** and any password (or no password). πŸ“‘ **Indicator**: If it accepts, you are vulnerable!

Q8Is it fixed officially? (Patch/Mitigation)

πŸ”§ **Official Fix**: **YES**. πŸ“₯ **Action**: Upgrade to **goshs 2.0.0-beta.6** or newer. πŸ“œ **Source**: GitHub Security Advisory (GHSA-c29w-qq4m-2gcv).

Q9What if no patch? (Workaround)

🚧 **No Patch?**: **Workaround**: Disable SFTP if not needed. πŸ›‘ **Config**: Avoid using the 'empty username' Basic Auth syntax. 🧱 **Block**: Restrict network access to the SFTP port.

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Urgency**: **HIGH**. 🚨 **Priority**: Critical. CVSS is **High** (9.8+ implied by H/H/H). πŸƒ **Action**: Patch immediately or isolate the service. Do not ignore!