# GO-2023-2048: Paths outside of the rootfs could be produced on Windows in github.com/cyphar/filepath-securejoin

- Database: Go
- Published: 2023-09-13
- Modified: 2026-02-04

## Also published as

- [GHSA-6XV5-86Q9-7XR8](https://cve.now/GHSA-6XV5-86Q9-7XR8.md) (GitHub)

## Affected versions

- github.com/cyphar/filepath-securejoin (Go): fixed in 0.2.4

## Description

Certain rootfs and path combinations result in generated paths that are outside of the provided rootfs on Windows.

## References

- https://github.com/cyphar/filepath-securejoin/security/advisories/GHSA-6xv5-86q9-7xr8
- https://github.com/cyphar/filepath-securejoin/commit/c121231e1276e11049547bee5ce68d5a2cfe2d9b

Page: https://cve.now/GO-2023-2048

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
