CVE-2026-71251

Akaunting - Cross-Company Media IDOR in Customer Portal Download Endpoint

Published Aug 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download, reachable at uploads/{id}/download behind only generic auth middleware) fetched the requested Media record by ID with no verification that it belonged to the requesting portal customer's own company, allowing any authenticated portal customer to download any other company's uploaded files by guessing or enumerating media IDs.

Analysis

AI-generated

Technical impact

Akaunting’s shared download route, located at uploads/{id}/download and protected only by generic authentication middleware, retrieves a media record solely by the supplied ID and does not verify that the record belongs to the requesting portal customer’s company. An authenticated customer can therefore specify any media ID, causing the server to serve files from other companies. This leads directly to a confidentiality breach, as private company documents can be exposed without any additional privileges, and is an example of an Insecure Direct Object Reference (CWE‑639).

Affected Systems

The vulnerability impacts the Akaunting application, as identified by the CNA. No specific version ranges are provided, meaning any installation that includes the download endpoint is susceptible until a fix is applied.

Risk and Exploitability

With a CVSS score of 6.5 the flaw is moderate in severity, while the EPSS score of less than 1% indicates a very low likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. An attacker must simply be an authenticated portal user; no elevated rights or remote code execution are required. Once authenticated, the attacker can enumerate or guess media IDs to download files belonging to other companies, making the exploit straightforward but confined to authenticated sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Implement an ownership check in the download endpoint to verify that the authenticated user’s company matches the media record’s owner before serving the file.
  • Apply any available Akaunting update that fixes this IDOR when a patch is released.
  • Deploy monitoring and rate‑limiting on the download route to detect and throttle suspicious enumeration attempts.

Generated by OpenCVE AI on August 10, 2026 at 22:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Description Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download(), reachable at uploads/{id}/download behind only generic auth middleware) fetched the requested Media record by ID with no verification that it belonged to the requesting portal customer's own company, allowing any authenticated portal customer to download any other company's uploaded files by guessing or enumerating media IDs. Fixed in commit 80ef6d3 (2026-07-12), which added an explicit ownership check comparing the media's parent record contact_id against the requesting user's own contact. Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download, reachable at uploads/{id}/download behind only generic auth middleware) fetched the requested Media record by ID with no verification that it belonged to the requesting portal customer's own company, allowing any authenticated portal customer to download any other company's uploaded files by guessing or enumerating media IDs.
Type Values Removed Values Added
Title Akaunting: Cross-Company Media IDOR in Customer Portal Download Endpoint Akaunting - Cross-Company Media IDOR in Customer Portal Download Endpoint
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Akaunting
Akaunting akaunting
Vendors & Products Akaunting
Akaunting akaunting
Type Values Removed Values Added
Description Akaunting's shared download route (app/Http/Controllers/Common/Uploads.php::download(), reachable at uploads/{id}/download behind only generic auth middleware) fetched the requested Media record by ID with no verification that it belonged to the requesting portal customer's own company, allowing any authenticated portal customer to download any other company's uploaded files by guessing or enumerating media IDs. Fixed in commit 80ef6d3 (2026-07-12), which added an explicit ownership check comparing the media's parent record contact_id against the requesting user's own contact.
Title Akaunting: Cross-Company Media IDOR in Customer Portal Download Endpoint
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 11:46 AM
Reserved
Aug 5, 2026, 10:53 AM
Status
Deferred
Published
Aug 5, 2026, 11:16 AM
Modified
Aug 26, 2026, 5:13 PM