CVE-2026-96673

Photoview through 2.4.0 SQL Injection via album download route

Published Sep 23, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Photoview through 2.4.0 contains an SQL injection vulnerability in the album download route that allows unauthenticated attackers to inject SQL by manipulating the album_id path segment. Attackers can supply crafted SQL expressions in the album_id parameter to extract arbitrary data from the database using time-based or blind injection techniques.

Analysis

AI-generated

Technical impact

The vulnerability allows attackers to inject arbitrary SQL into the album_id path segment of the download route, enabling them to retrieve sensitive data from the database through time‑based or blind techniques. This grants read access to potentially all information stored in the database and can facilitate further attacks if additional system data is exposed.

Affected Systems

All installations of Photoview up to and including version 2.4.0 are affected. The web gallery application exposes the vulnerable download endpoint to anyone who can reach the site; the flaw does not require authentication and can be exploited remotely.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. EPSS information is not provided, but the vulnerability allows unauthenticated, remote attackers to craft a single HTTP request to the download route and extract data without special conditions. While no public exploit is listed, the straightforward nature of the attack makes it a viable target for automated scanners.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Photoview to a release that sanitizes the album_id parameter, such as the version containing commit deb1b216 or the pull request that applies the fix.
  • If a patch is delayed, block requests that do not contain a numeric album_id by applying a WAF or reverse‑proxy filter to reject URLs with SQL patterns.
  • Audit database logs for anomalous queries or repeated conditional time penalties that may indicate injection attempts.

Generated by OpenCVE AI on September 23, 2026 at 16:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Photoview
Photoview photoview
Vendors & Products Photoview
Photoview photoview
Type Values Removed Values Added
Description Photoview through 2.4.0 contains an SQL injection vulnerability in the album download route that allows unauthenticated attackers to inject SQL by manipulating the album_id path segment. Attackers can supply crafted SQL expressions in the album_id parameter to extract arbitrary data from the database using time-based or blind injection techniques.
Title Photoview through 2.4.0 SQL Injection via album download route
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 6, 2026, 1:37 PM
Reserved
Sep 23, 2026, 3:10 PM
Status
Deferred
Published
Sep 23, 2026, 4:16 PM
Modified
Sep 24, 2026, 9:08 PM