Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-40083

Type: advisorySource: OSV1 source record

Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have SQL Injection through unsanitized unserialize+implode in managers.php. At line 756 of managers.php, the application assigns $selected_items by calling cacti_unserialize(stripslashes(gnrv('selected_graphs_array'))). The cacti_unserialize() function calls unserialize() with allowed_classes set to false, which prevents object injection but still allows arbitrary string arrays to be deserialized. Then, at lines 760 to 766, the deserialized array values are passed directly into db_execute('DELETE FROM snmpagent_managers WHERE id IN (' . implode(',', $selected_items) . ')'), where they are imploded into the SQL statement without any integer validation, resulting in SQL Injection when using SNMP agent management permissions. This issue has been fixed in version 1.2.31.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-40083

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-40083

cacti

Source reference: /affected/0/package/name

Affected versions
1.2.24+ds1-1

Source reference: /affected/0/versions

1.2.24+ds1-1+deb12u1

Source reference: /affected/0/versions

1.2.24+ds1-1+deb12u2

Source reference: /affected/0/versions

1.2.24+ds1-1+deb12u3

Source reference: /affected/0/versions

1.2.24+ds1-1+deb12u4

Source reference: /affected/0/versions

1.2.24+ds1-1+deb12u5

Source reference: /affected/0/versions

1.2.25+ds1-1

Source reference: /affected/0/versions

1.2.25+ds1-2

Source reference: /affected/0/versions

1.2.26+ds1-1

Source reference: /affected/0/versions

1.2.27+ds1-1

Source reference: /affected/0/versions

1.2.27+ds1-2

Source reference: /affected/0/versions

1.2.28+ds1-1

Source reference: /affected/0/versions

1.2.28+ds1-2

Source reference: /affected/0/versions

1.2.28+ds1-3

Source reference: /affected/0/versions

1.2.28+ds1-4

Source reference: /affected/0/versions

1.2.30+ds1-1

Source reference: /affected/0/versions

1.2.30+ds1-2

Source reference: /affected/0/versions

1.2.30+ds1-3

Source reference: /affected/0/versions

1.2.31+ds1-1

Source reference: /affected/0/versions

1.2.31+ds1-2

Source reference: /affected/0/versions

1.2.31+ds1-3

Source reference: /affected/0/versions

1.2.31+ds1-4

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

cacti

Source reference: /affected/1/package/name

Affected versions
1.2.30+ds1-1

Source reference: /affected/1/versions

1.2.30+ds1-2

Source reference: /affected/1/versions

1.2.30+ds1-3

Source reference: /affected/1/versions

1.2.31+ds1-1

Source reference: /affected/1/versions

1.2.31+ds1-2

Source reference: /affected/1/versions

1.2.31+ds1-3

Source reference: /affected/1/versions

1.2.31+ds1-4

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

cacti

Source reference: /affected/2/package/name

Affected versions
1.2.30+ds1-1

Source reference: /affected/2/versions

1.2.30+ds1-2

Source reference: /affected/2/versions

1.2.30+ds1-3

Source reference: /affected/2/versions

Fixed versions
1.2.31+ds1-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "cacti",
      "purl": "pkg:deb/debian/cacti?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.2.24+ds1-1",
      "1.2.24+ds1-1+deb12u1",
      "1.2.24+ds1-1+deb12u2",
      "1.2.24+ds1-1+deb12u3",
      "1.2.24+ds1-1+deb12u4",
      "1.2.24+ds1-1+deb12u5",
      "1.2.25+ds1-1",
      "1.2.25+ds1-2",
      "1.2.26+ds1-1",
      "1.2.27+ds1-1",
      "1.2.27+ds1-2",
      "1.2.28+ds1-1",
      "1.2.28+ds1-2",
      "1.2.28+ds1-3",
      "1.2.28+ds1-4",
      "1.2.30+ds1-1",
      "1.2.30+ds1-2",
      "1.2.30+ds1-3",
      "1.2.31+ds1-1",
      "1.2.31+ds1-2",
      "1.2.31+ds1-3",
      "1.2.31+ds1-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40083.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "cacti",
      "purl": "pkg:deb/debian/cacti?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.2.30+ds1-1",
      "1.2.30+ds1-2",
      "1.2.30+ds1-3",
      "1.2.31+ds1-1",
      "1.2.31+ds1-2",
      "1.2.31+ds1-3",
      "1.2.31+ds1-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40083.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.2.31+ds1-1"
          }
        ]
      }
    ],
    "package": {
      "name": "cacti",
      "purl": "pkg:deb/debian/cacti?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.2.30+ds1-1",
      "1.2.30+ds1-2",
      "1.2.30+ds1-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40083.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56007 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement