Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-39948

Type: advisorySource: OSV1 source record

Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request parameter is retrieved via the raw accessor grv() (rather than gfrv() with FILTER_VALIDATE_IS_REGEX validation) and concatenated directly into RLIKE SQL clauses in lib/html_graph.php and lib/html_tree.php, which are reachable pre-authentication through graph_view.php on installations with guest graph viewing enabled. Because the unbalanced-quote payload bypasses the regex validation that would otherwise reject it, an unauthenticated attacker can inject arbitrary SQL to compromise the confidentiality, integrity, and availability of the database. This advisory is similar to GHSA-69gg-mjfm-jjpc. This issue has been fixed in version 1.2.31.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-39948

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-39948

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-39948.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-39948.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-39948.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

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