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

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

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

CVSS 9.1 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Path Traversal in Media Archive Import. πŸ’₯ **Consequences**: Authenticated users can write arbitrary files to the server's local filesystem via malicious ZIPs. Critical integrity & confidentiality loss.

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **CWE-22**: Improper Limitation of a Pathname to a Restricted Directory. The flaw lies in how the API handles extracted paths from uploaded ZIP archives without sufficient sanitization.

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected**: Gramps Web API. πŸ“… **Versions**: 1.6.0 through 3.11.0. 🏒 **Vendor**: gramps-project. If you are on v3.11.1 or later, you are safe.

Q4What can hackers do? (Privileges/Data)

πŸ•΅οΈ **Capabilities**: Write arbitrary files. πŸ“‚ **Target**: Local server filesystem. πŸ”‘ **Privilege**: Requires 'Owner' level authentication.…

Q5Is exploitation threshold high? (Auth/Config)

πŸ”’ **Threshold**: Medium-High. πŸ†” **Auth Required**: Yes, must be an authenticated user with 'Owner' privileges. πŸ“€ **Action**: Must upload a crafted ZIP file. Not remote unauthenticated.

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

🚫 **Public Exp?**: No PoCs listed in the data. 🌐 **Wild Exp**: Unlikely given the high privilege requirement (Owner level). Focus is on defense, not immediate panic.

Q7How to self-check? (Features/Scanning)

πŸ” **Check**: Review API version. πŸ“‚ **Audit**: Check for unexpected files in media import directories. πŸ“ **Logs**: Monitor for unusual ZIP upload patterns from owner accounts.

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Fixed**: Yes! πŸš€ **Patch**: Upgrade to **v3.11.1** or later. πŸ”— **Ref**: See GitHub release v3.11.1 and commit 3ed4342 for the fix details.

Q9What if no patch? (Workaround)

πŸ›‘ **Workaround**: Disable media archive import feature if possible. 🚫 **Access Control**: Restrict 'Owner' privileges strictly.…

Q10Is it urgent? (Priority Suggestion)

⚠️ **Priority**: High for Owners. πŸ“‰ **Risk**: CVSS 8.6 (High). While auth is required, the impact (Full Control) is severe. Patch immediately if you have owner-level accounts active.