Security advisory
Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id composite value are used to identify the template type and id. An authenticated attacker can exploit this to extract data from the database, or an unauthenticated remote attacker could exploit this via Cross-Site Request Forgery.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-17357
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:37 UTC · Revision 1
Source evidence
Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id composite value are used to identify the template type and id. An authenticated attacker can exploit this to extract data from the database, or an unauthenticated remote attacker could exploit this via Cross-Site Request Forgery.
osv:CVE-2019-17357
Complete source record
{
"id": "d4f308935fd9f4d989c08d84da0c78de32c93b377e1f5343b1d11139087f7eeb",
"url": "https://osv.dev/vulnerability/CVE-2019-17357",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-17357",
"summary": "Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id composite value are used to identify the template type and id. An authenticated attacker can exploit this to extract data from the database, or an unauthenticated remote attacker could exploit this via Cross-Site Request Forgery.",
"evidence": "osv:CVE-2019-17357",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-17357",
"aliases": [
"CVE-2019-17357"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cacti/cacti",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "05534a274b3f0f57e119efce17845af4caa1421a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"release/1.2.7",
"release/1.2.6",
"release/1.2.5",
"release/1.2.4",
"release/1.2.3",
"release/1.2.2",
"release/1.2.1",
"release/1.2.0",
"release/1.1.38",
"release/1.1.37",
"release/1.1.36",
"release/1.1.35",
"release/1.1.34",
"release/1.1.33",
"release/1.1.32",
"release/1.1.31",
"release/1.1.30",
"release/1.1.29",
"release/1.1.28",
"release/1.1.27",
"release/1.1.26",
"release/1.1.25",
"release/1.1.24",
"release/1.1.23",
"release/1.1.22",
"release/1.1.21",
"release/1.1.20",
"release/1.1.19",
"release/1.1.18",
"release/1.1.17",
"release/1.1.16",
"release/1.1.15",
"release/1.1.14",
"release/1.1.13",
"release/1.1.12",
"release/1.1.11",
"release/1.1.8",
"release/1.1.7",
"release/1.1.6",
"release/1.1.5",
"release/1.1.4",
"release/1.1.3",
"release/1.1.2",
"release/1.1.1",
"release/1.1.0",
"release/1.0.6",
"release/1.0.5",
"release/1.0.4",
"release/1.0.3",
"release/1.0.2",
"release/1.0.1",
"release/1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17357.json"
}
}
],
"modified": "2026-10-20T10:50:48.598935075Z",
"provider": "osv",
"references": [
"https://www.darkmatter.ae/xen1thlabs/",
"https://security.gentoo.org/glsa/202003-40",
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947374",
"https://github.com/Cacti/cacti/issues/3025"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-17357",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382195,
"published_at": "2020-01-21T19:15:13.067+00:00"
}