{
  "id": "CVE-2026-9059",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-9059",
  "published_at": "2026-05-20T07:41:28.135Z",
  "title": "NextGEN Gallery - SQL Injection",
  "vendor": "awesomemotive",
  "product": "NextGEN Gallery",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 the 'NextGEN Gallery overview' capability (assigned to the Administrator role by default) to inject arbitrary SQL into the 'ORDER BY' clause.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "awesomemotive",
        "product": "NextGEN Gallery",
        "ranges": [
          "\u003e= O, \u003c 4.2.1"
        ],
        "fixed_in": [
          "4.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade NextGEN Gallery to 4.2.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
