HOMEVULNERABILITIESCVE-2026-9059
CRITICAL

CVE-2026-9059

CWE-89Published: May 20, 2026· Updated: May 20, 2026

9.3
CVSS v3.1
EPSS:0.03%probability of exploitation in 30 daysPercentile:8.2th

Official Description

NextGEN Gallery version prior to 4.2.1 are vulnerable to authenticated SQL injection via the 'orderby' parameter on the REST API endpoints '/imagely/v1/galleries' and '/imagely/v1/albums'.

The root cause is an insufficient sanitization function ('_clean_column()') in the data mapper layer that uses a character blacklist instead of a whitelist approach. This allows an authenticated attacker with the 'NextGEN Gallery overview' capability (assigned to the Administrator role by default) to inject arbitrary SQL into the 'ORDER BY' clause.

NVD Source

Risk Analysis

This critical authenticated SQL injection vulnerability in NextGEN Gallery allows attackers to extract sensitive database information. With a CVSS score of 9.3, this flaw enables a highly privileged attacker to inject arbitrary SQL into the ORDER BY clause of REST API endpoints due to insufficient sanitization. This vulnerability is remotely exploitable.

No public exploit is currently known for this vulnerability. While it requires high privileges, its remote exploitability and potential for full database extraction make it a serious concern.

Recommended Action

Upgrade NextGEN Gallery to version 4.2.1 or later to address the SQL injection vulnerability. Implement the principle of least privilege for all user accounts and ensure robust input sanitization is in place.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2026-9059 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires high privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.High
User InteractionNone
ScopeX
Impact
Confidentiality
Integrity
Availability
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

All References (1)

Quick Facts

CVE IDCVE-2026-9059
CVSS Score9.3 / 10
SeverityCRITICAL
WeaknessCWE-89
CISA KEVNo
EPSS (30d)0.03%
PublishedMay 20, 2026

Related CVEs (CWE-89)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-9059 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.