Skip to content
Cacti Cacti

Cacti Cacti

github.com • November 28, 2026

Cacti is an open-source network monitoring and graphing platform built on RRDtool.

It provides a scalable framework to collect, store, and visualize time-series data from network devices, servers, and applications.

Core capabilities include:

Automated device discovery

Local and remote data collection

Graph, data source, and RRA templating

SNMP polling (v1/v2/v3) and IPv6 support

Role-based access control (RBAC)

Dynamic graph viewing and export options

This browser E2E fixture contains four demo devices with response times, traffic measurements, and alert states. It uses the shipped Cacti theme stylesheets. See theme validation for the narrow-screen details screenshot and reproduction commands.

The Dark browser fixture exercises keyboard focus, gradient contrast, and wrapped details titles using synthetic monitoring data. See Dark theme validation for screenshots and tests.

The Deepness fixture checks wrapped titles and readable status messages on dark rows. See Deepness theme validation for the narrow details screenshot and browser tests.

Both Midwinter palettes have browser coverage for details controls and row-state contrast. See Midwinter theme validation for narrow-screen screenshots and reproduction commands.

The Modern fixture checks keyboard focus, wrapped titles, and readable green gradients. See Modern theme validation for the narrow details screenshot and browser tests.

The Paw fixture checks wrapped titles and readable links across row states. See Paw theme validation for the narrow details screenshot and browser tests.

The Raspberry fixture checks wrapped titles and readable links on light and selected rows. See Raspberry theme validation for the narrow details screenshot and browser tests.

The Sunrise fixture checks wrapped titles and readable highlighted options. See Sunrise theme validation for the narrow details screenshot and browser tests.

The Paper Plane fixture checks wrapped titles and readable text on dark, alternating, hovered, and selected rows. See Paper Plane theme validation for screenshots and browser tests.

Cacti maintains two primary branches:

For the latest published version, see GitHub Releases .

Minimum supported dependencies by branch:

RRDtool 1.9+ is recommended for newer dynamic graph features in 1.3.x.

A web server with PHP support is required.

PHP should be available as CLI or CGI for scheduled polling and maintenance scripts.

php-snmp is now fully supported. When both php-snmp and the Net-SNMP binaries are available, php-snmp is used by default; to force the Net-SNMP binaries, set $php_snmp_support = false; in include/config.php .

Full support for the upcoming PHP 8.6 release is planned, which brings significant performance improvements that speed up data collection in Script and Script Server data input methods.

Operating system guidance:

1.2.x : RHEL/Rocky/Alma 8+ (or equivalent) is a common baseline.

1.3.x : RHEL/Rocky/Alma 9+ or CentOS Stream 9+ is preferred for modern PHP packaging.

Debian and Ubuntu are also well supported.

Installation (Source Checkout)

Clone the repository:

Dependency management:

For a source checkout on both 1.2.x and develop , install dependencies with Composer before serving Cacti. Composer-managed packages under include/vendor are generated and intentionally not committed; the remaining legacy libraries in that directory are not Composer-managed and remain in the repository.

On develop , composer install uses the committed lock file resolved against Cacti's PHP 8.3 floor.

Use composer update only in an intentional dependency-update change, and commit the resulting composer.lock update.

Release packages must build include/vendor from the lock with composer install --no-dev and verify the real build host with composer check-platform-reqs --no-dev .

