{"id":"CVE-2026-16772","sourceIdentifier":"cret@cert.org","published":"2026-08-14T16:16:50.290","lastModified":"2026-09-14T22:16:57.260","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cret@cert.org","affectedData":[{"vendor":"Akaunting","product":"Akaunting","versions":[{"version":"0","lessThanOrEqual":"3.1.21","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-14T19:47:57.430799Z","id":"CVE-2026-16772","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-269"},{"lang":"en","value":"CWE-862"}]}],"references":[{"url":"https://vokecyber.com/research/cve-2026-16772-akaunting-privilege-escalation","source":"cret@cert.org"},{"url":"https://vokecyber.com/research/cve-2026-16772-akaunting-privilege-escalation","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}