Critical
Security advisory
Akaunting version 2.1.12 and earlier suffers from a code injection issue in the Money.php component of the application. A POST sent to /{company_id}/sales/invoices/{invoice_id} with an items[0][price] that includes a PHP callable function is executed directly. This issue was fixed in version 2.1.13 of the product.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-36800
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:00 UTC · Revision 1
Source evidence
Akaunting version 2.1.12 and earlier suffers from a code injection issue in the Money.php component of the application. A POST sent to /{company_id}/sales/invoices/{invoice_id} with an items[0][price] that includes a PHP callable function is executed directly. This issue was fixed in version 2.1.13 of the product.
osv:CVE-2021-36800
Complete source record
{
"id": "b6544869e9fbb0899e7e6bd79725cc6a8443a3e4edeefc8ea556fbc8d0f65121",
"url": "https://osv.dev/vulnerability/CVE-2021-36800",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-36800",
"summary": "Akaunting version 2.1.12 and earlier suffers from a code injection issue in the Money.php component of the application. A POST sent to /{company_id}/sales/invoices/{invoice_id} with an items[0][price] that includes a PHP callable function is executed directly. This issue was fixed in version 2.1.13 of the product.",
"evidence": "osv:CVE-2021-36800",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-36800",
"aliases": [
"CVE-2021-36800"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/akaunting/akaunting",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "03c960d7e9745decec378c3576cc9310ad1ba100"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:akaunting:akaunting:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.13"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.1.12",
"2.1.11",
"2.1.10",
"2.1.9",
"2.1.8",
"2.1.7",
"2.1.6",
"2.1.3",
"2.1.2",
"2.1.1",
"2.0.26",
"2.0.25",
"2.0.24",
"2.0.9",
"2.0.8",
"2.0.7",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.2",
"2.0.0",
"1.3.17",
"1.3.16",
"1.3.15",
"1.3.14",
"1.3.13",
"1.3.12",
"1.3.11",
"1.3.10",
"1.3.8",
"1.3.7",
"1.3.6",
"1.3.5",
"1.3.4",
"1.2.16",
"1.3.3",
"1.3.2",
"1.3.1",
"1.3.0",
"1.2.14",
"1.2.13",
"1.2.12",
"1.2.11",
"1.2.9",
"1.2.8",
"1.2.7",
"1.2.6",
"1.2.5",
"1.2.4",
"1.2.3",
"1.2.1",
"1.2.0",
"1.1.15",
"1.1.14",
"1.1.13",
"1.1.12",
"1.1.11",
"1.1.10",
"1.1.9",
"1.1.8",
"1.1.7",
"1.1.6",
"1.1.5",
"1.1.4",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.12",
"1.0.10",
"1.0.9",
"1.0.8",
"1.0.7",
"1.0.6",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36800.json"
}
}
],
"modified": "2026-10-24T10:31:01.673096926Z",
"provider": "osv",
"references": [
"https://www.rapid7.com/blog/post/2021/07/27/multiple-open-source-web-app-vulnerabilities-fixed/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-36800",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439839,
"published_at": "2021-08-04T23:15:07.96+00:00"
}