CVE-2026-16772
Received Received - Intake

Authenticated Users Privilege Escalation in Akaunting

Vulnerability report for CVE-2026-16772, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-14

Last updated on: 2026-08-14

Assigner: CERT/CC

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-14
Last Modified
2026-08-14
Generated
2026-08-14
AI Q&A
2026-08-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
akaunting akaunting to 3.1.21 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-16772 is a privilege escalation flaw in Akaunting versions 3.1.21 or earlier. Low-privileged authenticated users can exploit the UpdateUser job to assign themselves the admin role by modifying their own account. The issue occurs because the application uses an unconditional roles()->sync() call without verifying if the user is authorized to change roles. Only the default update-auth-profile permission is required to access the self-update feature.

Detection Guidance

Check Akaunting user roles for unexpected admin assignments by reviewing the `users` table in the database for entries where the role ID is set to admin. Inspect web server logs for POST requests to the profile update endpoint containing role modification payloads.

Impact Analysis

An attacker with basic user permissions could escalate to admin status, gaining full control over the system. This includes access to sensitive financial data, ability to manage other users, and control over system settings. The attack requires only a simple POST request to the profile update endpoint with no additional conditions.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating compliance requirements for GDPR, HIPAA, and other regulations. Unrestricted admin access may result in data breaches, improper data handling, and failure to maintain audit trails, potentially leading to legal penalties and loss of certification.

Mitigation Strategies

Remove admin privileges from non-admin users immediately. Disable self-service profile updates if possible. Monitor for unauthorized role changes and restrict access to the profile update endpoint until a patch is available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16772. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart