Description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, DragonFly2 uses the os.MkdirAll function to create certain directory paths with specific access permissions. This function does not perform any permission checks when a given directory path already exists. This allows a local attacker to create a directory to be used later by DragonFly2 with broad permissions before DragonFly2 does so, potentially allowing the attacker to tamper with the files. This vulnerability is fixed in 2.1.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dragonflyoss | dragonfly | < 2.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20251023T162509-150000.1.110.1 | SUSE-SU-2025:3799-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250924T192141-1.1 | openSUSE-SU-2025:15576-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20251023T162509-150000.1.110.1 | SUSE-SU-2025:3799-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | d7y.io/dragonfly/v2 | < 2.1.0 | 2.1.0 | GHSA-8425-8r2f-mrv6 |
| Go | github.com/dragonflyoss/dragonfly | < 2.1.0 | 2.1.0 | GHSA-8425-8r2f-mrv6 |
| Go | github.com/dragonflyoss/dragonfly | all versions | — | GO-2025-3964 |
Advisories 3
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2025:15576-1 govulncheck-vulndb-0.0.20250924T192141-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:3799-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 4, 2026