Tags under release/* build a deterministic archive, SHA-256 checksum, CycloneDX SBOM, and GitHub provenance attestation through the release-artifact workflow.

Install dependencies:

Windows users may need:

For a source checkout, install the locked browser dependencies before configuring the web server. Node.js is required for this build; release archives already contain the generated assets. Run this command as the owner of the Cacti files:

Then configure your database and web server, and complete setup using the official docs:

Database Upgrades and Schema Checks

When running from source (especially develop ), schema updates may be required after pulling changes.

Upgrade the database schema:

If needed, force a re-upgrade from an earlier version:

Audit schema consistency:

Data Collection and Polling

Cacti collects data through data sources, which can use:

Spine supports SNMPv1/v2 and SNMPv3 with IPv6, with some advanced protocol support depending on how Net-SNMP is compiled on your platform.

Device discovery and automation workflows

Reusable templates for graphs and data sources

Distributed remote data collectors

Plugin architecture for extensibility

Dynamic graph interactions (time , realtime view, CSV export)

Fine-grained user and group permissions using RBAC

Broad RRDtool graphing support (including VDEFs and stacked lines)

Official documentation is maintained in a separate repository:

Development and Validation

Install the locked Composer dependencies before running PHP contracts. From the repository root:

Coverage reports for the PRs checked on October 14, 2026 measure changed first-party executable statements. Applicable changes exceed 80%; this is not whole-project coverage. Formatting-only PHP changes are checked for equivalent syntax trees. Documentation, workflow definitions, lockfiles and generated vendor bundles are outside this execution metric. The validation snapshot records the measured counts and scope.

Run the disposable browser and SQL/RRD profile with Docker and mise installed:

The runner selects Node 22 and Python 3.12 through mise and seeds 500 disabled devices and 50 deterministic RRD graphs. It profiles all shipped themes, AJAX , realtime responses, and graph rendering with Boost enabled and disabled. Containers are removed after the run; the printed results directory retains traces, CPU and memory measurements, SQL counts and Callgrind profiles. See profiling instructions and the measured rendering change . The October 14 profile found 400 redundant option-array loads across 200 graph renders. Removing those loads reduced median warm PHP CPU use by 70.7% without Boost and 46.6% with Boost in the equally instrumented fixture. Browser profiles still show retained DOM growth and expensive Midwinter styling.

Timings include Xdebug overhead and use synthetic data; they do not measure live SNMP, collector throughput or production fleet capacity. The current fixture uses RRDtool 1.7.2 for basic rendering; it does not exercise newer RRDtool features.

Contributions are welcome.

Fork this repository.

Create a branch for your change.

Submit a pull request.

You can also help improve docs in:

Community support is available on the Cacti forums:

Thanks go to these wonderful people ( emoji key ):

This project follows the all-contributors specification. Contributions of any kind are welcome.

Cacti is licensed under the GNU General Public License v2.0.

See LICENSE for details.

Copyright (c) 2004-2026 The Cacti Group, Inc.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Unpatched Cacti 1.2.31 Zero-Day (4HTTP2ROOT/4HTTP2SHELL) Enables Remote Code Execution via Guest Access Researcher ek0ms savi0r disclosed an unpatched flaw in Cacti 1.2.31, a PHP-based network monitoring tool, that can be chained into remote code execution using four HTTP requests when the default-disabled guest account is enabled. The chain is a stored second-order SQL injection: guest-controlled preview_graphs_per_page input is later concatenated into a SQL LIMIT clause, and stacked statements modify poller settings to run shell commands. The researcher published a proof of concept on GitHub on 26 November 2026 (Thanksgiving Day, per BleepingComputer); Previdian tracks it as VULN-2026-0010 and confirmed the PoC in a lab. The researcher demonstrated root-level execution in a lab where Cacti ran as root, but watchTowr and others note that impact depends on the account running the web server and poller, often a low-privileged user. Articles report the flaw could expose SNMP strings and device credentials Cacti stores. No CVE, vendor patch, or CVSS score had been issued at the time of reporting, and the articles describe Cacti 1.2.31 as confirmed affected while other versions have not been ruled out. As of 27 November 2026, watchTowr reports no exploitation in the wild. Recommended mitigation is disabling the guest account and restricting the web interface to trusted networks; disabling guest access blocks the demonstrated path but does not fix the underlying SQL injection. 17 sources 69

Extracted Entities

Companies (2)

Tools (1)

Vulnerabilities (1)