CVE-2026-25869: MiniGal Nano <= 0.3.5 Path Traversal via dir Parameter
MiniGal Nano versions 0.3.5 and prior contain a path traversal vulnerability in index.php via the dir parameter. The application appends user-controlled input to the photos directory and attempts to prevent traversal by removing dot-dot sequences, but this protection can be bypassed using crafted directory patterns. An attacker can exploit this behavior to cause the application to enumerate and display image files from unintended filesystem locations that are readable by the web server, resulting in unintended information disclosure.
Security readout for executives and security teams
Plain-English summary
MiniGal Nano 0.3.5 and earlier can be tricked into showing image files from places outside its intended photos folder. The issue is information disclosure, not server takeover. Business impact depends on what readable image files exist on the host and whether the gallery is internet-facing.
Executive priority
Treat as a moderate-priority legacy web exposure. Prioritize internet-facing instances and servers that may contain sensitive images or shared filesystem content readable by the web server.
Technical view
CVE-2026-25869 is a CWE-22 path traversal in MiniGal Nano index.php. The dir parameter is appended to the photos directory. Its dot-dot filtering can be bypassed with crafted directory patterns, allowing enumeration and display of readable image files from unintended filesystem locations.
Likely exposure
Exposure is most likely in legacy public MiniGal Nano gallery deployments running version 0.3.5 or earlier. The source bundle does not identify specific CPEs, package managers, hosted services, or downstream products.
Exploitation context
The CVE is not listed as KEV in the supplied bundle. The sources describe unauthenticated network exploitation conditions, but provide no evidence of active exploitation in the wild.
Researcher notes
The evidence supports path traversal leading to image enumeration and display only. Do not assume arbitrary file read, code execution, or broader compromise without additional product-specific proof.
Mitigation direction
Inventory MiniGal Nano deployments and confirm versions.
Restrict public access to affected galleries until reviewed.
Check vendor or community guidance for available fixes or replacement options.
Limit web server read permissions to intended gallery directories.
Remove sensitive images from readable filesystem locations.
Validation and detection
Confirm whether MiniGal Nano version is 0.3.5 or earlier.
Review index.php handling of the dir parameter.
Check web server permissions outside the photos directory.
Review access logs for unusual dir parameter values.
Validate behavior only in a controlled, non-sensitive environment.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.