---
id: "CVE-2026-129171"
page: "https://infrastack.ai/live/CVE-2026-129171"
kind: "vulnerability"
aliases: ["CVE-2026-129171"]
title: "NginxPulse: unauthenticated SQL injection lets remote attackers read database and files"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["nginxpulse", "package", "postgresql", "self-hosted"]
not_affected_if: ["not-network-exposed", "patched-version"]
published_at: "2026-11-13T18:17:42+00:00"
first_seen_at: "2026-11-13T18:49:31+00:00"
updated_at: "2026-11-13T18:51:18+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129171", "first_seen_at": "2026-11-13T18:49:31+00:00"}]
exploit_sources: []
---

# NginxPulse: unauthenticated SQL injection lets remote attackers read database and files

Link for people: https://infrastack.ai/live/CVE-2026-129171 (this .md is for agents)

NginxPulse versions 1.5.0 before 1.6.26 let anyone on the internet inject SQL through the id and locationType parameters of the /api/stats/:type endpoint without logging in. An attacker can read database contents through error messages and, when PostgreSQL superuser functions are available, read or write files on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed NginxPulse version and confirm whether it is `1.5.0` up to but not including `1.6.26`.
- Look for reachable instances exposing the `/api/stats/` endpoint.

## Fix

- Upgrade NginxPulse to `1.6.26` or later.

## Timeline

- 2026-11-13T18:49:31+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129171

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nginxpulse-1.5.0-before-1.6.26-sql-injection-via-api-stats-type
- [fix] Patch: github.com https://github.com/likaia/nginxpulse/commit/f9416bea3be892a394cd24a6d4a2afbd8397e926

## From the sources

NginxPulse 1.5.0 before 1.6.26 contains an unauthenticated sql injection vulnerability that allows remote attackers to append SQL via the id and locationType parameters of /api/stats/:type. Attackers can close the quoted table-name identifier and use error-based output to read database contents, and read or write server files via PostgreSQL superuser functions.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
