---
id: CVE-2024-41255
aliases:
  - GHSA-4jmm-c6jw-g796
  - GO-2024-3033
title: >-
  Filestash configured to skip TLS certificate verification when using the FTPS
  protocol
summary: >-
  Filestash configured to skip TLS certificate verification when using the FTPS
  protocol
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'
vendor: mickael-kerjean
product: github.com/mickael-kerjean/filestash
ecosystem: go
affected:
  - github.com/mickael-kerjean/filestash <= 0.4
published: '2024-07-31'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:16.243131389Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4jmm-c6jw-g796'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-41255'
  - url: 'https://github.com/mickael-kerjean/filestash/issues/710'
  - url: 'https://gist.github.com/nyxfqq/c367f2ca9448810924dcf0f1af30b441'
  - url: 'https://github.com/advisories/GHSA-4jmm-c6jw-g796'
  - url: 'https://github.com/mickael-kerjean/filestash'
  - url: >-
      https://github.com/mickael-kerjean/filestash/blob/master/server/plugin/plg_backend_ftp/index.go#L108
  - url: 'https://pkg.go.dev/vuln/GO-2024-3033'
tags:
  - osv
  - go
epss: 0.00255
epssPercentile: 0.17388
ingestedAt: '2026-09-12T03:13:01.753Z'
---

## Overview

filestash v0.4 is configured to skip TLS certificate verification when using the FTPS protocol, possibly allowing attackers to execute a man-in-the-middle attack via the Init function of index.go.

## Affected packages

- `github.com/mickael-kerjean/filestash <= 0.4`

## Remediation

Refer to the advisory for the patched release.
