CVE-2026-9059
published critical CVSS 4.0 · 9.3NextGEN Gallery - SQL Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| awesomemotive | — | NextGEN GalleryO to < 4.2.1 · Other versions: unaffected | Affected | Not stated | tenable |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- tenable · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| awesomemotive | NextGEN Gallery | O to < 4.2.1 (affected · custom)Default: unaffected | tenable · cna |
Weaknesses
1- CWE-89 CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')
References
1Provider assertions
2tenable · cna
NextGEN Gallery - SQL Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 839bdc8cd4a5626e927e9e224b2a5bd679c7eb16a6cd489ffd20a0867732fd76
- Ingested
- 23 Sep 2026, 09:41:13 UTC
- Source record
- Official CVE record