Skip to main content

Akaunting CVE-2026-71251

| EUVDEUVD-2026-53324 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-05 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c GHSA-h26w-wq3x-9p76
6.5
CVSS 3.1 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain portal customer credentials
  2. Delivery
    Authenticate to Akaunting portal
  3. Exploit
    Enumerate media IDs via uploads/{id}/download route
  4. Execution
    Retrieve files belonging to other tenants
  5. Impact
    Exfiltrate financial documents and uploaded records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires a valid portal customer account (customer-facing login, not an administrator account) on an Akaunting instance that hosts at least two companies with uploaded media. The attacker must be able to reach the uploads/{id}/download route over the network and authenticate as a portal user for any one of the companies on the instance. Exploitation is blocked entirely for: unauthenticated users (generic auth middleware does enforce login), single-company deployments (no cross-tenant data to access), and instances where portal customer accounts are not provisioned. The limiting factors are (1) possession of portal credentials for any company on the target instance and (2) existence of media uploads by other companies sharing the same instance - both are common in SaaS and multi-tenant self-hosted scenarios.

Impact

The CVSS 6.5 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately represents the real-world risk profile for multi-tenant deployments. Attack complexity is genuinely low - media IDs are almost certainly auto-incremented integers, making enumeration a trivial scripting exercise. The PR:L rating correctly reflects the requirement for a valid portal customer account. Scope is unchanged (S:U) because the attacker operates within the application's trust boundary despite crossing company lines. There is no KEV listing and no public exploit code identified, indicating this has not been widely weaponized. However, the confidentiality impact is high for affected tenants: financial documents, contracts, and client uploads are the core data type in accounting software. Risk is asymmetric by deployment model - shared SaaS instances or self-hosted multi-company installations face genuine cross-tenant exposure, while single-company self-hosted deployments have no meaningful attack surface from this flaw. No conflicting signals exist between the CVSS vector and the description.

Exploit ScenarioDerived

An attacker with a legitimate portal customer account on a shared Akaunting instance authenticates normally, then sends sequential GET requests to /uploads/1/download, /uploads/2/download, and so on using a simple script or Burp Suite intruder. Each successful response returns a file uploaded by whichever company owns that media ID, allowing the attacker to harvest financial documents, invoices, and client files from unrelated tenants without any special tooling. No public proof-of-concept code is known, but the attack requires only basic HTTP enumeration skills.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Insecure Direct Object Reference in Akaunting's multi-tenant file download route exposes uploaded media records across company boundaries to any authenticated portal customer. The uploads/{id}/download endpoint in app/Http/Controllers/Common/Uploads.php applies only generic authentication middleware and fetches Media records by raw integer ID without verifying tenant ownership, enabling sequential ID enumeration to exfiltrate invoices, financial statements, and other uploaded documents belonging to unrelated companies on the same instance. No public exploit has been identified and it is not listed in CISA KEV, but the attack is trivially executable by any portal customer given the low complexity of sequential integer enumeration.

RemediationAI

Apply the upstream fix from commit 80ef6d3 (2026-07-12) available at https://github.com/akaunting/akaunting, which introduces an explicit ownership check comparing the media record's parent contact_id against the authenticated user's own contact identity. No packaged release version has been independently confirmed to include this fix - verify by inspecting the commit history of your deployed instance before assuming a given release is safe. As a compensating control prior to patching, administrators can disable portal customer access entirely if the file download feature is not operationally required; note this will block all portal functionality, not just file downloads. Alternatively, implement network-layer access controls to restrict which customer IP ranges can reach the uploads/ route prefix, accepting the trade-off of reduced accessibility for legitimate portal users. There are no known side effects of the upstream patch itself.

Affected VersionsENISA

Akaunting 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Akaunting is a PHP-based open-source accounting web application designed for multi-tenant deployments where multiple companies share a single instance. The vulnerable component is the download() method in app/Http/Controllers/Common/Uploads.php, reachable at the route uploads/{id}/download. This route is gated only by generic authentication middleware, which confirms the user is logged in but performs no tenant-scoping assertion on the fetched Media record. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): the numeric {id} path parameter is the sole mechanism determining which file is returned, and because all tenants share a single sequential ID namespace, an authenticated user from Company A can trivially construct requests for IDs allocated to Company B. The upstream fix (commit 80ef6d3, 2026-07-12) resolves this by adding an explicit ownership check that compares the media record's parent contact_id against the requesting user's own contact identity.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable route requires only portal customer authentication (PR:L); IDOR yields read-only cross-tenant file access with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).

CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
Popular open-source PHP accounting SaaS with active multi-tenant cloud offering
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy