{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-9059","id":"CVE-2026-9059","title":"NextGEN Gallery - SQL Injection","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'.\n\n\n\nThe 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","descriptionLong":"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'.\n\n\n\nThe 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.","published":"2026-05-20T07:41:28.135Z","updated":"2026-07-23T20:10:00.130Z","reserved":"2026-05-20T06:51:03.927Z","status":"Deferred","rejected":false,"assigner":"tenable","metric":{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"tenable"},"metrics":[{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"tenable"},{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"tenable.com"}],"rating":"critical","products":["awesomemotive NextGEN Gallery"],"affectedProducts":[{"vendor":"awesomemotive","product":"NextGEN Gallery","defaultStatus":"unaffected","versions":[{"status":"affected","version":"O","lessThan":"4.2.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":[],"references":[{"url":"https://www.tenable.com/security/research/tra-2026-42","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00295,"epssPercentile":0.22498,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-9059","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9059","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-9059","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-9059","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}