Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CVE-2026-9059: CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection') in awesomemotive NextGEN Gallery

0
Critical
VulnerabilityCVE-2026-9059cvecve-2026-9059cwe-89
Published: 05/20/2026 (05/20/2026, 07:41:28 UTC)
Source: CVE Database V5
Vendor/Project: awesomemotive
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 09:03:49 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses