CVE-2026-9059: CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection') in awesomemotive NextGEN Gallery
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.
AI Analysis
Technical Summary
CVE-2026-9059 is an authenticated SQL injection vulnerability affecting NextGEN Gallery versions prior to 4.2.1. The issue exists in the REST API endpoints '/imagely/v1/galleries' and '/imagely/v1/albums' via the 'orderby' parameter. The root cause is an insufficient sanitization function '_clean_column()' that relies on a character blacklist rather than a safer whitelist, allowing attackers with appropriate privileges to inject arbitrary SQL into the ORDER BY clause. This can lead to unauthorized data access or manipulation. The vulnerability is rated critical with a CVSS 4.0 score of 9.3. There is no vendor advisory or patch currently available to confirm remediation status.
Potential Impact
An authenticated attacker with the 'NextGEN Gallery overview' capability can exploit this vulnerability to execute arbitrary SQL commands via the 'orderby' parameter. This could result in unauthorized data disclosure, modification, or other impacts typical of SQL injection vulnerabilities. The critical CVSS score reflects the high potential impact on confidentiality, integrity, and availability. No known exploits have been reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to users with the 'NextGEN Gallery overview' capability to trusted administrators only. Monitor for vendor updates and apply patches promptly once released.
CVE-2026-9059: CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection') in awesomemotive NextGEN Gallery
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.
CVSS v4.0
Score 9.3critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9059 is an authenticated SQL injection vulnerability affecting NextGEN Gallery versions prior to 4.2.1. The issue exists in the REST API endpoints '/imagely/v1/galleries' and '/imagely/v1/albums' via the 'orderby' parameter. The root cause is an insufficient sanitization function '_clean_column()' that relies on a character blacklist rather than a safer whitelist, allowing attackers with appropriate privileges to inject arbitrary SQL into the ORDER BY clause. This can lead to unauthorized data access or manipulation. The vulnerability is rated critical with a CVSS 4.0 score of 9.3. There is no vendor advisory or patch currently available to confirm remediation status.
Potential Impact
An authenticated attacker with the 'NextGEN Gallery overview' capability can exploit this vulnerability to execute arbitrary SQL commands via the 'orderby' parameter. This could result in unauthorized data disclosure, modification, or other impacts typical of SQL injection vulnerabilities. The critical CVSS score reflects the high potential impact on confidentiality, integrity, and availability. No known exploits have been reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to users with the 'NextGEN Gallery overview' capability to trusted administrators only. Monitor for vendor updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- tenable
- Date Reserved
- 2026-05-20T06:51:03.927Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d7561ba1db473626a1bec
Added to database: 05/20/2026, 08:48:33 UTC
Last enriched: 05/20/2026, 09:03:49 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.