# CVE-2026-16772

## Summary

- **CVE ID:** CVE-2026-16772
- **Severity:** HIGH
- **CVSS Score:** 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)
- **CWE:** N/A
- **Published:** Aug 14, 2026
- **Last Modified:** Sep 14, 2026

## Description

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.

## Affected Products

- Akaunting — Akaunting (0)

## References

- [CNA](https://vokecyber.com/research/cve-2026-16772-akaunting-privilege-escalation)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.25%
- **EPSS Percentile:** 16.5

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._