Summary
CVE-2026-129171 is an unauthenticated SQL injection vulnerability (CWE-89) in NginxPulse, an Nginx access statistics tool. Versions 1.5.0 before 1.6.26 are affected. The CVE record rates it CVSS v4.0 9.3 (Critical).
Technical details
- Root cause: improper neutralization of special elements in SQL commands. Attacker input in the
idandlocationTypeparameters of the/api/stats/:typeendpoint is appended to SQL queries. - Trigger conditions: a network request to the endpoint. No authentication or user interaction is required.
- Attack vector: network, low complexity.
- Impact: attackers can use error-based techniques to extract database contents. When the backend is PostgreSQL, superuser capabilities can also be used to manipulate files on the server.
Affected software
- NginxPulse (likaia) 1.5.0 up to, but not including, 1.6.26
Severity
- CVSS v4.0: 9.3 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 9.8 (Critical) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade NginxPulse to version 1.6.26 or later.
- If you cannot patch immediately: restrict network access to the NginxPulse instance, and in particular to the
/api/stats/API, to trusted users only. Do not expose it directly to the internet. - Review database and server logs for unexpected requests to
/api/stats/that carry SQL syntax in theidorlocationTypeparameters.

