VYPR
High severityNVD Advisory· Published Jul 31, 2024· Updated Mar 18, 2025

CVE-2024-41256

CVE-2024-41256

Description

Filestash v0.4's ShareProofVerifier function skips TLS certificate verification when sending email verification codes, enabling man-in-the-middle attacks.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Filestash v0.4's ShareProofVerifier function skips TLS certificate verification when sending email verification codes, enabling man-in-the-middle attacks.

Overview

CVE-2024-41256 describes a missing TLS certificate validation vulnerability in Filestash v0.4. The ShareProofVerifier function in server/model/share.go uses default configurations that bypass TLS certificate checks when transmitting email verification codes [3]. This behavior is explicitly warned against by the underlying gomail package documentation, which states that skipping verification is insecure and should never be used in production [3].

Exploitation

An attacker positioned on the network path between the Filestash server and the email relay can perform a man-in-the-middle attack [1]. Because the client does not validate the server's TLS certificate, the attacker can present a forged certificate and intercept the email verification code in transit [1]. No additional authentication is required beyond network access.

Impact

Successful interception allows the attacker to read sensitive data contained in the email verification code, which could include account verification links, tokens, or other confidential information [1]. This compromises the confidentiality of the email verification process and could be a stepping stone to further account takeover or data breaches.

Mitigation

The vendor's repository indicates that the code is located in share.go [4], but no patch or updated release has been confirmed as of the publication date. Administrators should enforce TLS verification at the application level or implement a workaround by ensuring the email relay endpoint certificate is validated. If no update is available, consider disabling the email verification feature or placing the server on a trusted network.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/mickael-kerjean/filestashGo
<= 0.4

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.