CVE-2026-16645 PhotoSwipe - Responsive JavaScript Modal Image Gallery - Moderately critical - Access bypass - SA-CONTRIB-2026-088

Critical 9.1 Published Updated

Attackers can bypass authorization to access restricted content in the Drupal PhotoSwipe module via forceful browsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-16645?

CVE-2026-16645 is a critical missing authorization vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Missing Authorization vulnerability in Drupal PhotoSwipe - Responsive JavaScript Modal Image Gallery allows Forceful Browsing. This issue affects PhotoSwipe - Responsive JavaScript Modal Image Gallery versions: from 0.0.0 to 3.2.0.

Weakness: CWE-862

Which versions are affected by CVE-2026-16645?

Linux distribution packages (1)
drupal/photoswipe Packagist:https://packages.drupal.org/8All versions3.2.0

How do I fix CVE-2026-16645?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-16645 being exploited?

There is no known exploitation of CVE-2026-16645 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2026-088, GHSA-wq7x-7x4j-792v.

Is CVE-2026-16645 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free