Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with path traversal payload
-
DeliveryURL parameter parsed by vulnerable cachedImage/album handler
-
ExploitNo path validation performed
-
ExecutionTraversal sequence constructs path outside gallery root
-
PersistFilesystem read operation on attacker-specified file
-
ImpactImage 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-28806
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB