{"id":"CVE-2025-24788","aliases":["CVE-2025-24788","GHSA-2mqw-rq5m-8hc8"],"related":[],"kind":"vulnerability","state":"published","title":"Snowflake Connector for .NET has weak temporary files permissions","summary":"snowflake-connector-net is the Snowflake Connector for .NET. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine. This vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"snowflake-connector-net is the Snowflake Connector for .NET. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine. This vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.","source":"cvelist"},{"lang":"en","text":"### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine.\n\nThis vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.\n\n### Vulnerability Details\nWhen downloading files from stages, the Snowflake Connector for .NET uses the OS temporary directory to save files before copying them to the destination directory. The files in the temporary directory, which are removed once the write to the destination directory concludes, have world-readable permissions on Linux and macOS. This could allow any user on the local machine to access them during their limited lifetime.\n\n### Solution\nSnowflake released version 4.3.0 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.3.0.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).","format":"markdown","source":"ghsa"},{"lang":"es","text":"snowflake-connector-net es el conector de Snowflake para .NET. Snowflake descubrió y solucionó una vulnerabilidad en el conector de Snowflake para .NET en la que los archivos descargados de las etapas se colocan temporalmente en un directorio local legible por todo el mundo, lo que los hace accesibles a usuarios no autorizados en la misma máquina. Esta vulnerabilidad afecta a las versiones 2.0.12 a 4.2.0 en Linux y macOS. Snowflake solucionó el problema en la versión 4.3.0.","source":"nvd"}],"published":"2025-01-29T20:19:16.428Z","modified":"2026-06-17T08:59:36.640Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"version":">= 2.0.12,  < 4.3.0","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-connector-net","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.12","status":"affected","fixed":"4.3.0"}],"ecosystem":"NuGet","package":"Snowflake.Data","purl":"pkg:nuget/Snowflake.Data","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.12","fixed":"4.3.0"}],"vendor":"snowflake","product":"snowflake_connector","cpe":"cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:.net:*:*","source":"nvd"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-2mqw-rq5m-8hc8","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/snowflakedb/snowflake-connector-net/commit/89d91e8316ca213c5d184bcf469ed93977a5edf9","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24788","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-net","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-31T16:55:00.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24788","url":"https://www.cve.org/CVERecord?id=CVE-2025-24788","licence":"CVE Terms of Use","modified":"2025-01-31T16:55:14.494Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2mqw-rq5m-8hc8","url":"https://github.com/advisories/GHSA-2mqw-rq5m-8hc8","licence":"CC-BY-4.0","modified":"2025-01-29T22:27:20.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24788","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24788","licence":"Public domain","modified":"2026-06-17T08:59:36.640Z"}],"updatedAt":"2026-11-25T22:58:53.671Z","epss":{"score":0.00143,"percentile":0.03827,"date":"2026-12-01T12:00:22.000Z"}}