CVE-2023-39361
Unauthenticated SQL Injection in graph_view.php in Cacti
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
Unauthenticated SQL Injection in graph_view.php in Cacti
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
EUVDEUVD-2023-43087
9.8
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
EUVD-2023-43087- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
NVD
9.8
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-39361
9.8
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
ALPINE-CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
9.8
Unauthenticated SQL Injection in graph_view.php in Cacti
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-39361
9.8
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
DEBIAN-CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2023-39361
9.8
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
UBUNTU-CVE-2023-39361- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0275-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
cacti-spine 1.2.25:
- Spine should see if script to be executed is executable
- Enhance number recognition
- When polling devices, sort by larger number of items first
- Log format may be corrupted when timeout occurs
- Compile warning appears due to GCC flag on RHEL7/RHEL8
- Downed device detection only checks one of the two uptime OIDs
- Compile error appears due to execinfo.h on FreeBSD
- Bootstrap shell script contains some PHP cruft
- Padding is not always removed from the start of non-numeric strings
- Improve SNMP result handling for non-numeric results
- Further improve SNMP result handling for non-numeric results
- Remove check for the max_oids column which has been present since Cacti v1.0
- Minimize Sorting when fetching poller records for maximum performance
- Spine should see if script to be executed is executable
cacti-spine 1.2.24:
- Fix segfault when ignoring older OIDs
cacti 1.2.25:
- CVE-2023-30534: Protect against Insecure deserialization of filter data (boo#1215082)
- CVE-2023-39360: Cross-Site Scripting vulnerability when creating new graphs (boo#1215044)
- CVE-2023-39361: Unauthenticated SQL Injection when viewing graphs (boo#1215045)
- CVE-2023-39357: SQL Injection when saving data with sql_save() (boo#1215040)
- CVE-2023-39362: Authenticated command injection when using SNMP options (boo#1215047)
- CVE-2023-39359: Authenticated SQL injection vulnerability when managing graphs (boo#1215043)
- CVE-2023-39358: Authenticated SQL injection vulnerability when managing reports (boo#1215042)
- CVE-2023-39365: SQL Injection when using regular expressions (boo#1215051)
- CVE-2023-39364: redirect in change password functionality (boo#1215050)
- CVE-2023-39366: Cross-Site Scripting vulnerability with Device Name when managing Data Sources (boo#1215052)
- CVE-2023-39510: Cross-Site Scripting vulnerability with Device Name when administrating Reports (boo#1215053)
- CVE-2023-39511: Cross-Site Scripting vulnerability with Device Name when editing Graphs whilst managing Reports (boo#1215081)
- CVE-2023-39512: Cross-Site Scripting vulnerability with Device Name when managing Data Sources (boo#1215054)
- CVE-2023-39513: Cross-Site Scripting vulnerability with Device Name when debugging data queries (boo#1215055)
- CVE-2023-39514: Cross-Site Scripting vulnerability with Data Source Name when managing Graphs (boo#1215056)
- CVE-2023-39515: Cross-Site Scripting vulnerability with Data Source Name when debugging Data Queries (boo#1215058)
- CVE-2023-39516: Cross-Site Scripting vulnerability with Data Source Information when managing Data Sources (boo#1215059)
- When rebuilding the Poller Cache from command line, allow it to be multi-threaded
- When searching tree or list views, the URL does not update after changes
- When creating a Data Source Template with a specific snmp port, the port is not always applied
- When a Data Query references a file, the filename should be trimmed to remove spurious spaces
- THold plugin may not always install or upgrade properly
- RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template
- When reindexing devices, errors may sometimes be shown
- Boost may loose data when the database server is overloaded
- Boost can sometimes output unexpected or invalid values
- Boost should not attempt to start if there are no items to process
- Rebuilding the poller cache does not always work as expected
- Host CPU items may not work poll as expected when on a remote data collector where hmib is also enabled
- When creating new graphs, invalid offset errors may be generated
- When importing packages, SQL errors may be generated
- When managing plugins from command line, the --plugin option is not properly handled
- When automating an install of Cacti, error messages can be appear
- When performing automated install of a plugin, warnings can be thrown
- Automation…
- Record
openSUSE-SU-2023:0275-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13203-1 No score
cacti-1.2.25-2.1 on GA media
These are all security issues fixed in the cacti-1.2.25-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13203-1- Updated
- 2026-11-02
OSVUSN-6720-1 No score
cacti vulnerability
Kentaro Kawane discovered that Cacti incorrectly handled user provided input sent through request parameters to the graph_view.php script. A remote authenticated attacker could use this issue to perform SQL injection attacks.
- Record
USN-6720-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cactiAlpine:v3.18 |
before 1.2.26-r0 | 1.2.26-r0 |
cactiAlpine:v3.19 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiAlpine:v3.20 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiAlpine:v3.21 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiAlpine:v3.22 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiAlpine:v3.23 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiAlpine:v3.24 |
before 1.2.25-r0 | 1.2.25-r0 |
cactiDebian:12 |
before 1.2.24+ds1-1+deb12u1, plus listed versions 1.2.24+ds1-1 |
1.2.24+ds1-1+deb12u1 |
cactiDebian:13 |
before 1.2.25+ds1-1 | 1.2.25+ds1-1 |
cactiDebian:14 |
before 1.2.25+ds1-1 | 1.2.25+ds1-1 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cactiDebian:10 |
before 1.2.2+ds1-2+deb10u6, plus listed versions 1.2.2+ds1-21.2.2+ds1-2+deb10u11.2.2+ds1-2+deb10u21.2.2+ds1-2+deb10u31.2.2+ds1-2+deb10u41.2.2+ds1-2+deb10u5 |
1.2.2+ds1-2+deb10u6 |
cactiDebian:11 |
before 1.2.16+ds1-2+deb11u2, plus listed versions 1.2.16+ds1-21.2.16+ds1-2+deb11u1 |
1.2.16+ds1-2+deb11u2 |
cactiUbuntu:Pro:22.04:LTS |
before 1.2.19+ds1-2ubuntu1+esm1, plus listed versions 1.2.16+ds1-2ubuntu11.2.19+ds1-2ubuntu1 |
1.2.19+ds1-2ubuntu1+esm1 |
cactiUbuntu:24.04:LTS |
before 1.2.25+ds1-2 | 1.2.25+ds1-2 |
cactiSUSE:Package Hub 12 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cacti-spineSUSE:Package Hub 12 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cactiSUSE:Package Hub 15 SP4 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cacti-spineSUSE:Package Hub 15 SP4 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cactiSUSE:Package Hub 15 SP5 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cacti-spineSUSE:Package Hub 15 SP5 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cactiopenSUSE:Leap 15.4 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cacti-spineopenSUSE:Leap 15.4 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cactiopenSUSE:Leap 15.5 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cacti-spineopenSUSE:Leap 15.5 |
before 1.2.25-bp155.2.3.1 | 1.2.25-bp155.2.3.1 |
cactiopenSUSE:Tumbleweed |
before 1.2.25-2.1 | 1.2.25-2.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | HPT-Intern-Task-Submission/CVE-2023-39361 | 2024-07-01 |
| PoC in GitHub | ChoDeokCheol/CVE-2023-39361 | 2025-04-26 |
| PoC in GitHub | spartanx-alejandro/cacti-cve-2023-39361 | 2026-08-31 |
| Nuclei | Cacti 1.2.24 - SQL Injection |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, exploits, references | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-39361 is a critical vulnerability (CVSS 9.8) in Cacti, published September 5, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 88.8%, the 99th percentile. Fixed in cacti 1.2.26-r0.
References
github.com/Cacti/cacti/security/advisories/GHSA-6r43-q2fw-5wrg
lists.fedoraproject.org/archives/list/[email protected]/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN
lists.fedoraproject.org/archives/list/[email protected]/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH
lists.fedoraproject.org/archives/list/[email protected]/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH
debian.org/security/2023/dsa-5550
lists.debian.org/debian-lts-announce/2024/03/msg00018.html
Show 42 moreShow less
security.alpinelinux.org/vuln/CVE-2023-39361
github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39361.json
nvd.nist.gov/vuln/detail/CVE-2023-39361
security-tracker.debian.org/tracker/CVE-2023-39361
ubuntu.com/security/CVE-2023-39361
ubuntu.com/security/notices/USN-6720-1
cve.org/CVERecord?id=CVE-2023-39361
lists.opensuse.org/archives/list/[email protected]/thread/JFJCU2NOOFCO7XJZOUW2BQ6HWJMHSYSN
bugzilla.suse.com/1215040
bugzilla.suse.com/1215042
bugzilla.suse.com/1215043
bugzilla.suse.com/1215044
bugzilla.suse.com/1215045
bugzilla.suse.com/1215047
bugzilla.suse.com/1215050
bugzilla.suse.com/1215051
bugzilla.suse.com/1215052
bugzilla.suse.com/1215053
bugzilla.suse.com/1215054
bugzilla.suse.com/1215055
bugzilla.suse.com/1215056
bugzilla.suse.com/1215058
bugzilla.suse.com/1215059
bugzilla.suse.com/1215081
bugzilla.suse.com/1215082
suse.com/security/cve/CVE-2023-30534
suse.com/security/cve/CVE-2023-39357
suse.com/security/cve/CVE-2023-39358
suse.com/security/cve/CVE-2023-39359
suse.com/security/cve/CVE-2023-39360
suse.com/security/cve/CVE-2023-39361
suse.com/security/cve/CVE-2023-39362
suse.com/security/cve/CVE-2023-39364
suse.com/security/cve/CVE-2023-39365
suse.com/security/cve/CVE-2023-39366
suse.com/security/cve/CVE-2023-39510
suse.com/security/cve/CVE-2023-39511
suse.com/security/cve/CVE-2023-39512
suse.com/security/cve/CVE-2023-39513
suse.com/security/cve/CVE-2023-39514
suse.com/security/cve/CVE-2023-39515
suse.com/security/cve/CVE-2023-39516
Left out here: the rest of 1 source description. The JSON record has them.