Date: 
2026-July-22
Vulnerability: 
Access bypass
Affected versions: 
<3.2.0
CVE IDs: 
CVE-2026-16645
Description: 

The Photoswipe Drupal module provides integration for the widely used PhotoSwipe lightbox library to display / zoom images in lightbox galleries using the provided image formatters.

The module didn't sufficiently check access permissions, when viewing an image using the photoswipe image gallery display formatter, in versions < 3.0.4 (Drupal 8) or < 3.2.0 (Drupal 9 / Drupal 10).

This vulnerability is mitigated by the fact that it only affects sites limiting access to the images shown in photoswipe (the most common use case for photoswipe lightboxes public images).

Solution: 

Drupal 8 compatible version (3.0x.): Update to version 3.0.4 of the Photoswipe module.
Drupal 9 / Drupal 10 compatible version (3.1.x / 3.2.x): Ensure you're using version 3.2.0 or higher. 3.1.x is deprecated and should not be used anymore.

Reported By: 
Coordinated By: