Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted storage key to imagor endpoint
-
ExploitDot/backslash segments bypass blacklist config
-
Executionfilepath.Join resolves outside BaseDir
-
ImpactRead or write files beyond storage directory
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 | Exploitation requires an imagor file-storage deployment (storage/filestorage) in a configuration where the default dot-segment/dot-file blacklist does NOT block traversal: specifically a no-op SafeChars setting (WithSafeChars("--")), a Blacklists field set to nil/empty (e.g., struct-literal construction or an overriding consumer), or a Windows host where backslash separators reach filepath.Join without being escaped. Under the DEFAULT configuration the built-in dot-file blacklist rejects dot-segment keys, so default deployments are not exploitable - this is the primary limiting factor on real-world risk. Affected versions: imagor ≤1.9.12; fixed in 1.9.13. No user interaction or authentication is required once a vulnerable storage configuration is in place. |
| Impact | This is a medium-severity path traversal (CWE-22) with a VulDB-assigned CVSS 4.0 base score of 5.5. The vector (AV:N/AC:L/PR:N/UI:N) nominally describes remote, unauthenticated exploitation against default configurations, and the E:P exploit-maturity metric asserts Proof-of-Concept maturity. However, the supplied source-code evidence materially tempers that reading: the fix's own test suite (TestFileStoragePathRejectsDotTraversalUnderDefaults) and code comments show the built-in dot-segment/dot-file blacklist already rejects relative traversal keys under the DEFAULT configuration, and that the escape is reachable only when that blacklist is disabled or bypassed - a no-op SafeChars config (WithSafeChars("--")), an empty/nil Blacklists field, or a Windows host where backslash separators reach filepath.Join un-escaped. So the base vector's PR:N/AC:L overstates real-world reachability for default deployments. Impact is uniformly Low (VC:L/VI:L/VA:L): file read and write can escape the base directory but are not rated as full compromise. There is no CISA KEV listing and no EPSS score in the provided data (EPSS MISSING - cannot quantify exploitation probability). The vuln.today decision label is 'this_month', not act_now or emergency. Net: a genuine but moderate-priority flaw whose real risk hinges on a non-default configuration or Windows deployment rather than the ubiquitous unauthenticated-RCE profile a PR:N/AV:N vector might suggest. |
| Exploit ScenarioDerived | An attacker sends a crafted storage key/URL (e.g., containing '../' or, on Windows, '..\') to an imagor instance whose file storage runs without the default dot-segment blacklist - for example with WithSafeChars("--"), nil Blacklists, or on a Windows host. The pre-patch Path() function calls filepath.Join(BaseDir, key) with no containment check, so the resolved path escapes BaseDir, permitting read or write of files outside the configured storage directory. No public working exploit code is identified in the sources, though the CVSS 4.0 vector asserts Proof-of-Concept exploit maturity (E:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Path traversal in the file-storage backend of cshum imagor (storage/filestorage) through version 1.9.12 allows remote, unauthenticated attackers to supply an image key that resolves outside the configured base directory, giving read and write access to files beyond that root. The flaw is only reachable when the deployment weakens or removes the built-in dot-segment blacklist - a no-op SafeChars setting such as WithSafeChars("--"), a nil or empty Blacklists field (struct-literal construction or an overriding consumer), or a Windows host where backslash separators reach filepath.Join unescaped - so default configurations are not exploitable, which is the main limit on real-world risk. Upgrading to 1.9.13 fixes the issue; no public exploit code has been identified at time of analysis and the CVE is not in CISA KEV, with a VulDB CVSS 4.0 base score of 5.5 against an independently assessed CVSS 3.1 vector of AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
RemediationAI
Vendor-released patch: imagor 1.9.13 (https://github.com/cshum/imagor/releases/tag/v1.9.13), which contains commit ee774fc7cab381b21f75055686489046741fa3a7 adding the confineJoin/withinBase containment check to storage/filestorage/filestorage.go; upgrade to that version or later via the Go module github.com/cshum/imagor. If the upgrade cannot be applied immediately, the exposure can be closed by restoring the configuration the fix protects against rather than by generic hardening: keep the built-in dot-file blacklist in place and do not construct FileStorage as a struct literal with a nil Blacklists field or otherwise override Blacklists to empty, since that removes the only line of defense on unfixed versions; avoid the no-op WithSafeChars("--") setting, which stops Normalize from escaping backslash separators and leaves dot segments intact; and avoid running the filestorage backend on Windows hosts until patched, because backslash separators become path separators once they reach filepath.Join. Each of these mitigations carries a functional trade-off - the default blacklist also rejects legitimate keys containing dot-prefixed files such as .git/config, and restricting SafeChars to a real character set can alter how existing image URLs are normalised - so they should be validated against the keys your deployment actually serves. Apply the upstream fix as the complete remedy, since the containment check is the only measure that holds independently of blacklist settings.
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
imagor is a Go image-processing and thumbnail service that loads and stores blobs through pluggable storage backends; the filestorage backend maps an incoming image key to a filesystem location in FileStorage.Path by trimming the configured PathPrefix and joining the remainder onto BaseDir with filepath.Join. Before the fix, that join result was returned unconditionally, so a key containing dot segments (e.g. ../../../../etc/passwd) could lexically escape the base directory - a classic CWE-22 path traversal rooted in missing canonicalisation and containment validation rather than in any parsing bug. The upstream commit ee774fc7cab381b21f75055686489046741fa3a7 introduces confineJoin and withinBase helpers that resolve the joined path with filepath.Rel against the cleaned base directory and reject any result equal to '..' or prefixed with '..'+separator, returning an empty path so Put fails with imagor.ErrInvalid. The vendor's added tests enumerate the adversarial keys (../../../../etc/passwd, ../foo/../../bar, a/../../.., ....//....//escaped, a\..\..\evil, ..\..\evil, /../../etc/passwd) across three configurations: defaults, WithSafeChars("--") and a nil Blacklists field. Two nuances matter for scoping: the built-in dot-file blacklist is the primary defense in the default configuration and rejects any key containing dot segments, and backslash separators only become path separators once they reach filepath.Join on Windows, because Normalize escapes them only when SafeChars is not the no-op "--" setting. Absolute keys are clamped by imagorpath.Normalize onto a pseudo root and therefore remain accepted, but the fix keeps them confined to the base directory. This is not a race or timing issue; the trigger is simply an attacker-chosen image key reaching FileStorage.Path, and the same containment gap applies to the write primitive exercised by Put.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Remotely reachable (AV:N) but blocked under default config and exploitable only via non-default blacklist settings or Windows backslash handling, so AC:H; traversal allows limited file read and write, giving C:L/I:L and A:N.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in cshum imagor up to 1.9.12. Affected is the function Path of the file storage/filestorage/filestorage.go. This manipulation causes path traversal. The attack is possible to be carried out remotely. Upgrading to version 1.9.13 is able to address this issue. Patch name: ee774fc7cab381b21f75055686489046741fa3a7. The affected component should be upgraded.
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-137906
GHSA-5pgw-fvjp-9vpf
NVD
CVE.org
EPSS
VulDB
Exploit-DB