Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download(), reachable at uploads/{id}/download behind only generic auth… (CVE-2026-71251)
Akaunting contained a vulnerability in its shared download route that allowed any authenticated portal customer to download files uploaded by other companies. The route did not verify that the requested media belonged to the requesting user's company, enabling unauthorized access by guessing or enumerating media IDs. This issue was fixed by adding an ownership check comparing the media's parent contact ID with the requesting user's contact ID.
AI Analysis
Technical Summary
The vulnerability in Akaunting's app/Http/Controllers/Common/Uploads.php::download() method allowed authenticated users to access media files belonging to other companies due to missing ownership verification. The download endpoint, accessible at uploads/{id}/download, only enforced generic authentication but did not confirm that the media record matched the requesting user's company. This flaw corresponds to CWE-639 (Authorization Bypass Through User-Controlled Key). The issue was resolved in commit 80ef6d3 on 2026-07-12 by implementing an explicit ownership check.
Potential Impact
Any authenticated portal customer could download files uploaded by other companies by guessing or enumerating media IDs, leading to unauthorized disclosure of potentially sensitive files. The confidentiality of uploaded media was compromised, but integrity and availability were not affected.
Mitigation Recommendations
A fix is available and was implemented in commit 80ef6d3 on 2026-07-12, which added an explicit ownership check to ensure that media downloads are only allowed if the media belongs to the requesting user's company. Users should update to the fixed version containing this commit to remediate the vulnerability.
Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download(), reachable at uploads/{id}/download behind only generic auth… (CVE-2026-71251)
Description
Akaunting contained a vulnerability in its shared download route that allowed any authenticated portal customer to download files uploaded by other companies. The route did not verify that the requested media belonged to the requesting user's company, enabling unauthorized access by guessing or enumerating media IDs. This issue was fixed by adding an ownership check comparing the media's parent contact ID with the requesting user's contact ID.
CVSS v3.1
Score 6.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Akaunting's app/Http/Controllers/Common/Uploads.php::download() method allowed authenticated users to access media files belonging to other companies due to missing ownership verification. The download endpoint, accessible at uploads/{id}/download, only enforced generic authentication but did not confirm that the media record matched the requesting user's company. This flaw corresponds to CWE-639 (Authorization Bypass Through User-Controlled Key). The issue was resolved in commit 80ef6d3 on 2026-07-12 by implementing an explicit ownership check.
Potential Impact
Any authenticated portal customer could download files uploaded by other companies by guessing or enumerating media IDs, leading to unauthorized disclosure of potentially sensitive files. The confidentiality of uploaded media was compromised, but integrity and availability were not affected.
Mitigation Recommendations
A fix is available and was implemented in commit 80ef6d3 on 2026-07-12, which added an explicit ownership check to ensure that media downloads are only allowed if the media belongs to the requesting user's company. Users should update to the fixed version containing this commit to remediate the vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h26w-wq3x-9p76
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71251"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a735748bf8831d53915a196
Added to database: 08/05/2026, 15:31:20 UTC
Last enriched: 08/05/2026, 17:42:11 UTC
Last updated: 08/06/2026, 02:06:47 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.