---
id: CVE-2026-42323
title: Piwigo is a full featured open source photo gallery application for the web
summary: >-
  Piwigo is a full featured open source photo gallery application for the web.
  Prior to 16.4.0, admin/batch_manager.php accepts administrator-controlled
  dimension width, height, and ratio values and filesize values from the Batch
  Manager f…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: Piwigo
product: Piwigo
affected:
  - Piwigo < 16.4.0
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T16:17:25.753'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42323'
references:
  - url: >-
      https://github.com/Piwigo/Piwigo/commit/c7e30da5c1775b531ce9a30aac04134cd714b472
    label: security-advisories@github.com
  - url: >-
      https://github.com/Piwigo/Piwigo/commit/e4f0989d350d66207066ea61f8ee8c137164fb2f
    label: security-advisories@github.com
  - url: 'https://github.com/Piwigo/Piwigo/releases/tag/16.4.0'
    label: security-advisories@github.com
  - url: 'https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7r67-9xhq-7p2c'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T16:12:08.725Z'
---

## Overview

Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/batch_manager.php accepts administrator-controlled dimension width, height, and ratio values and filesize values from the Batch Manager filter URL without numeric validation. The URL filter parser stores those values in the bulk_manager_filter session state, and later query construction concatenates them into SQL predicates, unlike the validated POST filter path. An authenticated administrator can use crafted filter values to execute time-based or other SQL expressions and potentially disclose, modify, or disrupt database data. This issue is fixed in version 16.4.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
