Skip to content
OpenAdvisories
High · 8.8 CVE-2025-58158 EUVD-2025-26231GHSA-w469-hj2f-jpr5GO-2025-3926

Harness Affected by Arbitrary File Write in Gitness LFS server

Published Aug 29, 2025 · Updated Aug 29, 2025 · Assigned by GitHub_M

Description

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.

Affected products

VendorProductAffectedFixed
harness harness < 3.3.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.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250917T170349-1.1 openSUSE-SU-2025:15564-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.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/harness/gitness >= 1.0.4, < 3.3.0 3.3.0 GHSA-w469-hj2f-jpr5
Go github.com/harness/gitness < 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 GHSA-w469-hj2f-jpr5

Advisories 3

References