CVE-2026-16772CWE-269CWE-862broken-access-controlprivilege-escalation

CVE-2026-16772

High · published August 14, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
15.3
In the wild
Unconfirmed
What it is

In Akaunting versions <= 3.1.21, low‑privileged authenticated users can modify their own account to assign themselves the admin role ID, granting full administrator privileges. This vulnerability is caused by a flaw in the `UpdateUser` job, which processes user-supplied role assignments via an unconditional `roles()->sync()` call without verifying whether the caller is authorized to manage roles. Users only require the default `update-auth-profile` permission to access the self-update path and assign themselves as admins. The API endpoints are properly permission‑gated and are not affected by this issue. This vulnerability has been remediated in v3.2.0, commit 80ef6d3b154a.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00249 · 15.3th percentile
Weaknesses
CWE-269 · Improper Privilege Management; CWE-862 · Missing Authorization
Published
2026-08-14T20:16Z
References (2)
EPSS history
Timeline
  • 14 AUG 15:18Z
    CVE-2026-16772
    cvelistv5