CVE-2024-58293 Akaunting 3.1.8 Server-Side Template Injection via Multiple Form Fields

High 8.6 Published Updated

Authenticated administrators can execute arbitrary template expressions in multiple form fields, leading to potential code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-58293?

CVE-2024-58293 is a high-severity code injection vulnerability in Akaunting, published on 11 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Akaunting 3.1.8 contains a server-side template injection vulnerability that allows authenticated administrators to execute template expressions in multiple form input fields. Attackers can inject template payloads in items, taxes, transactions, and vendor name fields to perform arithmetic operations and string manipulations.

Weakness: CWE-1336

Which versions are affected by CVE-2024-58293?

How do I fix CVE-2024-58293?

No fix has been published for CVE-2024-58293 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-58293 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-58293 exists.

Sources

Also known as GHSA-j57q-ff7h-j5xj.

Is CVE-2024-58293 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free