Critical
cacti — security advisory
Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.
- Products
- cacti
- Affected versions
- 0.8.8b+dfsg-3, 0.8.8b+dfsg-5, 0.8.8b+dfsg-5ubuntu0.1, 0.8.8b+dfsg-5ubuntu0.2, 0.8.8b+dfsg-5ubuntu0.2+esm1, 0.8.8b+dfsg-5ubuntu0.2+esm2, 0.8.8f+ds1-2, 0.8.8f+ds1-3, 0.8.8f+ds1-4, 0.8.8f+ds1-4ubuntu1, 0.8.8f+ds1-4ubuntu2, 0.8.8f+ds1-4ubuntu3, 0.8.8f+ds1-4ubuntu4, 0.8.8f+ds1-4ubuntu4.16.04, 0.8.8f+ds1-4ubuntu4.16.04.1, 0.8.8f+ds1-4ubuntu4.16.04.2, 0.8.8f+ds1-4ubuntu4.16.04.2+esm1, 0.8.8f+ds1-4ubuntu4.16.04.2+esm2, 1.1.18+ds1-1, 1.1.27+ds1-2, 1.1.27+ds1-3, 1.1.28+ds1-2, 1.1.35+ds1-1, 1.1.36+ds1-1, 1.1.38+ds1-1, 1.1.38+ds1-1ubuntu0.1~esm1, 1.1.38+ds1-1ubuntu0.1~esm3, 1.1.38+ds1-1ubuntu0.1~esm4, 1.2.10+ds1-1ubuntu1, 1.2.10+ds1-1ubuntu1+esm1, 1.2.10+ds1-1ubuntu1.1, 1.2.10+ds1-1ubuntu1.1+esm1, 1.2.10+ds1-1ubuntu1.1+esm2, 1.2.16+ds1-2ubuntu1, 1.2.19+ds1-2ubuntu1, 1.2.19+ds1-2ubuntu1+esm1, 1.2.19+ds1-2ubuntu1.1, 1.2.19+ds1-2ubuntu1.1+esm1, 1.2.19+ds1-2ubuntu1.1+esm2, 1.2.25+ds1-2, 1.2.26+ds1-1, 1.2.26+ds1-1ubuntu0.1, 1.2.28+ds1-4ubuntu1, 1.2.30+ds1-1ubuntu1, 1.2.30+ds1-1ubuntu2, 1.2.30+ds1-1ubuntu3, 1.2.31+ds1-3ubuntu2, 1.2.4+ds1-2ubuntu3, 1.2.9+ds1-1ubuntu1, 1.2.9+ds1-1ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2025-26520
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:48 UTC · Revision 1
Source evidence
Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.
osv:UBUNTU-CVE-2025-26520
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
cacti
Fixed versions: Not specified
Complete source record
{
"id": "e85d6c2ea153eaa0179e26d70d860dbb99774aa5331cf0853cf51daf942cb95e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-26520",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-26520",
"summary": "Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.",
"evidence": "osv:UBUNTU-CVE-2025-26520",
"products": [
{
"name": {
"value": "cacti",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.8b+dfsg-3",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.8b+dfsg-5",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.8b+dfsg-5ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.8b+dfsg-5ubuntu0.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.8b+dfsg-5ubuntu0.2+esm1",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.8b+dfsg-5ubuntu0.2+esm2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.8f+ds1-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4.16.04",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4.16.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4.16.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4.16.04.2+esm1",
"evidence": "/affected/1/versions"
},
{
"value": "0.8.8f+ds1-4ubuntu4.16.04.2+esm2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.18+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.27+ds1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.27+ds1-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.28+ds1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.35+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.36+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.38+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.38+ds1-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.38+ds1-1ubuntu0.1~esm3",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.38+ds1-1ubuntu0.1~esm4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.4+ds1-2ubuntu3",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.9+ds1-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.9+ds1-1ubuntu2",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.10+ds1-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.10+ds1-1ubuntu1+esm1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.10+ds1-1ubuntu1.1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.10+ds1-1ubuntu1.1+esm1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.10+ds1-1ubuntu1.1+esm2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.16+ds1-2ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.19+ds1-2ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.19+ds1-2ubuntu1+esm1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.19+ds1-2ubuntu1.1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.19+ds1-2ubuntu1.1+esm1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.19+ds1-2ubuntu1.1+esm2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.25+ds1-2",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.26+ds1-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.26+ds1-1ubuntu0.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.28+ds1-4ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "1.2.30+ds1-1ubuntu1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.30+ds1-1ubuntu2",
"evidence": "/affected/7/versions"
},
{
"value": "1.2.30+ds1-1ubuntu3",
"evidence": "/affected/7/versions"
},
{
"value": "1.2.31+ds1-3ubuntu2",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "cacti",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.30+ds1-1ubuntu1",
"evidence": "/affected/8/versions"
},
{
"value": "1.2.30+ds1-1ubuntu2",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2025-26520",
"aliases": [
"UBUNTU-CVE-2025-26520"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"0.8.8b+dfsg-3",
"0.8.8b+dfsg-5",
"0.8.8b+dfsg-5ubuntu0.1",
"0.8.8b+dfsg-5ubuntu0.2",
"0.8.8b+dfsg-5ubuntu0.2+esm1",
"0.8.8b+dfsg-5ubuntu0.2+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "0.8.8b+dfsg-5ubuntu0.2+esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"0.8.8f+ds1-2",
"0.8.8f+ds1-3",
"0.8.8f+ds1-4",
"0.8.8f+ds1-4ubuntu1",
"0.8.8f+ds1-4ubuntu2",
"0.8.8f+ds1-4ubuntu3",
"0.8.8f+ds1-4ubuntu4",
"0.8.8f+ds1-4ubuntu4.16.04",
"0.8.8f+ds1-4ubuntu4.16.04.1",
"0.8.8f+ds1-4ubuntu4.16.04.2",
"0.8.8f+ds1-4ubuntu4.16.04.2+esm1",
"0.8.8f+ds1-4ubuntu4.16.04.2+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "0.8.8f+ds1-4ubuntu4.16.04.2+esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1.1.18+ds1-1",
"1.1.27+ds1-2",
"1.1.27+ds1-3",
"1.1.28+ds1-2",
"1.1.35+ds1-1",
"1.1.36+ds1-1",
"1.1.38+ds1-1",
"1.1.38+ds1-1ubuntu0.1~esm1",
"1.1.38+ds1-1ubuntu0.1~esm3",
"1.1.38+ds1-1ubuntu0.1~esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.1.38+ds1-1ubuntu0.1~esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.2.4+ds1-2ubuntu3",
"1.2.9+ds1-1ubuntu1",
"1.2.9+ds1-1ubuntu2",
"1.2.10+ds1-1ubuntu1",
"1.2.10+ds1-1ubuntu1+esm1",
"1.2.10+ds1-1ubuntu1.1",
"1.2.10+ds1-1ubuntu1.1+esm1",
"1.2.10+ds1-1ubuntu1.1+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.10+ds1-1ubuntu1.1+esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1.2.16+ds1-2ubuntu1",
"1.2.19+ds1-2ubuntu1",
"1.2.19+ds1-2ubuntu1+esm1",
"1.2.19+ds1-2ubuntu1.1",
"1.2.19+ds1-2ubuntu1.1+esm1",
"1.2.19+ds1-2ubuntu1.1+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.19+ds1-2ubuntu1.1+esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.2.25+ds1-2",
"1.2.26+ds1-1",
"1.2.26+ds1-1ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.26+ds1-1ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.2.28+ds1-4ubuntu1",
"1.2.30+ds1-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.30+ds1-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.2.30+ds1-1ubuntu2",
"1.2.30+ds1-1ubuntu3",
"1.2.31+ds1-3ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.31+ds1-3ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cacti",
"purl": "pkg:deb/ubuntu/cacti?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.2.30+ds1-1ubuntu1",
"1.2.30+ds1-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26520.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cacti",
"binary_version": "1.2.30+ds1-1ubuntu2"
}
]
}
}
],
"modified": "2026-10-17T12:57:27.727629787Z",
"provider": "osv",
"upstream": [
"CVE-2025-26520"
],
"references": [
"https://ubuntu.com/security/CVE-2025-26520",
"https://www.cve.org/CVERecord?id=CVE-2025-26520",
"https://github.com/Cacti/cacti/commit/7fa60c03ad4a69c701ac6b77c85a8927df7acd51",
"https://github.com/Cacti/cacti/pull/6096"
]
},
"related_cves": [
{
"value": "CVE-2025-26520",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 357536,
"published_at": "2025-02-12T07:15:00+00:00"
}