Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-96673 – Unauthenticated SQL Injection – Photoview ≤ 2.4.0

Be the first to know when new zero-days emerge:

Summary

CVE-2026-96673 is an unauthenticated SQL injection vulnerability (CWE-89) in Photoview, a self-hosted photo gallery application, affecting the album download route. Attackers can manipulate the album_id path segment to inject arbitrary SQL and extract database contents without any authentication. The flaw carries a high severity rating (CVSS 8.7) and affects all Photoview releases through version 2.4.0.

Technical details

  • Root cause: The album download route passes the album_id value taken directly from the URL path into GORM’s Find method as a raw string, without validating that it is numeric.
  • Trigger conditions: Because GORM interprets non-numeric input as a SQL condition rather than a primary-key lookup, an attacker can supply a crafted string in album_id that is evaluated as part of the SQL query, and this evaluation happens before any authorization check is performed.
  • Attack vector: Network-based, unauthenticated — no credentials or user interaction are required to reach the vulnerable route.
  • Impact: Attackers can use time-based or blind SQL injection techniques to extract arbitrary data from the backend database, potentially exposing sensitive information such as user records, share tokens, or other stored data.

Affected software

  • Photoview through version 2.4.0 (all releases up to and including 2.4.0)

Severity

  • CVSS v3.1 Base Score: 7.5 (High) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • CVSS v4.0 Score: 8.7 (High) — 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

Mitigation and recommended actions

  • Immediate: Upgrade Photoview to a version that includes the fix from pull request #1453 (merged July 31, 2026, commit deb1b216e047a30803dc0f48a9fc3d4c4abda594), which validates album_id as a positive integer before any database access and uses parameterized primary-key lookups instead of passing untrusted strings to the query builder.
  • If no patch can be applied immediately:
    • Restrict or disable public/unauthenticated access to the album download route at the network or reverse-proxy layer until the upgrade can be completed.
    • Monitor web server and application logs for anomalous or malformed album_id values (non-numeric, SQL-like payloads) in download route requests.
    • Deploy a web application firewall (WAF) rule to block SQL injection patterns targeting the album download path as a temporary compensating control.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge