Skip to main content

novaGallery EUVDEUVD-2026-28806

| CVE-2026-42028 MEDIUM
Path Traversal (CWE-22)
2026-05-08 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request with path traversal payload
  2. Delivery
    URL parameter parsed by vulnerable cachedImage/album handler
  3. Exploit
    No path validation performed
  4. Execution
    Traversal sequence constructs path outside gallery root
  5. Persist
    Filesystem read operation on attacker-specified file
  6. Impact
    Image file or sensitive data returned to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability is exploitable against default novaGallery configurations without special setup. Exploitation requires that the vulnerable cachedImage() or album() methods are reachable via HTTP (standard web server routing), which is the default deployment mode. The attack surface is the album parameter and image parameter in HTTP requests to image retrieval endpoints. No prior authentication is required-unauthenticated users can immediately submit path traversal payloads. Non-default configurations that restrict web server access to the gallery endpoints (IP whitelisting, authentication layer in front of the application) would prevent exploitation, but these are mitigations external to the application and not the product's default posture. The only limiting factor is that the attacker can only read files accessible to the web server process user; files with restrictive filesystem permissions are not exposed. Exploitation is not conditioned on any feature flag, configuration option within novaGallery, or specific PHP version.

Impact

CVSS 5.3 with AV:N/AC:L/PR:N/UI:N indicates network-accessible, low-complexity exploitation against default configurations requiring no privileges or user interaction-all conditions present. However, the impact is strictly confidential (C:L) with no integrity or availability impact, limiting exposure to unauthorized image disclosure rather than code execution or data modification. EPSS data not provided, but the attack vector (network, unauthenticated, no complexity) and low barrier to exploitation suggest moderate to high empirical exploitation likelihood. No CISA KEV status or public POC availability confirmed in input data, suggesting either recently disclosed or not yet widely weaponized, though the straightforward nature of path traversal exploitation (requiring only URL parameter manipulation) makes real-world attacks trivial once the vulnerability is public. The primary risk factor is deployment breadth: any internet-facing novaGallery installation prior to 2.1.1 is exploitable, and patch adoption rate will determine real-world impact. Absence of active exploitation confirmation does not diminish urgency for unpatched systems, as the attack surface is trivial.

Exploit ScenarioDerived

An attacker crafts an HTTP request to the novaGallery installation with a path traversal sequence in the album or image parameter, such as /gallery.php?album=../../../etc&image=passwd, causing the vulnerable application to read and return the /etc/passwd file from the server. Since the vulnerability requires no authentication or user interaction and operates over standard HTTP, the attacker can perform this reconnaissance from any network position without prior access or credentials. If the web root and image directory structure are known or guessable, the attacker can systematically enumerate sensitive files (configuration files with credentials, private images, backup files) outside the gallery directory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Path traversal vulnerability in novaGallery prior to version 2.1.1 allows unauthenticated remote attackers to read arbitrary image files outside the intended gallery root directory via crafted album or image parameters. The vulnerability has low real-world impact (confidentiality only, CVSS 5.3) but affects all unpatched installations since exploitation requires no authentication, user interaction, or special configuration. Vendor-released patch version 2.1.1 is available.

RemediationAI

Upgrade to novaGallery version 2.1.1 or later immediately; patched release is available at https://github.com/novafacile/novagallery/releases/tag/v2.1.1. The patch implements strict path validation via isSafeRelativePath() (rejecting relative path sequences, null bytes, backslashes, and absolute paths) and isPathWithinImagesDir() (validating resolved paths remain within the designated gallery directory). If immediate upgrade is not feasible, as a temporary workaround restrict access to the novaGallery installation via web server configuration (nginx/Apache access controls, WAF rules) to trusted networks only, though this does not remediate the underlying vulnerability. Additionally, audit web server logs for suspicious image parameter patterns containing ../, encoded traversal sequences (%2e%2e), or requests for non-image file types to detect exploitation attempts prior to patching.

Affected VersionsENISA

novagallery < 2.1.1

Affected Packages

euvd novagallery fix: 2.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

novaGallery is a PHP-based image gallery application that manages image files through parameter-based album and image selection. The vulnerability stems from insufficient input validation and path boundary checking in the image retrieval functions (cachedImage and album methods in App.php). CWE-22 (Path Traversal) occurs when user-supplied path components (album and image parameters) are not properly validated before being used to construct filesystem paths. The fix adds three protective mechanisms: isSafeRelativePath() validates relative path syntax by rejecting null bytes, parent directory references (..), backslashes, and absolute paths; isPathWithinImagesDir() uses realpath() to resolve symbolic links and relative path traversal, then verifies the resolved path stays within the designated IMAGES_DIR using string comparison; and imageNotFound() consistently handles invalid access attempts. This defense-in-depth approach prevents both directory traversal sequences and symlink-based escapes from the gallery root.

Know when Novagallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
May 08, 2026 - 18:03 EUVD
CVE Published
May 08, 2026 - 15:54 nvd
MEDIUM 5.3

DescriptionCVE.org

novaGallery is a php image gallery. Prior to version 2.1.1, a path traversal vulnerability has been identified in novaGallery. This allows unauthenticated users to read image files outside the intended gallery root directory. This issue has been patched in version 2.1.1.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy