Arbitrary File Write Vulnerability in Open Source Harness Gitness by Harness
CVE-2025-58158

8.8HIGH

Key Information:

Vendor

Harness

Status
Vendor
CVE Published:
29 August 2025

What is CVE-2025-58158?

The Open Source Harness Gitness has a vulnerability that allows an authenticated user to exploit the file upload functionality. This flaw arises from inadequate sanitization in the upload path when interacting with the git LFS server API. As a result, a malicious user can craft a specific upload request that enables writing arbitrary files to any filesystem location, thereby potentially compromising the server. This security risk impacts all users operating versions prior to 3.3.0. Users are urged to upgrade to secure their environments effectively. The issue has been addressed and patched in version 3.3.0.

Affected Version(s)

harness < 3.3.0

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-58158 : Arbitrary File Write Vulnerability in Open Source Harness Gitness by Harness