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

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

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!