9.3

CVE-2026-9059: NextGEN Gallery - SQL Injection

Deferred
Published 20-05-2026Last modified 20-05-2026

Vulnerability summary

CVE-2026-9059 is a critical (CVSS 9.3) SQL Injection vulnerability in awesomemotive nextgen gallery. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.5% of scored vulnerabilities. Fixed in 4.2.1.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.3/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.37%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-05-2026
    PublishedVulnerability first disclosed.
  2. 20-05-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 0.29% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Awesomemotive1 product
Wordpress1 product
  • nextgen-gallery< 4.2.1

2 vendors · 2 products

References

2 links