Skip to main content

NginxPulse EUVDEUVD-2026-125596

| CVE-2026-129171 CRITICAL
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-jqh3-8vc6-rjxr
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted request to /api/stats/:type
  2. Delivery
    Inject SQL via id and locationType parameters
  3. Exploit
    Close quoted identifier, error-based extraction
  4. Execution
    Invoke PostgreSQL superuser file functions
  5. Impact
    Exfiltrate database and read/write server files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions are required for the core injection - remote unauthenticated exploitation against a default-reachable endpoint, /api/stats/:type, via the id and locationType parameters of NginxPulse (versions 1.5.0 through before 1.6.26). The escalation to reading and writing server files is CONDITIONED on the application's PostgreSQL login holding superuser privileges or pg_read_server_files/pg_write_server_files/pg_execute_server_program membership; per the vendor's patch documentation this is the default state in the built-in embedded-PostgreSQL deployment (the initdb bootstrap superuser), so default embedded installs are fully exposed. Limiting factor: deployments using an external database with a dedicated reduced-privilege (ordinary) role constrain the impact to disclosure/modification of application database contents rather than server-file read/write, though the SQL injection itself still functions regardless of privilege level.

Impact

Multiple signals align toward genuine priority, with one caveat about footprint. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) describes a remote, low-complexity, unauthenticated attack requiring no user interaction and yielding high confidentiality, integrity and availability impact on the vulnerable system - the maximally exploitable profile for CWE-89. The vuln.today decision label is act_now, the finding was reported by VulnCheck, and a vendor patch exists (commit f9416be, fixed in 1.6.26), all reinforcing urgency. However, no EPSS score and no KEV listing are present in the input, so there is currently no quantitative probability-of-exploitation signal and no confirmation of active in-the-wild exploitation; the input also shows no entry labeled 'POC/Exploit: Publicly available (confirmed)', only advisory, issue-tracker, commit and source-line references. The tension to weigh is between the near-maximal CVSS/act_now urgency and the product's limited real-world deployment footprint (an independent open-source nginx-analytics project), which argues the realistic exposure is narrow rather than internet-scale. Net: treat as a high-urgency patch-now item for any organization actually running NginxPulse, while recognizing the absence of EPSS/KEV means widespread mass exploitation is not confirmed.

Exploit ScenarioDerived

A remote attacker with no credentials sends a crafted request to /api/stats/:type, injecting into the id and locationType parameters to close the quoted table-name identifier and use error-based output to read arbitrary database contents. Where the application's PostgreSQL role holds superuser privileges (the default in the built-in embedded-PostgreSQL deployment), the attacker escalates to reading and writing server files via PostgreSQL file functions. No confirmed working exploit code is identified in the input, though a VulnCheck advisory and a vendor issue (#103) describe the flaw.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Unauthenticated SQL injection in NginxPulse 1.5.0 through 1.6.25 lets remote attackers append arbitrary SQL through the id and locationType parameters of the /api/stats/:type endpoint, closing the quoted table-name identifier so that PostgreSQL error output discloses database contents; where the application's PostgreSQL login holds superuser or pg_read_server_files / pg_write_server_files / pg_execute_server_program privileges, the same flaw extends to reading and writing files on the database server. Built-in embedded-PostgreSQL installs are fully exposed because the initdb bootstrap superuser is what the application logs in as, whereas external-database deployments using a dedicated ordinary role constrain impact to disclosure and modification of application-database contents even though the injection itself still works. The vendor has released 1.6.26 with the fix, the source commit is public, the vuln.today decision label is act_now, and no public exploit identified at time of analysis.

RemediationAI

Upgrade to NginxPulse 1.6.26 or later - vendor-released patch: 1.6.26, delivered by commit f9416bea3be892a394cd24a6d4a2afbd8397e926 (https://github.com/likaia/nginxpulse/commit/f9416bea3be892a394cd24a6d4a2afbd8397e926) and described in the VulnCheck advisory. For the embedded-PostgreSQL deployment, back up pgdata before upgrading, because the new entrypoint migrates privileges at startup: it bootstraps an independent POSTGRES_ADMIN_USER (default nginxpulse_admin, which must differ from POSTGRES_USER), renames the old bootstrap superuser to that administrator, recreates the original application login as an ordinary role without a password and transfers table and sequence ownership, retrying safely on restart; do not roll back to an older image after migration, since the old entrypoint depends on the application account's database-creation privilege. External-database deployments require no DSN or account change, but as optional hardening a DBA can create a dedicated ordinary role (avoiding SUPERUSER, CREATEDB, CREATEROLE, REPLICATION, BYPASSRLS and pg_read_server_files / pg_write_server_files / pg_execute_server_program membership), transfer ownership of the application database objects, and point DB_DSN at it using scripts/postgres-app-role.sql and scripts/postgres-app-owner.sql; note that PostgreSQL will not demote an initdb-created bootstrap superuser, so a new role must be created, and the vendor explicitly frames this as defense in depth rather than an upgrade prerequisite. The application also logs a warning, but continues running, when an external account holds excessive privileges, so such warnings should be treated as an indication that the server-file escalation path remains open.

Affected VersionsENISA

NginxPulse 1.5.0 <1.6.26

Affected Packages

euvd nginxpulse fix: 1.6.26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-89 SQL injection in the Go-based NginxPulse analytics backend, specifically the query-building code in internal/analytics/stats.go (lines 217-221 in the referenced revision) and internal/analytics/overall_stats.go (lines 219-224). User-supplied id and locationType values are concatenated into a quoted table-name identifier rather than bound as parameters, so an attacker can terminate the quoted identifier and append their own SQL; because the application surfaces PostgreSQL error messages, error-based extraction of arbitrary query results is possible. PostgreSQL is the pivot for the worst-case impact: if the application's login is a superuser - the documented default state for the embedded database, where the initdb bootstrap superuser is used by the app - server-side functions such as pg_read_server_files, pg_write_server_files and pg_execute_server_program become reachable, turning a data-disclosure bug into server file read/write. The upstream fix commit f9416bea3be892a394cd24a6d4a2afbd8397e926 addresses both injections and, in the embedded deployment, splits the administrator from the application by bootstrapping an independent POSTGRES_ADMIN_USER (default nginxpulse_admin) with no password used only over the container's Unix socket, renaming the old bootstrap superuser on existing clusters, recreating the original application login as an ordinary role and transferring table and sequence ownership, plus adding HTTP error redaction and a startup warning when an external account holds excessive privileges. The affected CPE is cpe:2.3:a:likaia:nginxpulse across the 1.5.0 to before 1.6.26 range.

Know when Nginxpulse gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 9.8 CRITICAL

Unauthenticated remote SQL injection on a default endpoint (AV:N/AC:L/PR:N/UI:N); full database read/write plus server file access via superuser functions yields C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

NginxPulse versions 1.5.0 through 1.6.25 contain a critical SQL injection vulnerability that allows unauthenticated attackers to read and modify the application's PostgreSQL database. Embedded-PostgreSQL deployments are at severe risk because the database user holds superuser privileges, enabling file read/write and command execution on the database server; external-database setups with a dedicated role are limited to data disclosure and modification but still fully exploitable. Leadership should prioritize immediate patching, as the vulnerability is trivial to exploit remotely and can lead to full compromise of the database server in common configurations.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
independent open-source nginx-analytics project, limited enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy