CVE-2026-16772: Akaunting vulnerability

Published Aug 14, 2026
·
Updated

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 Software

1 affected component
Akaunting<=3.1.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Akaunting to a version that resolves this vulnerability.

    Fixed in 3.1.21
  2. Compensating control

    Ensure the self-update path that reaches the UpdateUser job is protected so only callers authorized to manage roles can submit/modify role assignments (do not allow users with only the default "update-auth-profile" permission to assign role IDs such as the admin role ID).

Event History

Aug 14, 2026
CVE Published
via MITRE·03:18 PM
Data Sourced
via MITRE·03:18 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-16772?

CVE-2026-16772 has a risk rating of 80, indicating it is a high-severity vulnerability.

2

How do I fix CVE-2026-16772?

To fix CVE-2026-16772, upgrade Akaunting to version 3.1.22 or later.

3

What type of vulnerability is CVE-2026-16772?

CVE-2026-16772 is a privilege escalation vulnerability affecting Akaunting.

4

Who is affected by CVE-2026-16772?

Low-privileged authenticated users in Akaunting versions <= 3.1.21 are affected by CVE-2026-16772.

5

What can an attacker do with CVE-2026-16772?

An attacker can exploit CVE-2026-16772 to assign themselves administrator privileges, leading to full control of the application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203